Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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 / samuel jackson

Try to write this code on different layers don't write code on button itself as MovieClip loader doesn't undestand the instance name for different scenes.for eg.
Scene 1 ---> Layer 1 ----> create a movie clip name = mc1
Layer 2 ----> write this code:
stop();
mc1.onRelease = function() {
gotoAndStop("Scene 2",1);
}
the code which you had mentioned is applicable for buttons not for movie clips.

Is This Answer Correct ?    3 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Write a program use a text field and display it using the actionscript?

852


what are the properties can be used to control the order in which the user can tab through the elements in a flash movie? : Adobe flash

900


to what does object drawing model refer? : Adobe flash

858


Do you know what is the difference between an array and vector?

851


which of the following is not a guideline for conducting effective usability testing? : Adobe flash

909


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

887


what is the key difference between while loops and do while loops? : Adobe flash

978


what should be inferred by a variable named birthplace_str? : Adobe flash

900


Which is the quickest way to make the stroke around an oval shape into a dotted line? : Adobe flash

891


tell the difference between indexed array and associative array? : Adobe flash

973


how does an xmlsocket server know when a received message is complete? : Adobe flash

921


Name the as3 components?

928


which of the following is not a key benefit of usability testing? : Adobe flash

928


where is the data pulled by a load variables function stored? : Adobe flash

924


What are the different utils libraries in actionscript?

821