Flasher Archive

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


Subject: FLASH: SetRGB: ATTN:Helen
From: Scott McDonald
Date: Wed, 1 Nov 2000 15:54:13 GMT

Thank you Helen for the help, THAT does work, but I am not sure how I am
going to use it in context of what I need, maybe you will have further ideas
if I show you the context that it will be used.

I have a movie clip with a button inside, the movieCLips instance name is
the hex color 0xFFFFFF for example. the buttons code says:

on(release){
_root.changeClipColor(this._name);
}

_root.changeClipColor is this:

function changeClipColor(passedColor){
newColor=new color(_root[passedColor]);
colorTo=passedColor;
newColor.setRGB(colorTo);
}

This wont work, it makes everything black, now according to your
explanation, I would have to convert passedColor to a non string HEX value,
which makes since, however I don't see anyway to do that in flash. have you
anymore idea's? I am very lost myself.

Thanks in advance for any help
Scott McDonald
WebMaster - Morris Publishing
Kearney NE 800-445-6621


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