Flasher Archive

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


Subject: Re: FLASH: Coloring buttons based on values received
From: Nigel Randsley-Pena
Date: Thu, 12 Nov 1998 01:34:12 +0000 (GMT)

Ed,


Ok, based on your example. Two buttons, let's say A and B.
Each has to be colour coded in red, yellow, and green.
I would do it this way :
First create the six different buttons Ared, Ayellow,... etc.
Now create a new movie clip call it Abutton. First frame is button Ared,
second frame is button Ayellow... Don't forget to place a stop action on
the first frame.
Now do the same for a second movie clip Bbutton.
You'll now have in your symbols lib two movie clips and six buttons.
Switch to stage view and place instances of these movie clips where you
want them. Use tell target actions if need be to set the initial state
of the buttons, i.e. Abutton should be yellow at first or whatever.
Now all you have to do is read your data decide what the button state
for A and B should be and use a telltarget to set them accordingly.

------------------------------------------------------------------------
To UNSUBSCRIBE send: unsubscribe flasher in the body of an
email to list-manageratshocker [dot] com. Problems to: owneratshocker [dot] com
N.B. Email address must be the same as the one you used to subscribe.
For info on digest mode send: info flasher to list-manageratshocker [dot] com



Replies
  RE: FLASH: Coloring buttons based on val, Ed King

Replies
  RE: FLASH: Coloring buttons based on val, Ed King

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