Link to home
Start Free TrialLog in
Avatar of designaire
designaireFlag for United States of America

asked on

flash movies

I have a flash movie woman and I want to play it inside another flash movie called animation. They are all in a movie called graphic. How to I write the actionscript?


I can play it from the base file
graphic.woman.gotAndPlay(2);
Avatar of CyanBlue
CyanBlue
Flag of United States of America image

Maybe something like this???

graphic.animation.woman.gotAndPlay(2);

CyanBlue
Avatar of designaire

ASKER

That's what I thought would work but for some reason it doesn't. Are you sure you can do it??
That should work if your description is correct...

Try adding trace() lines to see if you are targetting it correctly...

trace("graphic.animation = " + graphic.animation);
trace("graphic.animation.woman = " + graphic.animation.woman);

CyanBlue
Thanks...it says undefined

Both these work from the base file
graphic.animation = _level0.graphic.animation
graphic.woman = _level0.graphic.woman

woman and animation are on the same level but I want to play the movie woman from inside the animation. maybe you can't do it.
ASKER CERTIFIED SOLUTION
Avatar of CyanBlue
CyanBlue
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Maybe I didn't explain it right. Thanks! It works.

What does parent mean?
Basically _parent means a movieClip that is in one level above...

CyanBlue
thanks