Home  |  About  | Last |  Submit  |  Contact
AllQuests.com




Previous Question:  [all variants] Howto Adobe Acrobat Connect videoconferencing  x86 64 bit UsersNext Question:  [ubuntu] timevault or rdiff backup  x86 64 bit Users
Question setting and removing tint ( Flash Kit Community Forums Flash ActionScript )
Updated: 2010-07-21 05:50:03 (1)
setting and removing tint

hi,
i have a button changing color onmouseover.
In some cases i want it to keep the same color, let's say black (even on mouse over).

so i use

acolor=new Color( mybutton );
acolor.setRGB( 0x000000 );

Now, how can i make it come back to the no-tint state (ie changing color on mouse over) ?
I tried

delete acolor;
or acolor= new Color();

But the button keeps it black tint.
Any idea ?

Thanks
Quentin

Answers: setting and removing tint ( Flash Kit Community Forums Flash ActionScript )
setting and removing tint

I think the only way is starting with a predefined color, and then use it again:

//first it is blue
acolor=new Color(myButton);
acolor.setRGB(0x0066cc);
//then black
acolor.setRGB(0x000000);
//blue again
acolor.setRGB(0x0066cc);

nunomira

Previous Question:  [all variants] Howto Adobe Acrobat Connect videoconferencing  Ubuntu Forums  x86 64 bit UsersNext Question:  [ubuntu] timevault or rdiff backup  Ubuntu Forums  x86 64 bit Users

- Source: setting and removing tint Flash Kit Community Forums Flash ActionScript
- Previous Question: [all variants] Howto Adobe Acrobat Connect videoconferencing Ubuntu Forums x86 64 bit Users
- Next Question: [ubuntu] timevault or rdiff backup Ubuntu Forums x86 64 bit Users