from: http://livedocs.adobe.com/flex/3/html/Capturing_User_Input_4.html
here is some Adobe code to create random colors:
function changeColor(event:ContextMenuEvent):void
{
square.transform.colorTransform = getRandomColor();
}
function getRandomColor():ColorTransform
{
return new
Thankyou Sunil for replying to my question. your example uses flash
player 10, i can not view the example or the code for it.
as it breaks my Flex builder, (still using Flex 3.0)
I'm at a delicate stage of my project and can't afford Flex builder
breaking and having to reinstall it all!
Do
--- In flexcoders@yahoogroups.com, gr33neye501 dev...@... wrote:
Hi guys
I'm trying to generate a series of random colours, but would like to
exclude certain colour and closely related shade.
For example, i'd like create any colours except red or similar shades.
Anyone know of how I could
--- In flexcoders@yahoogroups.com, gr33neye501 dev...@... wrote:
Hi guys
I'm trying to generate a series of random colours, but would like to
exclude certain colour and closely related shade.
For example, i'd like create any colours except red or similar shades.
Anyone know of how I
4 matches
Mail list logo