We help IT Professionals succeed at work.

flash movies

designaire
designaire asked
on
264 Views
Last Modified: 2010-04-03
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);
Comment
Watch Question

Commented:
Maybe something like this???

graphic.animation.woman.gotAndPlay(2);

CyanBlue

Author

Commented:
That's what I thought would work but for some reason it doesn't. Are you sure you can do it??

Commented:
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

Author

Commented:
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.
Commented:
This one is on us!
(Get your first solution completely free - no credit card required)
UNLOCK SOLUTION

Author

Commented:
Maybe I didn't explain it right. Thanks! It works.

What does parent mean?

Commented:
Basically _parent means a movieClip that is in one level above...

CyanBlue

Author

Commented:
thanks
Unlock the solution to this question.
Join our community and discover your potential

Experts Exchange is the only place where you can interact directly with leading experts in the technology field. Become a member today and access the collective knowledge of thousands of technology experts.

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.