Flasher Archive

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


Subject: Re: FLASH: Mysterious variables, or : "If at first you don't succeed..."
From: John Croteau
Date: Thu, 28 Oct 1999 20:57:43 +0100

Hi Anik,

> Well, I'll try again.
> Maybe my yesterday's call for help was a bit confuse (but then again, it
> could just have been totally uninteresting... Hmm, I won't consider this
> second option) ;)
First don't expect instant answers.
Second, please respond to your own email and keep things in the same
thread.
There is only so much time and it takes time to get even some of the
many questions posted here answered. And you are right it is not all
that interesting to me (I already know how to do it), but I want to help
when I have time and can.

> So, I have a variable embedded in a movie clip, and I want to address
> this variable with a command in which the movie clip's name will be a
> variable.
> -> I can *set* this variable with the following line :
> Set Variable: "/"&MyVariable&":Value" = "Hello, world !"
> -> *but* I can't find a way to get back the value of this variable
I think this is what you want:

Set Variable: "Return" = Eval ("/" & MyVariable & ":Value")

Use Eval to get the value of a string equation like above.
Eval first concatenates the string to a variable name which is then
evaluated because equation (=) is set.

--
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/
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~




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: Mysterious variables, or : "If at, Anik Rigaud

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