Flasher Archive

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


Subject: Re: FLASH: How to Go To/Stop on a labeled frame in Flash 5
From: Helen Triolo
Date: Thu, 4 Jan 2001 03:13:43 GMT

Hi Julie -- yes, it can be done:

Click on the frame where you want the label (assuming you've already
made it a keyframe) and hit Ctrl-F to open the frame panel. Type the
frame name into the Label box (eg, newFrame). Then put this action on
the button:

on (release) {
gotoAndStop("newFrame"); // (or gotoAndPlay)
}

(Maybe you left the quotes off the frame label? If so, it will look for
the frame name in a variable named newFrame, which won't work)

Regards,
Helen
-----------------------------------------------------
i-Technica � http://i-technica.com � 301.424.6037
Flash Q & A Archive: http://i-technica.com/flashlist

Julie Fell wrote:
>
> This seems super basic but I can't figure out how to use the label of a
> frame instead of the frame number in Flash 5. I have a button that when
> clicked (OnRelease) needs to advace to a certain frame, however the frame
> number keeps changing as I add to and modify my web site. I want to
> reference the frame using its label instead of the frame number. Can this be
> done? If so, how? Thanks!!
>
> Julie Fell
> UI Designer
> Rivals.com -- RivalNetworks, Inc.
> jfellatrivals [dot] com
> http://www.rivals.com

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
flashforward2000 and the Flash(tm) Film Festival
November 27-29, 2000, LONDON, National Film Theatre

Produced by United Digital Artists and lynda.com
-Sponsored by Macromedia, Adobe Systems and Apple Computer
-http://www.flashforward2000.com or UK tel. +44 (0870) 751 1526
Register before November 10 and save �200
http:// www.flashforward2000.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpatchinwag [dot] com


Replies
  FLASH: How to Go To/Stop on a labeled fr, Julie Fell

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