Solved

passing variables

Posted on 2000-03-21
3
140 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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

Recently, I was asked to recommend a tracking system to be implemented on a clients website. As the entire site was built on flash, my first thought was to suggest custom built tracking system. However, our company at that point of time didn't h…
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…
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…
This Micro Tutorial will teach to how to utilize bit rate in Adobe Flash Media Live Encoder.

707 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

15 Experts available now in Live!

Get 1:1 Help Now