Flasher Archive
[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]
Subject: | FLASH: Unloading Movie from level - - multiple instances of same movie! |
From: | Dino Giacomazzi |
Date: | Thu, 6 Jan 2000 06:59:58 GMT |
Hey Yall,
I have a movie with a button that loads mulitple instances of the same SWF
into different levels. Im having a bit of trouble unloading the movies
indivitually. I have a setup like this:
Main Movie - Frame Action - Frame 1
Set Variable: "ln" = 0
Set Variable: "bn" = 0
"ln" is the Level Number
"bn" is for the box number (indivitual instance of the abc.swf)
Main Movie - Button
On (Release)
Load Movie ("abc.swf", (ln) + 1)
Set Variable: "ln" = (ln) + 1
Set Variable: "bn" = (bn) + 1
End On
This part works great, each time i click the button, it loads another
instance of the swf into a higher level. i am able to pass text variable to
each of the indivitual levels and am really happy about that.
The problem is in the abc.swf i have a button, that when clicked, is
supposed to uload that particular instance of the movie.
abc.swf - frame action - frame 1
Set Variable: "abn" = _level0:bn
Set Variable: "abn1" = int (abn)
Im just guessing here, but what i am trying to do is convert the value of
abn which is the value of bn from the main movie to a fixed number. then I
use abn1 in the button to calculate what level the movie lives at.
Then I try
On (Release)
Unload Movie ((abn1))
End On
with the level property set to expression.. no matter what i seem to do,
when I click the button, it unloads everything from the screen as if its
saying unload level 0.
I think im in way over my head and am pretty confused at this point. Any
help would be appreciated.
Ill post the FLA's of the two movies at :
http://www.virtualabandon.com/flasherL/ if anyone cares to take a look...
Thanks in advance
Dino
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 helpchinwag [dot] com
Replies
Re: FLASH: Unloading Movie from level - , Marc Hoffman, Poison Dart
Re: FLASH: Unloading Movie from level - , Cheri Harder
[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]