currentLabel Problem


i have written package importing public function wants use currentlabel getting 1120 errror , not sure why. wanting use label of maintimeline in fla. can or done before? thanks.

 

code:

//get frame label

                    public function getcurrentframelabel():void

                    {

                              trace("getting label name");

                              trace(currentlabelname);

                              currentlabelname = (currentlabel);

                              //get next frame label labesarray

                              nextlabel = labelsarray.indexof(currentlabelname) + 1;

                    }

you should copy , paste complete error message after enabling "permit debugging" , indicate problematic line number.  also, you'll need post enough of relevant code evaluate it. 



More discussions in ActionScript 3


adobe

Comments

Popular posts from this blog

How to change text Component easybook reloaded *newbee* - Joomla! Forum - community, help and support

After Effect warning: A problem occurred when processing OpenGL commands

Preconditions Failed. - Joomla! Forum - community, help and support