Flash multiple links (As3)

Thread Solved

Join Date: Nov 2007
Posts: 33
Reputation: snitch321 is an unknown quantity at this point 
Solved Threads: 1
snitch321 snitch321 is offline Offline
Light Poster

Flash multiple links (As3)

 
0
  #1
Jul 4th, 2009
Im using actionscript 3 and i managed to create one link to another page, however when i try to copy the ame code on the same frame for another symbol it doesnt work. e.g.

actionscript Syntax (Toggle Plain Text)
  1. stop();
  2. IntroductionSymbol.addEventListener
  3. (MouseEvent.CLICK, onClick);
  4.  
  5. function onClick
  6. ( event:MouseEvent):void
  7.  
  8. {
  9. gotoAndStop("9")
  10. }
That code works fine for one symbol, however why cant i just copy the same code below the existing code but alter the symbols name?
Last edited by peter_budo; Jul 4th, 2009 at 3:40 pm. Reason: Correcting tag, please use [code][/code] instead of {code}{/code}
Reply With Quote Quick reply to this message  
Reply

This thread has been marked solved.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the Graphics and Multimedia Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC