Search Tutorials
IntroductionWelcome to this tutorial about changing background colors. Although this topic is covered by the Flash help files, I thought it could use some explanation. Note that you also can use this method to change the color of any movieclip (that's what we are actually going to do). For this tutorial you need to have some basic Flash 4 knowledge and some affinity with the Flash 5 "look and feel". For changing colors we are gonig to use the setRGB method. This method uses hexadecimal colors. Hexadecimal colors are constructed with 6 digits (RRGGBB) corresponding with the amount of red, green and blue, the primary colors of light. The amounts are set by the numbers 0-9, F for full and C is (probably, I'm not entirely sure) half. So (0x)000000 is black, (0x)FFFFFF is white, (0x)FF0000 is red, and so on. For determing the hexadecimal color value you can use your eye dropper tool and read out the color value in the palette. This tutorial will cover this topic in three basic steps; Making and naming a movieclip, creating buttons and adding the actionscript.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||
![]() |
|||||||||||||||||||||||||||||||||||||||||||||||||||
|