Solved

flash movies

Posted on 2008-10-03
8
243 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);
0
Comment
Question by:designaire
  • 4
  • 4
8 Comments
 
LVL 37

Expert Comment

by:CyanBlue
ID: 22636356
Maybe something like this???

graphic.animation.woman.gotAndPlay(2);

CyanBlue
0
 

Author Comment

by:designaire
ID: 22636581
That's what I thought would work but for some reason it doesn't. Are you sure you can do it??
0
 
LVL 37

Expert Comment

by:CyanBlue
ID: 22636673
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
0
Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

 

Author Comment

by:designaire
ID: 22650213
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.
0
 
LVL 37

Accepted Solution

by:
CyanBlue earned 50 total points
ID: 22653540
I thought that you said that woman is inside the animation???

Try this...

_parent.woman.gotAndPlay(2);

CyanBlue
0
 

Author Comment

by:designaire
ID: 22653906
Maybe I didn't explain it right. Thanks! It works.

What does parent mean?
0
 
LVL 37

Expert Comment

by:CyanBlue
ID: 22659829
Basically _parent means a movieClip that is in one level above...

CyanBlue
0
 

Author Comment

by:designaire
ID: 22659911
thanks
0

Featured Post

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Action Script commands 3 219
Flash movie or gif/animation? 3 899
How to convert image files to a movie file 6 111
good online free meeting tool with record audio video feature 2 145
There are times in your Flash CS4 application when you want more than a simple pointer or a hand, and it's hard to find an ideal walk-through to tell you what to do.  I spent a few days recently learning my way around making custom cursors in Flash,…
I have found that much of my time doing support ends up being a constant repetition of the same steps to different people.  Early on I stated using web pages with Frequently Asked Questions (FAQs) to alleviate most of the burden.  Sometimes this jus…
The goal of the tutorial is to teach the user how to how to load their YouTube profile onto Flash Media Live Encoder.
The goal of the tutorial is to teach the user how to use the auto adjust feature and what the different options do. When your video is not working right you can choose the auto adjust feature to help choose your settings.

803 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question