Flasher Archive

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


Subject: Re: FLASH: "go to" problems
From: Helen Triolo
Date: Fri, 14 Jul 2000 07:52:29 +0100

Samir,

You can use an expression in a goto if it defines either a frame name or
a frame number, but not a combination of the two. So if I understand
what you're trying to do (assuming level is a variable and not an actual
flash level), you'll need to label each of the frames you want to jump
to with something like "level1" "level2" etc, and do

Set Variable: "modifier" = 2
Go to and Play ("level"&modifier)

This will send the movie to a frame labelled level2 (*not* to two frames
past a frame labelled level, which flash won't do)

hth,
Helen
---------------------------------------------------
helen triolo � http://i-technica.com � 301-424-6037
Flash Q&A archive � http://i-technica.com/flashlist

Samir Thaker wrote:
>
> ok...is there a way to use the 'expression' option of the 'go to' command to
> specify a frame label rather than a frame number? for example, i've got a
> game that when a certain frame is hit should then go to the next level,
> which will load at a frame labeled 1 or 2 or 3, etc.
> i want to use the go to command to tell the main timeline to go to "level +
> 1" where level is a variable i've set that is equal to the numeric value of
> the level currently being played (if i'm on level 2, level=2)
> i've tried just telling it to Go to and Stop (level + 1) but when i
> test this movie, it runs and then restarts at the movie's first scene when
> it hits the frame with this action. what's going on? why is it doing this?
>

flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
flashforward2000 and the Flash(tm) Film Festival
July 24-26, 2000, NEW YORK CITY, Hammerstein Ballroom
www.flashforward2000.com
Produced by United Digital Artists and lynda.com
Sponsored by Macromedia, Adobe Systems, Fusion, Inc, AtomFilms,
shockwave.com and Electric Rain.
1.877.4.FLASH.4 or (1.805.640.6679 outside the US and Canada)
Register before June 30 and save $200!!-- www.flashforward2000.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpatchinwag [dot] com


Replies
  FLASH: "go to" problems, Samir Thaker

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