First time here? First time here? Newsletter Signup Newsletter
Search tutorials
Author: Gabriël Ramaker | Website: http://www.MAXstyle.nl


Welcome 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.

» Level Intermediate

Added: 2000-12-25
Rating: 6.88 Votes: 98
» Author
You might have noticed, english is not my mother language. Therefore I hope that this tutorial will be understandable to you all. If you might have any questions on this subject, feel free to mail me !
» Download
Download the files used in this tutorial.
» Forums
More help? Search our boards for quick answers!
Featured Flash FLA
» Author: Inocreato
» Title: RaiseTheBlocks
» Description: Raise all the blocks to win the game
Featured Sound Loops
Image for equalize

Audio Player

» Author: TomCat Carty
» Title: The Wood
» Description: Just a little game ending or it can maybe be looped. Recorders with music box and percussion to give the feel of well, I don't know, the woods? Free to use, just credit me. thank you
Latest Font
» Author: Fábio FAFERS
» Description: I created this font for free use. Everyone can apply it in personal or business texts. Its free, but I want to be communicated in case of business use. Donations are accepted to keep the project of free fonts alive! Thank you all
Featured Sound Fx
Image for equalize

Audio Player

» Author: Davisigner
» Description: Hmm... what to say about this one? It's reminiscent of the closing notes of the opening music from the Three Stooges done in a church organ style with a closing cymbal crash. I'll give this one away gratis, but feel free to check out my free loops and potential upcoming license-mandated ones over in the respective part of Flashkit.