Flasher Archive
[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]
| Subject: | RE: FLASH:setting variables across levels |
| From: | T.R. Henigson |
| Date: | Thu, 10 Aug 2000 07:09:20 +0100 |
Two things: First, your go to and play (start) should read
go to and play ("start"). Second, it's possible that your
movie hasn't finished loading into _level4 at the point
where you tell it to go to and play ("start"). Make sure it
has finished loading by setting the variable you will use
in your conditional on the main timeline (in this case goNow)
from the last keyframe in the _level4 movie. That way the
variable won't be set, and the conditional won't test true,
until your movie has finished loading into _level4 and it's
ready to go.
Ted
> -----Original Message-----
> From: owner
> Pirayesh
> Sent: Wednesday, August 09, 2000 4:00 PM
> To: flasher
> Subject: FLASH:setting variables across levels
>
>
> hey everyone,
>
> I have an swf file. Inside this swf file i have a mc with the
> instance name
> "music", inside that i set a variable. It reads as follows
>
> Set Variable:"goNow" = "yes"
>
> now, i take this swf file and i load it into level 4 of my main time line.
>
> now on the main timeline i want to check and see if "gonow"
> equals "yes", if
> it does, then the movie should go to and play the label "start".
> Here is the code for that:
>
> If("_level4/music:gonow" eq "yes")
> go to and play (start)
> End If
>
>
> Something is VERY wrong. I am reletively new at loading movies, and even
> newer to setting variables, especially across frames. I have scraped
> together this much with the help of Greg Caines and some tech notes on
> macromedias site. But still no luck.
> If anyone could help my hopeless cause, it would be much appreciated.
>
> thanx in advance
> -sohrab
>
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Full flasher archive now available online at:
> http://www.chinwag.com/flasher/archive.shtml
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> To unsubscribe or change your list settings go to
> http://www.chinwag.com/flasher or email help
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Full flasher archive now available online at:
http://www.chinwag.com/flasher/archive.shtml
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email help
Replies
RE: FLASH:setting variables across level, Sohrab Pirayesh
Replies
FLASH:setting variables across levels, Sohrab Pirayesh
[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]

