Flasher Archive

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


Subject: FLASH: that darned RGB problem ATT John Dowdell
From: EchoDotCom Designs.
Date: Thu, 2 Nov 2000 20:31:16 GMT

well thanks to some friendly folks here I have managed to cut down my code
quite a bit, however I am thinking that I would like to suggest a built in
function for flash 5.(fix bug version number) Hex() built in for just such a
case where the color is passed as a string so the less obvious function
(parseInt(X,16)) wont hide so well from the person in need. the function
would be simple:

function Hex(stringVal){
stringVal=parsInt(stringVal,16);
return stringVal;
}


this will alow this:

newColor = newColor(targetMovie);
newColor.setRGB(Hex(colorString));

done! and in looking through the flash action script dictionary i would have
found it under HEX :o)

-Echo (aka Scott McDonald)


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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


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