Download presentation
Presentation is loading. Please wait.
Published byLogan Walters Modified over 6 years ago
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
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
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.