Flasher Archive

[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]


Subject: Re: FLASH: Passing Variables between MC's
From: John Croteau
Date: Fri, 1 Oct 1999 03:00:05 +0100

Hi Cheri,

> I have a movie
> clip, instance name "Main" on the main timeline. Within this MC I have a
> Movie clip with a button. For one of the actions of this button instance, I
> want to reference a variable (rq) set in the MC named "Main" Output window
> shows:
> Variable _level0/Main:rq = "3"
> Now, within the inner MC, I have tried to set a new var based on the outer
> var thusly:
> Set Variable: "rq2" = eval(_level0/Main:rq )
> as an expression.
> But, rq2 is coming out null
All 3 of these work:
The first is the best most of the time:

Set Variable: "rq2" = /main:rq
Set Variable: "rq2" = _level0/main:rq
Set Variable: "rq2" = ..:rq

Eval is not appropriate here.

Paths for Variables are discussed along with movie clips:
http://www.FlashBible.com/members/TellTarget/

--
Coming Soon Flash 4 Web Animation F/X and Design
http://www.amazon.com/exec/obidos/ASIN/1576105555/flashcentral
----------- -----------------------
John Croteau croteauaterols [dot] com (mailto:croteauaterols [dot] com)
------------- -------------------------
FlashTek (Advanced Websites with Flash) http://www.FlashTek.com/
Flash Bible (Fast track to good Flash) http://www.FlashBible.com/
Flash Central(The Universe Starts Here) http://www.FlashCentral.com/
The Flash Tech Resource (Tech Notes) http://www.FlashCentral.com/tech/
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

------------------------------------------------------------------------
To UNSUBSCRIBE send: unsubscribe flasher in the body of an
email to list-manageratchinwag [dot] com. Problems to: helpatchinwag [dot] com
N.B. Email address must be the same as the one you used to subscribe.
For info on digest mode send: info flasher to list-manageratchinwag [dot] com


Replies
  Re: FLASH: Passing Variables between MC', Cheri Harder

Replies
  FLASH: Passing Variables between MC's, Cheri Harder

[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]