|
||||||
|
||||||
Flash - Colouring In

Free Flash Tutorial
Step Three: Paint Buttons
The coloured paint buttons set the colour of the paintbrush head and set the input box to display the word brown (line 4).
on (rollOver) {
paint = new Color(_root.brush.head);
paint.setRGB(0xff9966);
text = "brown";
}
Note: Each paintbrush button has its own RGB colour, and the word to be displayed in the output box (brown) is also different. Otherwise the script for each button is identical.
|
Why not try out webwasp's new community. Meet new people, find friends in your area: Webwasp Mates & Dates
|
|
|
All material on this site is protected under international copyright © law. DO NOT reproduce any material from this site without written permission. Please ask as permission is often granted.
|