Flasher Archive
[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]
Subject: | Re: FLASH: Passing vairables from a movie clip |
From: | thomas.link |
Date: | Tue, 14 Sep 1999 11:41:33 +0100 |
Here's the answer from John (I had the same problem)
Maybe you have to study his "Introduction to Tell Target" on
http://www.FlashBible.com/members/TellTarget/ it's very useful.
----------- snip ------------
Hi Thomas,
> I'm having a projector that loads 8 different movies in level 1
> (automatically after each other or by click) - all fine.
> In every movie you
> have the possibility to start playback - with this action I set a
> play_variable in a MC of the main movie (projector) to true.
> Here's the question:
> Do I really have to use "_level0" target in the following command?
> <Set Variable: "_level0/play_variable_mc:play_variable" = "1">
> According to the tutorial it should work with a single
> "/play_variable_mc:play_variable" - it doesn't...
Where is the MC play_variable_mc?
Where is the button or frame action?
Why don't you just save the variable on the main timeline?
Such as _level0/play_variable?
When you load a movie into an existing level (such as 1), the old movie
and its timeline no longer exists and all of its variables are
distroyed.
Saving the variable on the level zero movie works because it ontinues to
exist.
/ is the root (main timeline of the same movie)
_levelx is the main timeline of a movie on level x
----------- -----------------------
John Croteau croteauerols [dot] com (mailto:croteauerols [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/
2Nerotik <2nerotiknisa [dot] net>@shocker.com on 13.09.99 23:15:12
Please respond to flashershocker [dot] com
Sent by: ownershocker [dot] com
To: flashershocker [dot] com
cc:
Subject: FLASH: Passing vairables from a movie clip
Ok... simple question.
Is it possible to pass a variable from a movie clip back to the main movie.
I want to be able to press a button in a movie clip and have it set a
variable to false (ie "menu"=False)
Then in the main move I want another button (which has previously been told
that the variable menu=True) to know whether the variable Menu now equals
false.
If it's possible how do I do this ?
.oOo.
|| Yesterday scientists revealed that beer contains small traces of female
|| hormones. To prove their theory, the scientists fed 100 men 12 pints of
|| beer and observed that 100% of them gained weight, talked excessively
|| without making sense, became emotional, couldn't drive, and refused to
|| apologize when wrong.
||
|| No further testing is planned.
.oOo.
------------------------------------------------------------------------
To UNSUBSCRIBE send: unsubscribe flasher in the body of an
email to list-managershocker [dot] com. Problems to: helpchinwag [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-managershocker [dot] com
------------------------------------------------------------------------
To UNSUBSCRIBE send: unsubscribe flasher in the body of an
email to list-managershocker [dot] com. Problems to: helpchinwag [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-managershocker [dot] com
[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]