Flasher Archive

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


Subject: Re: FLASH: setRGB (try three)
From: Helen Triolo
Date: Mon, 30 Oct 2000 12:52:43 GMT

The color variable should be a number, not a string. This works:

nWhite = 0xffffff;
newColor = new Color(testMC);
newColor.setRGB(nWhite);
Stop();

Regards,
Helen
---------------------------------------------------
Flash 5 Journal: http://i-technica.com/flash5
Flash Q&A archive: http://i-technica.com/flashlist

Scott McDonald wrote:
>
> Sorry for being a pest, but I didn't see any responses to my two previous
> posts... I am going crazy here... please tell me how or if I can get the
> equiv to this:
>
> White = "0xFFFFFF"
> newColor = new color(testMC);
> newColor.setRGB(White);
>
> it makes it black, regardless of what hex I put in...

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
flashforward2000 and the Flash(tm) Film Festival
November 27-29, 2000, LONDON, National Film Theatre

Produced by United Digital Artists and lynda.com
-Sponsored by Macromedia, Adobe Systems and Apple Computer
-http://www.flashforward2000.com or UK tel. +44 (0870) 751 1526
Register before November 10 and save �200
http:// www.flashforward2000.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpatchinwag [dot] com


Replies
  FLASH: setRGB (try three), Scott McDonald

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