Flasher Archive

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


Subject: Re: FLASH: flash 5 set color question
From: Helen Triolo
Date: Thu, 31 Aug 2000 16:42:56 +0100

Hi ant. It seemed to work fine when I tried this:

on (release) {
nColor = 0x9CaaCE;
myColor = new Color(mcColorSquare);
myColor.setRGB( nColor );
}

Regards,
Helen
---------------------------------------------------------------
Flash 5 Journal: http://i-technica.com/flash5 (new: alarm 8/31)
Flash Q&A archive: http://i-technica.com/flashlist

ant wrote:
>
> hi guys, I've been using this code successfully:
>
> on (release) {
> myColor = new Color(square1);
> myColor.setRGB( 0x9CFFCE );
> }
>
> but what I want to do now is set the colour according to an expression (say
> the value of the variable paint) but flash doesn't seem to like me doing
> this (says it wants the color specified as a hex value). Any ideas?
>
> TIA
>
> ant

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
NudeGuru.com is proud to sponsor the Flasher list
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
IT'S THE ART OF MONEY, HONEY!
Tips and Advice from some of the most popular Flash
artists + industry power-brokers on how to hold onto
your rights, negotiate contracts and get full value
for your work.http://www.nudeguru.com from Franke James
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpatchinwag [dot] com


Replies
  FLASH: flash 5 set color question, ant

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