Flasher Archive

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


Subject: Re: FLASH: passing variables to other swfs?
From: 2Nerotik
Date: Tue, 23 Nov 1999 02:46:56 GMT

Yes I finally figured it out... no I didn't know the answer either but with
a little trial and error.

This is the answer

Begin Tell Target ("_level#")
Set Variable: "varName" = "varValue"
End Tell Target

Where # is the level you are targeting
varName is the the name of the variable you want to set.
varValue is the value you want to give the variable.

and I think if the variable was in a MC on a different level
then it would be Begin Tell Target ("_level#/MC Instance Name")

At 06:59 PM 11/22/99 -0500, Phillip M. Torrone wrote:
>need a sanity check-
>
>trying to set a variable from a loaded movie in level 1 to the main movie
>(level 0).
>
>-an exerpt from the flash 4 help file.
>
>Identifying a variable in a specific movie or movie clip
>
>To identify a variable in a specific movie or movie clip, prefix the
>variable name with the path to the movie or movie clip. Use a colon to
>separate the path from the variable name. For example, this phrase
>specifies the variable Timer in the movie clip Explosion:
>
>/Explosion:Timer
>
>**so**
>
>does this mean you can only set variables to and from the same level?
>
>phillip

.oOo.
|| Outside of a dog, a book is man's best friend.
|| Inside of a dog, it's too dark to read.
||
|| Addicted 2 Swing ---> http://www.nisa.net/~2nerotik/
|| Fontaholic ? ---> http://www.fontsanon.com
|| HTML Writers Guild ---> http://www.hwg.org


flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Streaming Media WEST '99 Conference & Exhibition
"The Worlds largest Internet Audio & Video Event"
December 7 - 9, San Jose Convention Center, California

Reserve your space today at http://www.streamingmedia.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpatchinwag [dot] com


Replies
  FLASH: passing variables to other swfs?, Phillip M. Torrone

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