Content on this page requires a newer version of Adobe Flash Player.

Get Adobe Flash player

SPONSORED BY

The Very Best Algebra Notes


The Very Best Algebra Notes for the Very Best Flash Games

FLASH ACTIONSCRIPT COLOR PICKER LESSON

In this lesson, students learn how to instantiate and use the Adobe Flash color picker component. The color picker component is imported and a mouse event listener is created. The mouse event handler is used to draw a circle on the screen whenever a color swatch is selected from the color picker. The circle's color is the same color as the swatch selected. In this coding lesson, the AS3 drawCircle command is used. As well, the colorpicker's color event property is used to pass the color selected to the event handler function so that a circle with the chosen color is drawn. .

HOW TO USE

1) Click the black swatch on the stage.

2) Click a color swatch from the color palette that appears.

To schedule an online Flash lesson, contact mark.c.stansberry@gmail.com, Text: (707)235-4095

You are at:
http://www.3d-perspective-software-development.com/lesson-color-picker.html