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 / dinesh anand

Hi
In scene2 Timeline Fix a label named "scene2PLAY"
Then Copy and Past the below code in ur button
on(Release){
_root.gotoAndPlay("scene2PLAY")
}

Is This Answer Correct ?    2 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to change background color and stage size?

497


What will replace flash?

453


Differentiate between as2 and as3.

509


How to add conditional logic for the submit button?

499


What is the use of pre-loader?

510






what appears in the output window after executing this actionscript on the first frame of a movie? : Adobe flash

452


which code should be added to create a second blue square to the right of the first? : Adobe flash

505


what happens when you drag an object created with the oval tool to the library panel? : Adobe flash

455


What is meant by vector graphic animation? What is the use of pre-loader?

523


what is the advantage of progressive video download? : Adobe flash

519


what is flash tweening? : Adobe flash

520


which keyword is used to attach methods and properties to a class? : Adobe flash

566


for methods within objects,what does the keyword this specifically refer to? : Adobe flash

537


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

461


What are the different ways in which the variables can be assigned?

474