yes.... On 12/5/06, Joey Rivera <[EMAIL PROTECTED]> wrote:
You putting breaks in the case statements? Joey Rivera Flash Developer iLearn, Inc. (770) 218-0972 -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jose Maria Barros Sent: Tuesday, December 05, 2006 1:50 PM To: Flashcoders mailing list Subject: [Flashcoders] Switch case problem... 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 _______________________________________________ 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
_______________________________________________ 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