Solved

flash movies

Posted on 2008-10-03
8
239 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
 

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
IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 
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

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

I come across a lot of question about how to access things in the document class from a movieclip, or accessing something from a movieclip in the document class. It took me a while to figure this out but once I did it makes life so much easier. …
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,…
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 live broadcast using Flash Media Live Encoder and connecting it to YouTube to broadcast. Log into your Youtube account, choose live stream settings, start live stream from Flash Media Live Enc…

706 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now