Solved

passing variables

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

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

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

Suggested Solutions

This is intended to introduce all collision detection principles in flash, their strengths, weaknesses and workarounds. The main method for Collision Detection in flash is using hitTestObject. But unless you'll be pushing rectangular shapes without …
This article describes a solution to a problem of subloading one movie into another when they have different SWF versions. Sometime back, I was working on an ActionScript project while I came across an interesting fact which I would like to share…
The goal of the tutorial is to teach the user how to how to load their YouTube profile onto Flash Media Live Encoder.
This Micro Tutorial will teach to how to utilize bit rate in Adobe Flash Media Live Encoder.

830 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