Flasher Archive
[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]
Subject: | Re:FLASH:Button control |
From: | Marc Hoffman, Poison Dart Frog Media |
Date: | Fri, 14 Jan 2000 16:50:39 GMT |
At 05:58 AM 1/14/00 , you wrote:
>Please help!
>
>I have a menu scene with 5 buttons. All the buttons go to the same scene and
>play through a 100 frame intro. I have split up this scene into 5 sections
>each
>labelled correspondingly. What I want to know is if I press button 1, can I
>insert some lingo which will make flash:
>
>1. go to the next scene
>2. play the intro (first 100 frames)
>3. on the 101st frame remember which button was hit (button 1 in this
>case) and
>go to the frame labelled 1. Similarly go to labelled frame 2 for button 2
>and so
>on.
>
>I know that another way of doing this would be to have different scenes
>for each
>button with the same intro at the beginning of each, but this makes the file
>size huge.
You would use Action Script to store the button number as a variable, then
refer to that variable at the end of the 100 frames. By the way, you also
could convert those 100 frames to a movie clip that you then re-use. This
might be simpler if you don't know ActionScript, and would not increase
your file size by any appreciable amount.
Marc Hoffman
Poison Dart Frog Media: Specializing in Flash Animation and Digital Audio
Production
Our latest Flash job is on display at <http://www.dartfrogmedia.com/rickfrnd>
See our Flash portfolio at <http://www.dartfrogmedia.com/sampler>
(featured in Flash 3 Web Animation, by Ken Milburn)
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 helpchinwag [dot] com
Replies
Re:FLASH:Button control, David Hagelthorn
[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]