Flasher Archive

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


Subject: RE: FLASH: Coloring buttons based on values received
From: Ed King
Date: Thu, 12 Nov 1998 17:36:33 +0000 (GMT)

Nigel,

Your example was perfect. Totally understand what needs to be done. I
have just 1 problem. I am trying to get the VB environment to tell the
Flash what frame to play the instance of the movie in. I have been trying
to use the TGotoFrame command but have not been successful. Does anyone
have any experience with this command? There is also a TCurrentFrame
command that always returns -1. Do you have any ideas?

Ed King
ekingattangram [dot] com (mailto:ekingattangram [dot] com)


-----Original Message-----
From: owneratshocker [dot] com [owneratshocker [dot] com]On">mailto:owneratshocker [dot] com]On Behalf Of Nigel
Randsley-Pena
Sent: Wednesday, November 11, 1998 20:31
To: flasheratshocker [dot] com
Subject: Re: FLASH: Coloring buttons based on values received


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


------------------------------------------------------------------------
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, Nigel Randsley-Pena

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