Solved

passing variables

Posted on 2000-03-21
3
149 Views
Last Modified: 2010-04-03
I have created a Flash movie and this movie has a movie clip within it. I want to be able to pass a variable called count from the small movie to the master movie where it is positioned.

Is this possible and how do I refer to it. the smaller movie has an instance name of P1.

Thanks for the help.
0
Comment
Question by:RICHARDH
  • 2
3 Comments
 
LVL 4

Accepted Solution

by:
RoyKruyshaar earned 50 total points
ID: 2642032
Hi Richardh,

When you have a 'main' movie called MovieA and a 'child' movie called MovieB, the instance you can say in your child movie  
Set Variable: "../:Count" = Value (any number, ofcourse).
A great help for me was when you test the movie, Click in the Control menu - List Variables (Ctrl+Alt+V).
The variables in Flash are horrible, but when you know the trick, is easy as it goes.
Good Luck!
When you have further questions, feel free to ask.

Roy
0
 
LVL 4

Expert Comment

by:RoyKruyshaar
ID: 2642063
You can also look at:
http://www.were-here.com/forum/actionscript_project/start.html
Is a tutorial about action script (movie in a movie in a movie)

Again goodluck

Roy
0
 

Author Comment

by:RICHARDH
ID: 2645973
Thanks, worked perfectly.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

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 5 234
free flash maker 5 206
Adobe Flash Player ActionScript error 6 60
good online free meeting tool with record audio video feature 2 132
This is a very simple example to help those of you who are still migrating from AS2 to AS3 understand the redesigned event model in AS3. In AS2.0, event functions (that is, the function to be performed when an event is fired) were stored as a pro…
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…
In this tutorial viewers will learn how to create a basic motion tween animation in Flash Open a new document in Flash: Draw/import an image: Press CTRL + F8 to convert it into a graphic symbol: Select a frame (how long you want the tween to last): …
This Micro Tutorial will teach to how to utilize bit rate in Adobe Flash Media Live Encoder.

895 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

18 Experts available now in Live!

Get 1:1 Help Now