Flasher Archive
[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]
Subject: | Re: FLASH: Quick Easy Variable Question, |
From: | Cheri Harder |
Date: | Wed, 5 Apr 2000 21:54:22 +0100 |
Yes, John, that is exactly how I set and retrieve variables I want to be
"global" - I either put them on the main timeline in the main-level movie,
or create a separate movie clip that is always present, and call them there.
But I sure would not set a yes/no variable for each of your buttons. I
would set ONE variable, call it "moviename" and then each of your buttons
will change the value of that one variable to the name of the movie you want
to load.
So, button number one will set "moviename" = "movie1.swf"
button number two, set "moviename" = "movie2.swf" etc.......
Then at the end of your child movies, you just have to say "Load movie
(moviename,3)" or however that syntax is...and you don't have all of those
"if" statements you were talking about earlier...
HTH!!
~~~~Cheri Harder~~~~~
charderawsolution [dot] com
Advantage Web Solution
www.awsolution.com
> I just figured out that variable x, is independent of Variable x in a
child
> .swf.
>
> So essential I'm attempting to use "ButtonNato" as a global variable, is
> this the correct way to set and call a variable, if I'm using _level0 as
the
> holder for the global variables?
>
> Set Variable: "_level0:ButtonNato" = "True"
>
> Then in a different .swf I can run the if then statement like below
>
> If ("_level0:ButtonNato" = "True")
> Load Movie ("products/nato/beauty.swf", 14)
> Set Variable: "_level0:ButtonNato" = "False"
> End If
flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
the new Flasher list books section, check it out
at http://www.chinwag.com/flasher/books.shtml
send suggestions for inclusions to helpchinwag [dot] com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpchinwag [dot] com
Replies
Re: FLASH: Quick Easy Variable Question,, John Graham
Replies
FLASH: Quick Easy Variable Question,, John Graham
[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]