Flasher Archive
[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]
Subject: | Re: FLASH: Setting Veriables |
From: | John Graham |
Date: | Wed, 5 Apr 2000 15:46:27 +0100 |
Hey Cheri,
Thanks for the help with that. I fought a bit with the Variables this
morning, had them set as expression as opposed to StringLiteral, but got
that fixed. Figured I would post how it was done.
The Navigation Button, has these actions,
On (Release)
Begin Tell Target ("_level14")
Go to and Play ("goodbyebeauty")
End Tell Target
Begin Tell Target ("_level15")
Go to and Play ("goodbyecopy")
End Tell Target
Begin Tell Target ("_level12")
Go to and Play ("goodbyetitle")
End Tell Target
Set Variable: "ButtonNato" = "True"
End On
The Variable ButtonNato is set, then in the end of each of the movies that
are ending, I am placing the following..
If ("ButtonNato" = "True")
Load Movie ("products/nato/title.swf", 12)
End If
There are the if statements for the other buttons, but I left them out to
save space. And it works well. I must say though I would hate to see the
code if there were 10+ buttons.
John G
> Hi, John. Yes, you are getting very close. Instead of making a different
> variable for each button, make "one" variable with a different "value" for
> each button. Then do your "finish up your animation" part of the unload,
> and at the end of every child movie, put Load Movie "Variable name"
>
> And yes you can, as far as I know, replace the movie you are in, but you
> don't need to put the unload movie first, your load movie command will
> replace the one that is there.
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: Setting Veriables, Cheri Harder
[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]