NumericStepper Component You can use the numeric stepper anywhere you want a user to select a numeric value. You can use the numeric stepper anywhere you.

Slides:



Advertisements
Similar presentations
Presentation Building 101 Creating And Presenting In PowerPoint.
Advertisements

INTRODUCTION TO ADOBE FLASH CS4
1What is the Stage. 2How do you open a panel in Flash
© 2010 Delmar, Cengage Learning Chapter 9: Using ActionScript.
Flash Week 5 Presentation by Mindy McAdams. Post-mortem: Flash 3 exercise Sliding panel functionality Use of big, beautiful pictures (vs. tiny pictures)
Adding Interactivity to Flash Movies Using Buttons and ActionScript SPACE Lab
Macromedia Flash MX 2004 – Design Professional and Interactivity WORKING WITH SYMBOLS.
Flash Workshop Flash Workshop :: Agenda  Introductions  Look at a few Flash Examples  Flash Web Sites  Flash Web Applications  Flash Games.
Macromedia Flash 5 Intermediate Level Course. Animation Basics Playhead In-Between Frames Keyframe Current Frame Number Framerate Current Time Frames.
XP New Perspectives on Microsoft Office Excel 2003, Second Edition- Tutorial 11 1 Microsoft Office Excel 2003 Tutorial 11 – Importing Data Into Excel.
Macromedia Flash 5 Advanced Level Course. Using Actions Toolbox ListActions List Parameters area Add/Delete a StatementMove Action Up/Down Expand/Collapse.
Introduction to Macromedia Flash 8
1 Flash Actionscript Adding Interactive Actions. 2 ActionScript 3.0 ActionScript is the language you use to add interactivity to Flash applications, whether.
Creating Flash Buttons Button Making Rollover Effects Enlarging the Clickable Area Giving Buttons Behaviors Behavior Options.
© 2011 Delmar, Cengage Learning Chapter 8 Building Complex Animations.
Chapter 17 Putting It All Together. Viewing the Preloader To view the preloader, 1.CTRL-Enter to test the movie. 2.View > Simulate Download.
© 2010 Delmar, Cengage Learning Chapter 6: Preparing and Publishing Movies.
Chapter 9 Introduction to ActionScript 3.0. Chapter 9 Lessons 1.Understand ActionScript Work with instances of movie clip symbols 3.Use code snippets.
ITIS 1210 Introduction to Web-Based Information Systems Chapter 41 How Animation on the Web Works.
Chapter 3 Working with Symbols and Interactivity.
Chapter 13 Working with Components. Chapter 13 Lessons 1.Use Components in a Flash Movie 2.Use Components in a Form.
Lehigh University Introduction to Flash MX Sharmeen Mecklai.
Chapter 11 Adding Sound and Video. Chapter 11 Lessons 1.Work with sound 2.Specify synchronization options 3.Modify sounds 4.Use ActionScript with sound.
Publishing a Macromedia Flash Movie – Lesson 131 Publishing a Macromedia Flash Movie Lesson 13.
CT1514.  What is Motion Guide Layer?  Controls the movement of objects in a Motion tween animation  How to create a Motion Guide Layer?  Click on.
© 2011 Delmar, Cengage Learning Chapter 3 Working with Symbols and Interactivity.
© 2012 Adobe Systems Incorporated. All Rights Reserved. Copyright 2012 Adobe Systems Incorporated. All rights reserved. ® INTRODUCTION TO FLASH ANIMATION.
® Copyright 2008 Adobe Systems Incorporated. All rights reserved. ® ® 1 INTRODUCTION TO ADOBE FLASH CS3.
® Copyright 2010 Adobe Systems Incorporated. All rights reserved. ® ® 1 INTRODUCTION TO ADOBE FLASH PROFESSIONAL CS5.
Working with Symbols and Interactivity
08/10/ Iteration Loops For … To … Next. 208/10/2015 Learning Objectives Define a program loop. State when a loop will end. State when the For.
Getting a handle on ActionScript A basic primer for non-programmers.
AD 305 Electronic Visualization I : School of Art and Design : University of Illinois at Chicago : Spring 2007 Intro to Action Script 2 "The games of a.
XP Tutorial 4 Special Animations. XP New Perspectives on Macromedia Flash MX Special Layers for Animation Animation Using a Motion Guide Layer.
Tutorial 7 Planning and Creating a Flash Web Site.
Creating Buttons – Lesson 71 Creating Buttons Lesson 7.
Distributed Multimedia Programming Week - 1. Document Window  The Document Window is divided in to six main components Timeline – The Timeline is where.
Adobe Flash CS3 Revealed Chapter 3 - WORKING WITH SYMBOLS AND INTERACTIVITY.
2006 Adobe Systems Incorporated. All Rights Reserved. 1 INTRODUCTION TO ADOBE FLASH CS3.
Motion Tweening – Lesson 81 Motion Tweening Lesson 8.
Distributed Multimedia Programming Week – 4A Buttons Movie Clips.
Variables, Scope, Images, Sound IM ActionScript.
Building the Events Components– Lesson 111 Building the Events Components Lesson 11.
Macromedia Flash 8 Revealed WORKING WITH SYMBOLS AND INTERACTIVITY.
© 2011 Delmar, Cengage Learning Chapter 10 Using ActionScript to Enhance User Experience.
1 Actionscript for Flash by Dr SC Li. 2 Understanding more about instances Symbolsgraphics buttons Movie clips Instances (without names) No interaction.
XP Tutorial 7 Creating a Flash Web Site. XP New Perspectives on Macromedia Flash 82 Objectives Plan and create a Flash Web site Create a Flash template.
Tutorial 3 Creating Animations. XP Objectives Learn the different elements of animation Create frames and layers Organize frames and layers using the.
Computer Game Design ActionScript is… Object-oriented programming Everything you do in ActionScript does something to some object* Some objects.
Macromedia Flash MX Design Professional Macromedia Flash MX GETTING STARTED WITH.
Tutorial 7 Creating Animations. XP Objectives Learn about animation Create a timeline Add AP divs and graphics to a timeline Move and resize animation.
Video in Macromedia Flash (Optional) – Lesson 121 Video in Macromedia Flash (Optional) Lesson 12.
Open a new Flash File Action Script 2.0. Create a button like you did last lesson and name it Click to Play.
© 2011 Delmar, Cengage Learning Chapter 11 Adding Sound and Video.
Debugging tools in Flash CIS 126. Debugging Flash provides several tools for testing ActionScript in your SWF files. –The Debugger, lets you find errors.
XP Tutorial 3 Creating Animations. XP New Perspectives on Macromedia Flash MX Elements of Animation Layers are used to organize the content of.
Copyright © 2003 Pearson Education, Inc. Chapter 4 – Slide 1 by Michael Kay The Web Wizard’s Guide to Flash.
NumericStepper Component You can use the numeric stepper anywhere you want a user to select a numeric value. You can use the numeric stepper anywhere you.
Integrating Components and Dynamic Text Boxes with the Animated Map– Lesson 101 Integrating Components and Dynamic Text Boxes with the Animated Map Lesson.
Macromedia Flash MX Design Professional And Interactivity WORKING WITH SYMBOLS.
 Movieclip symbols are reusable pieces of flash animation  consisting usually of one or more graphic/button symbols  thus they are flash movies within.
