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 18:53:49 +0100 |
Did you change your Actionscript to:
go to and play ("start")
It won't work if you're still treating "start"
as a variable and it isn't defined.
Ted
> -----Original Message-----
> From: owner
> Pirayesh
> Sent: Thursday, August 10, 2000 5:20 AM
> To: flasher
> Subject: RE: FLASH:setting variables across levels
>
>
> Thats what i am doing now ted. The mvie i am loading into level 4 has a
> preloader. Once it is loaded then it sets the variable.
>
> any suggestions?
>
> -sohrab
> -----Original Message-----
> From: owner
> Henigson
> Sent: Thursday, August 10, 2000 1:54 AM
> To: flasher
> Subject: RE: FLASH:setting variables across levels
>
>
> 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
>
>
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 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
[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]

