Solved

flash movies

Posted on 2008-10-03
8
245 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
Independent Software Vendors: 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!

 

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

Technology Partners: 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
Stop Ads in Browser Google Chrome 3 552
Software Restriction Policy 8 882
Begin mp4 video on first frame 6 184
Web browser crash when play videos 24 388
Sometimes you know that one object has a specific child in it, but you can't find the child. This happened to me when I was trying to code some actionScript to make a toolbar work with its embedded buttons.  My partner had created the toolbar usi…
I have been doing hardcore actionscripting for some time; and needless to say I have faced a lot of problems in just understanding others' code rather than understanding what the code executes. A programmer's life can become hell when there are a lo…
In this tutorial viewers will learn how to create a basic shape tween animation in Flash including shape hints for smooth animation Open a new document in Flash: Draw a shape: Select another frame (how long you want the tween to be): Right click and…
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.

756 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