Flasher Archive

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


Subject: Re: [flasher] making buttons stick
From: Peggi & Ben Rodgers
Date: Mon, 12 Mar 2001 15:58:23 -0000

You need to create an invisible button. Try this (instructions kindly
given to me for a Flash 4 project). I later found this in the Flash 4
Bible as well.

"You need to invent a button in the form of a movie clip. Make it 3 frames
and have graphics (not buttons) in each frame with a stop action in each
frame as well. Then create a new layer in this mc and make an invisible
button (put a graphic in the hit state only) Then on this button put your
actions;

On (Press)
Go to and Stop ("labelname")
End On

On (Release)
Go to and Stop("anotherlabelname")
End On

You can use a frame action to reset the appearance of the button if the
user comes back from another scene."

HTH,

Peggi


At 10:28 AM 3/12/01 -0500, you wrote:
>Hello
>I am working on a flash(5) game where the user selects a piece of a world
>map, then selects a piece of another map. Each piece is a button. On the
>second selection, I want the piece to change to a different color. I have
>the color selected in the down field of each piece/button. How do I make it
>stick?
>do I change to another frame?
>is there anyway to do it in the button?
>
>here is the html page
>http://www.crabtreecompany.com/fow/fowtfkv3n4/htm/z1_htm/z2_htm/brain_flash.
>htm
>
>here is what it's suppose to be like
>http://www.crabtreecompany.com/fow/fowtfkv3n4/htm/z1_htm/z2_htm/brain_htm.ht
>m
>
>Thanks
>__________________________
>Brian Almeter
>Crabtree + Co.
>(703) 241-9001
>
>
>
>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> The Chinwag site carries a wealth of Flash resources.
> Find useful links, suggested reading and archives at:
>
> ** http://www.chinwag.com/flasher **
>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>You are subscribed to flasher as: woodduckatmbay [dot] net
>To unsubscribe, email leave-flasher-479865Uatlists [dot] chinwag [dot] com

Peggi Rodgers
Flash Programmer
Tide Pool Enterprises
Pacific Grove, CA
prodgersattide-pool [dot] com
www.tide-pool.com




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