How can we goto next Scene by giving code on a button inside
a movie clip.

in short.
=>Scene 1.
====>MovieClip
======>Button [ on(release) { gotoAndPlay("Scene 2", 1); } ]

=>Scene 2.

This thing is not working. Please tell me the answer of how
to goto next scene from this scene 1.





Answer Posted / anilreddykalluri

Button.addEventListener(MouseEvent.CLICK,function Name);
function Function Name(e.MouseEvent)
{
gotoAndStop(Scene2);
}

Is This Answer Correct ?    1 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is the key advantage of using loadvars instead of loadvariables? : Adobe flash

500


which methods can be used to determine if a microphone or a camera is installed on the users machine? : Adobe flash

487


what is the downside of macromedia ui components making extensive use of ingeritance and encapsulation? : Adobe flash

560


How to add event listeners in mxml components. Name the as3 components?

509


which of the assumptions cannot be made when developing an application for intranet deployment? : Adobe flash

445






How to embed flash in html?

505


What does the void function and object contain in actionscript?

488


which of the following is not a result of exporting a movie for a debug build? : Adobe flash

481


which of the following is most likely a class constructor? : Adobe flash

490


which text anti-aliasing property setting will result in the smallest swf file size? : Adobe flash

501


How to add conditional logic for the submit button?

503


what are the correct statements consenting text field? : Adobe flash

461


How does removal of actual objects and data work in actionscript?

482


Hi All, I am new in flash so please help me, When I make a website on Flash & when we wright code on buttons in AS2[CODE: on(release) gotoAndStop ()], we found when we click twice on a button the page automatically switch. (means, code do not work properly). Thanks,

1943


in general, non-mp3 digital audio destined to be imported into the flash mx authoring environment should first be compressed how much? : Adobe flash

466