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?

Member Avatar for rajarajan2017
Intro_btn.addEventListener(MouseEvent.CLICK, Click);


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

Hope this helps!!!!

commented: nice +11

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.

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
=======================
<FAKE SIGNATURE>

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

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.