snitch321 -1 Junior Poster in Training

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.

stop();
IntroductionSymbol.addEventListener 
	(MouseEvent.CLICK, onClick); 

function onClick
( event:MouseEvent):void 

{
gotoAndStop("9") 
}

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?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.