Flasher Archive

[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]


Subject: RE: FLASH: set variable across levels
From: Sohrab Pirayesh
Date: Thu, 10 Aug 2000 02:00:00 +0100

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 got everything
else working except this part. 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 helpatchinwag [dot] com


Replies
  FLASH: Stop the looping... please!, Jeffrey Stephens

[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]