To play, start slide show and click on circle Lesson 3 Lesson 3 Lesson 3 Lesson 4 Lesson Lesson 4.
var variableName:datatype;
Creating a Flash Web Site
Using Video, and Flash Components, and Printing Flash Content
CT1514 Flash-2.
INTRODUCTION TO ADOBE FLASH CS4
INTRODUCTION TO FLASH ANIMATION
Flash Demonstration – Unit 5 – ActionScript 3.0
Presentation transcript:

NumericStepper Component You can use the numeric stepper anywhere you want a user to select a numeric value. You can use the numeric stepper anywhere you want a user to select a numeric value. NumericStepper parameters: NumericStepper parameters: 1. Maximum: sets the maximum value that can be displayed in the stepper. The default value is Minimum: sets the minimum value that can be displayed in the stepper. The default value is 0.

NumericStepper Component 3. stepSize: sets the unit by which the stepper increases or decreases with each click. The default value is 1 4. Value: sets or gets the value displayed in the text area of the stepper. The default value is zero.

NumericStepper example Ex) this example shows how to use numeric stepper component to change the speed of moving movie clip symbol. Ex) this example shows how to use numeric stepper component to change the speed of moving movie clip symbol. 1. Create a new flash file 2. Create new movie clip symbol and give it (m) as instance name 3. Add a NumericStepper component from the component panel and name it (stepper) 4. Give it the range (-10 to 10) 5. Write the following action script in the action panel of the first frame:

NumericStepper example onEnterFrame = function() { m._x = m._x + 10; } You will notice that the symbol will move in a constant speed You will notice that the symbol will move in a constant speed Try to change the value of the stepper, you will notice that nothing will happen. Try to change the value of the stepper, you will notice that nothing will happen.

NumericStepper example 5. Now, write stepper.value instead of (10) You will notice that the speed of the symbol will change when the stepper value is updated

Loader Component You can use a loader whenever you need to retrieve content from a remote location and pull it into a flash application. You can use a loader whenever you need to retrieve content from a remote location and pull it into a flash application.

Loader Parameters autoload indicates whether the content should load automatically ( true ), or wait to load until the Loader.load() method is called ( false ). The default value is true. autoload indicates whether the content should load automatically ( true ), or wait to load until the Loader.load() method is called ( false ). The default value is true. contentPath: the path of the file to load into the loader. contentPath: the path of the file to load into the loader. scaleContent: indicates whether the content scales to fit the loader (true), or the loader scales to fit the contents (false). The default value is true. scaleContent: indicates whether the content scales to fit the loader (true), or the loader scales to fit the contents (false). The default value is true.

Loader Example Ex) This examples shows how to select an image name from a list and display it in a Loader. Ex) This examples shows how to select an image name from a list and display it in a Loader. 1. Create a new flash file 2. Add a list component into stage and give it (lst) as instance name. 3. Add a button component and give it (btn) as instance name 4. Add a Loader component and give it (lod) as instance name

Loader Example 5. Bring 4 images and put them beside the flash file (in the same folder). 6. Add the file names (without extensions) to the label parameter of the list. 7. Add the file names (with extensions) to the data parameter of the list. 8. In the action panel of the first frame add the following statement lst.selectedIndex=0; then test the movie and notice that the first item of the list is selected.

Loader Example 9. Add the following statement in the action panel of the first frame and notice the loaded image after playing the movie. lod.contentPath = lst.selectedItem.data 10. In the action panel of the first frame, add the following statements btn.onPress = function() { lod.contentPath = lst.selectedItem.data; }