|
-
Help with simple situation :(
I've looked EVERYWHERE!
I'm using Flash MX....Ok so this is a simple example of what I'm trying to do...I have my main time line and I added a circle...I converted the circle to a movie clip...I double clicked it. In the movie clip I double clicked the same circle and converted it into a button....Ok so in the movie clip I click actions for the button that i've created and did a on release goto and stop on frame one of scene two script....I added a scene 2 to the file with a stop action in frame one....when I load up the movie and click the button it DOESN'T goto scene 2. I believe it's because I don't know how to script nested things can someone PLEEEASE help me? What is the syntax for nexted things like this????
-
Hard to see the problem without seeing the code. Anyway...
Refer to the parent object using "_parent"
To control from a global point of view use "_root"
Examples...
// Go to the third frame of the parent movie clip.
this._parent.gotoAndStop(3);
// Go to the second frame of the main timeline...
_root.gotoAndStop(2);
-
Your problem is most likely the way you're referring to scene 2. When Flash creates a new scene, it automatically capitalizes the first letter, so "scene 2" is actually "Scene 2".
Try this on your button:
on (release) {
_root.gotoAndStop(2, "Scene 2");
}
Although like Michael said, it's hard to tell without the code. For a more accurate answer, please post it.
~Sportzguy933
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|