00:00
00:00
Newgrounds Background Image Theme

Matilly just joined the crew!

We need you on the team, too.

Support Newgrounds and get tons of perks for just $2.99!

Create a Free Account and then..

Become a Supporter!

Flash Cs6 Button Problems!

693 Views | 2 Replies
New Topic Respond to this Topic

Flash Cs6 Button Problems! 2012-12-12 15:07:43


Hi guys, I'm having a problem with my website I've made for a project in uni. Basically I've made my buttons and linked them correctly however when I test it and run it in Google Chrome/Internet Explorer the website only registers one button click then the rest become useless unless you reload the page. An example of the code I'm using for the buttons is as follows

stop();

//Main Home Button
home1.addEventListener(MouseEvent.CLICK, fl_ClickToGoToAndStopAtFrame);

function fl_ClickToGoToAndStopAtFrame(event:MouseEvent):void
{
gotoAndStop(1);
}

I've labelled all the instanc names and incremented the "ClickToGoToAndStopAtFrame". When I don't change the names of them the website just loops regardless of the stop(); function. Any suggestions?

Response to Flash Cs6 Button Problems! 2012-12-12 16:37:53


At 12/12/12 03:07 PM, chrisyrulz wrote: Any suggestions?

You'll have better luck if you repost your question in the Flash forum :)


BBS Signature

Response to Flash Cs6 Button Problems! 2012-12-12 17:18:36


At 12/12/12 04:37 PM, smulse wrote:
At 12/12/12 03:07 PM, chrisyrulz wrote: Any suggestions?
You'll have better luck if you repost your question in the Flash forum :)

Done. Cheers man!