Flasher Archive

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


Subject: Re: FLASH: FrameLabel
From: John Croteau
Date: Thu, 14 Oct 1999 13:31:24 +0100

Hi Peter,

> I know I can use _currentframe to check for the frame number, but..
> I would like to use the framelabel instead of the number.
In Flash there are 2 reasons for using Labels one is for authoring to
prevent having to reenter frame numbers whenever you make a change and
the second is to use Labels to prevent calling an incorrrect frame
number when issuing a Go To to a frame that is not loaded yet.

Both of these conditions no longer matter once a frame that you want to
check with _currentframe is already loaded.

However, all you need to do to use a Label name for a frame number is to
set a variable in the frame number and then reference the variable which
could have the same name as the Label.

Put this as a frame action then you can refer to the frame as TheFrame.
Set Variable: "TheFrame" = _currentframe

Since, you have to go to the frame to be able to say this is the current
frame then this should solve your problem.

If not explain what you are tryting to do, not how you want to solve it.

--
Coming Soon Flash 4 Web Animation F/X and Design
http://www.amazon.com/exec/obidos/ASIN/1576105555/flashcentral
----------- -----------------------
John Croteau croteauaterols [dot] com (mailto:croteauaterols [dot] com)
------------- -------------------------
FlashTek (Advanced Websites with Flash) http://www.FlashTek.com/
Flash Bible (Fast track to good Flash) http://www.FlashBible.com/
Flash Central(The Universe Starts Here) http://www.FlashCentral.com/
The Flash Tech Resource (Tech Notes) http://www.FlashCentral.com/tech/
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Streaming Media WEST '99 Conference & Exhibition
"The Worlds largest Internet Audio & Video Event"
December 7 - 9, San Jose Convention Center, California

Reserve your space today at http://www.streamingmedia.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpatchinwag [dot] com


Replies
  FLASH: FrameLabel, Peter Brouwers

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