Hi..
Ive done a function with a switch case wich have each one a string variable
value  with the name of the link...

var linkName:String = "";

switch(linkName) {

     case "link1":
     //run function with a gotoAndPlay  that goes to the  frame(linkName)

    case "link2":
    //run function with a gotoAndPlay  that goes to the  frame(linkName)

   etc....
}


And when i press a button for that link...he stores the value in the
variable(linkName) and he runs the function...

The problem is that when i press the button one...he goes to that link...but
when i press the same button again...he goes to other link...

I dont understand...i appreciate some help..

Thanks in advance.
_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to