Solved

passing variables

Posted on 2000-03-21
3
174 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
[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
  • 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

Salesforce Has Never Been Easier

Improve and reinforce salesforce training & adoption using WalkMe's digital adoption platform. Start saving on costly employee training by creating fast intuitive Walk-Thrus for Salesforce. Claim your Free Account Now

Question has a verified solution.

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

Introduction This article is primarily concerned with ActionScript 3 and generally specific to AVM2.  Most suggestions would apply to ActionScript 2 as well, and I've noted those tips that differ between AS2 and AS3. With the advent of ActionS…
The last time I worked with Flash and Socket connections was in AS1. A recent project required flash connecting to a Socket, and sending receiving information - we figured it would be easy enough - we all know about the socket policy documents and c…
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 what frame rate is, how to control it and what effect it has on the video.

636 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