954,598 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

How to gotoandplay 'next frame'?

simple problem here is my code first

Intro_btn.addEventListener(MouseEvent.CLICK, Click);


function Click( event:MouseEvent):void {
	gotoAndStop("what to put here?");
}

and was wondering what do i place in the 'what to put here section so it goes to the next frame instead of a specific frame?

snitch321
Junior Poster in Training
63 posts since Nov 2007
Reputation Points: 9
Solved Threads: 2
 
Intro_btn.addEventListener(MouseEvent.CLICK, Click);


function Click( event:MouseEvent):void {
		gotoAndStop(currentFrame+1);
}


Hope this helps!!!!

rajarajan07
Nearly a Posting Virtuoso
1,447 posts since May 2008
Reputation Points: 167
Solved Threads: 239
 

you should not be allowed on here cos you are too good!
thank you very much m8, i appreciate it.
p.s funny cos i searched the internet and came across thatbut must of been slightly different.

snitch321
Junior Poster in Training
63 posts since Nov 2007
Reputation Points: 9
Solved Threads: 2
 

I make a falsh move.
i have a scene 1 stop and click start button than go to scene 2 than i want movie is auto paly but moive is not after first scene
=======================

ghogfnwej
Newbie Poster
2 posts since Jan 2010
Reputation Points: 10
Solved Threads: 0
 

ahh yes i see your cunning jiggery pokery. nice one m8

snitch321
Junior Poster in Training
63 posts since Nov 2007
Reputation Points: 9
Solved Threads: 2
 

This question has already been solved

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: