AS3-Manipulate Scene 1 inside a MC.

Subscribe to AS3-Manipulate Scene 1 inside a MC. 7 posts

avatar for lautaro52 lautaro52 35 posts
Flag Post

i am inside a Movie Clip and i want change the Scene 1 but i can’t.
I use “parent” but it doesn’t work. Hope somebody help me…

 
avatar for Orangatang91 Orangatang91 64 posts
Flag Post

Try to be more specific so we know what your problem is. What do you want to change about Scene 1? Also I am assuming you are using AS2 since you wrote you are “inside a movieclip” is that correct?

 
avatar for Aaants Aaants 161 posts
Flag Post

Try MovieClip(parent) instead of just parent

 
avatar for lautaro52 lautaro52 35 posts
Flag Post

I have the Scene1 and the MovieClip.
I am inside of the MovieClip and when it reaches a frame, i want change a variable of the Scene 1.

 
avatar for Draco18s Draco18s 6875 posts
Flag Post
Originally posted by lautaro52:

I have the Scene1 and the MovieClip.
I am inside of the MovieClip and when it reaches a frame, i want change a variable of the Scene 1.

_root.myVar

That said, if the movie is not currently in scene 1 then it won’t effect scene 1 and you should stop using scenes.

 
avatar for lautaro52 lautaro52 35 posts
Flag Post

Draco, the _root doesn’t work

 
avatar for Draco18s Draco18s 6875 posts
Flag Post
Originally posted by lautaro52:

Draco, the _root doesn’t work

AS3:

MovieClip(stage)