Be a Supporter!

Flash Cs6 Button Problems!

  • 292 Views
  • 2 Replies
New Topic Respond to this Topic
chrisyrulz
chrisyrulz
  • Member since: Dec. 14, 2004
  • Offline.
Forum Stats
Member
Level 05
Animator
Flash Cs6 Button Problems! 2012-12-12 15:07:43 Reply

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?

smulse
smulse
  • Member since: Mar. 24, 2005
  • Offline.
Forum Stats
Member
Level 31
Blank Slate
Response to Flash Cs6 Button Problems! 2012-12-12 16:37:53 Reply

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
chrisyrulz
chrisyrulz
  • Member since: Dec. 14, 2004
  • Offline.
Forum Stats
Member
Level 05
Animator
Response to Flash Cs6 Button Problems! 2012-12-12 17:18:36 Reply

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!