Solved

flash movies

Posted on 2008-10-03
8
246 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

 

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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Error 2032 in all the browser 6 2,895
blocked plugin flash 5 126
Got "Shockwave has crashed : reload?" when viewing in multiple tabs of Chrome 4 110
free photo watermark software 5 104
I know the transition can be hard. We got used to the ease of use ActionScript 2 had, but honestly, it became problematic later on, especially if designers were involved in the project and found it easy to add code as they saw fit. So, this artic…
Here are some practices and techniques that can be adopted into your Flash/Flex application development process. Note: Not all "performance tips" provide an immediately-recognizable benefit.   This article does not include timing validation data,…
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.
The goal of the tutorial is to teach the user how to select which audio input to use. Once you have an audio input plugged into the laptop or computer, you will go into the audio input settings and choose which audio input you want to use.

738 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