Presentation is loading. Please wait.

Presentation is loading. Please wait.

Using Buttons to Create a Simple Site Example: The Color Picker www

Similar presentations


Presentation on theme: "Using Buttons to Create a Simple Site Example: The Color Picker www"— Presentation transcript:

1 Using Buttons to Create a Simple Site Example: The Color Picker www
Using Buttons to Create a Simple Site Example: The Color Picker Step-by-step Instructions FlasH Site Setup J. DAVIS

2

3 Scripting Pane

4 “Script THIS” Name your instances FIRST (button instances and movie clip instances). stop(); red_btn.addEventListener(MouseEvent.MOUSE_DOWN, mouseDownHandler1); function mouseDownHandler1(event:MouseEvent):void { gotoAndStop("red"); } green_btn.addEventListener(MouseEvent.MOUSE_DOWN, mouseDownHandler2); function mouseDownHandler2(event:MouseEvent):void { gotoAndStop("green"); orange_btn.addEventListener(MouseEvent.MOUSE_DOWN, mouseDownHandler3); function mouseDownHandler3(event:MouseEvent):void { gotoAndStop("orange");

5 Questions? Next: Step by Step Color Picker and
How to change Color Picker Into your Final Project


Download ppt "Using Buttons to Create a Simple Site Example: The Color Picker www"

Similar presentations


Ads by Google