|
-
changing background colour...making it fade
hey there...i have made a file that changes the background colour when you roll over a button using the code
on (rollOver) {
bgcolor = new Color(_root.myBG);
bgcolor.setRGB(0x66FF00);
}
now i feel that the effect doesnt look right since the bg snaps instantly to that colour when i rollOver the button...i was wondering if it is possible to make the background fade from its original colour to the new colour
i have found a way to do this using tweens but i would perfer to use actionscript as i plan on having more complicated colour changes
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|