Unit Lessons Work with actions

Slides:



Advertisements
Similar presentations
1What is the Stage. 2How do you open a panel in Flash
Advertisements

© 2010 Delmar, Cengage Learning Chapter 9: Using ActionScript.
 2004 Prentice Hall, Inc. All rights reserved. Chapter 18 – Macromedia Flash MX 2004: Building an Interactive Game Outline 18.1 Introduction 18.2 Object-Oriented.
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.
1 Flash Actionscript Adding Interactive Actions Variables.
B.Sc. Multimedia ComputingMultimedia Authoring Introduction to ActionScript.
Macromedia Flash 5 Advanced Level Course. Using Actions Toolbox ListActions List Parameters area Add/Delete a StatementMove Action Up/Down Expand/Collapse.
Utah State Topics Drag and Drop Using if/else and nesting if/else blocks Dynamic Text Fields.
Introduction to Macromedia Flash 8
Flash Quizzes Quiz templates generate quizzes that use Flash Interaction Components.
1 Flash Actionscript Adding Interactive Actions. 2 ActionScript 3.0 ActionScript is the language you use to add interactivity to Flash applications, whether.
1 Flash Programming Introduction Script Assist. 2 Course Description This course concentrates on the teaching of Actionscript, the programming language.
© 2011 Delmar, Cengage Learning Chapter 8 Building Complex Animations.
Chapter 9 Introduction to ActionScript 3.0. Chapter 9 Lessons 1.Understand ActionScript Work with instances of movie clip symbols 3.Use code snippets.
Chapter 3 Working with Symbols and Interactivity.
Chapter 15 Video. Importing Video Into Flash Once you import video into Flash MX 2004, you can control it using behaviors and very basic ActionScript,
XP Tutorial 5 Buttons, Behaviors, and Sounds. XP New Perspectives on Macromedia Flash MX Buttons Interactive means that the user has some level.
Lehigh University Introduction to Flash MX Sharmeen Mecklai.
Tutorial 5 Making a Document Interactive. XP Objectives Explore the different button states Add a button from the Button library Create a button Learn.
Tutorial 5 Making a Document Interactive. XP Objectives Explore the different button states Add a button from the Buttons library Edit a button instance.
Tutorial 2 Drawing Text, Adding Shapes, and Creating Symbols.
© 2011 Delmar, Cengage Learning Chapter 9 Introduction to ActionScript 3.0.
Publishing a Macromedia Flash Movie – Lesson 131 Publishing a Macromedia Flash Movie Lesson 13.
© 2011 Delmar, Cengage Learning Chapter 3 Working with Symbols and Interactivity.
© 2008 The McGraw-Hill Companies, Inc. All rights reserved. ACCESS 2007 M I C R O S O F T ® THE PROFESSIONAL APPROACH S E R I E S Lesson 6 – Designing.
© 2010 Delmar, Cengage Learning Chapter 3: Working with Symbols and Interactivity.
Tutorial 8 Programming with ActionScript 3.0. XP Objectives Review the basics of ActionScript programming Compare ActionScript 2.0 and ActionScript 3.0.
Getting a handle on ActionScript A basic primer for non-programmers.
Chapter 8 Collecting Data with Forms. Chapter 8 Lessons Introduction 1.Plan and create a form 2.Edit and format a form 3.Work with form objects 4.Test.
XP Tutorial 4 Special Animations. XP New Perspectives on Macromedia Flash MX Special Layers for Animation Animation Using a Motion Guide Layer.
7-1 OBJ Copyright 2003, Paradigm Publishing Inc. Using ActionScript and Creating Templates Macromedia Flash Design & Application.
Creating Buttons – Lesson 71 Creating Buttons Lesson 7.
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.
Flash CS 5 Interface BY NSCHEWCZYK | ©2012. MENU BAR A bar at the top of the window. It lists menu options including: File, Edit, View, Insert, Modify,
Distributed Multimedia Programming Week – 4A Buttons Movie Clips.
XP Tutorial 8 Adding Interactivity with ActionScript.
Building the Events Components– Lesson 111 Building the Events Components Lesson 11.
Macromedia Flash 8 Revealed WORKING WITH SYMBOLS AND INTERACTIVITY.
XP Tutorial 2 Drawing, Adding Text, and Creating Symbols.
1 Actionscript for Flash by Dr SC Li. 2 Understanding more about instances Symbolsgraphics buttons Movie clips Instances (without names) No interaction.
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.
SCRIPT PROGRAMMING WITH FLASH Introductory Level 1.
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.
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.
XP Tutorial 8 Adding Interactivity with ActionScript.
Integrating Components and Dynamic Text Boxes with the Animated Map– Lesson 101 Integrating Components and Dynamic Text Boxes with the Animated Map Lesson.
CIS 205—Web Design & Development Flash Chapter 3 Working with Symbols and Interactivity.
Macromedia Flash MX Design Professional And Interactivity WORKING WITH SYMBOLS.
CDM105 Session 12 Macromedia FLASH MX 2004 Part 5 : Sounds, publishing your movies, and the ‘Get URL’ action.
 Movieclip symbols are reusable pieces of flash animation  consisting usually of one or more graphic/button symbols  thus they are flash movies within.
 Motion Tween allow us to move a shape on the stage from one place to another.  In order to use motion tween, the shape to be moved must be converted.
Tutorial 3 Creating Animations.
Topic 02: Introduction to ActionScript 3.0
var variableName:datatype;
Project Objectives Encode Flash Video (FLV) files for the Web
Adding Buttons, Actions, and Sounds
Chapter A - Getting Started with Dreamweaver MX 2004
INTRODUCTION TO ADOBE FLASH CS4
Interface Programming 2 Week 1
Chapter Lessons Create shape-tweened animations Create a mask effect
T. Jumana Abu Shmais – AOU - Riyadh
Working with Symbols and Interactivity
Flash Demonstration – Unit 5 – ActionScript 3.0
Presentation transcript:

Unit Lessons Work with actions OVERVIEW Unit Lessons Work with actions Work with targets and movie clip symbols Create interactive movie clip symbols Define variables Using Basic ActionScript

Using Basic ActionScript INTRODUCTION Using Basic ActionScript Use ActionScript: To create interactive movies To add actions to a frame, button, or movie clip symbol Using Basic ActionScript

LESSON 1 Work with Actions Use ActionScript and frame labels to create navigation to specific frames on the timeline Work in expert mode in the Actions panel Using Basic ActionScript

Referencing the Timeline in Actions LESSON 1 Referencing the Timeline in Actions Use a frame number or frame label to reference the timeline in actions A frame label is a text name for a keyframe Add a label to a frame using the Frame Property inspector Using Basic ActionScript

A Frame Label A small red flag appears in labeled frames LESSON 1 Using Basic ActionScript

Creating A Frame Label Specify name of the frame label LESSON 1 Using Basic ActionScript

Actions Panel in Expert Mode LESSON 1 Actions Panel in Expert Mode Using Basic ActionScript

Adding an Action in Expert Mode LESSON 1 Adding an Action in Expert Mode Using Basic ActionScript

Using the Actions Panel in Expert Mode LESSON 1 Using the Actions Panel in Expert Mode Display the Actions panel in expert mode: To write ActionScript directly in the Script pane To select action names from the Actions toolbox To copy and paste actions in the Script pane Using Basic ActionScript

How it can be used: Use ActionScript to control movie clip timelines LESSON 2 How it can be used: Use ActionScript to control movie clip timelines Use ActionScript to control the timeline of a nested movie clip symbol Copy ActionScript between objects in expert mode Using Basic ActionScript

LESSON 2 How it can be used: Creating actions that run a specific frame within the movie clip symbol’s timeline Making a movie clip draggable Using Basic ActionScript

Naming a Movie Clip Symbol Instance LESSON 2 Naming a Movie Clip Symbol Instance Type the name in this field Using Basic ActionScript

Referencing Movie Clip Symbols as ActionScript Targets LESSON 2 Referencing Movie Clip Symbols as ActionScript Targets To control movie clip symbols and their timelines with ActionScript, target the movie clips: Using Basic ActionScript

ActionScript Statement Using Dot Syntax LESSON 2 ActionScript Statement Using Dot Syntax Dot syntax statement referring to a nested movie clip symbol Using Basic ActionScript

Understanding Interactive Movie Clips LESSON 3 Understanding Interactive Movie Clips With the startDrag and stopDrag actions, a movie clip can be draggable while a movie is playing Using Basic ActionScript

Draggable Movie Clips in a Macromedia Flash Game LESSON 3 Draggable Movie Clips in a Macromedia Flash Game Each checker is a movie clip symbol, which you can drag to a square Using Basic ActionScript

ActionScript to Make the Movie Clip Draggable LESSON 3 ActionScript to Make the Movie Clip Draggable Using Basic ActionScript

Creating Conditional Statements LESSON 3 Creating Conditional Statements When creating conditions in ActionScript : Use two equals signs (==) to check if the variable meets the condition. Enclose all the actions to be carried out in braces following the if action Using Basic ActionScript

Example of a Conditional ActionScript Statement LESSON 3 Example of a Conditional ActionScript Statement Using Basic ActionScript

Define Variables Create an input text box Create a dynamic text box LESSON 4 Define Variables Create an input text box Create a dynamic text box Use ActionScript to collect and modify string variables Use ActionScript to collect and perform mathematical operations on numeric variables Using Basic ActionScript

Understanding Variables LESSON 4 Understanding Variables A variable is a container that holds information To create a string variable, place quotations marks around the string Using Basic ActionScript

Using Text Fields to Collect User Information LESSON 4 Using Text Fields to Collect User Information An input text field takes information entered by a user and stores it as a variable A dynamic text field displays information derived from variables Using Basic ActionScript

Understanding Expressions LESSON 4 Understanding Expressions Expressions are formulas for manipulating or evaluating the information in variables Logical expressions perform true/false comparisons on numbers and string Using Basic ActionScript

Drawing the Text Box for the Input Text Field LESSON 4 Drawing the Text Box for the Input Text Field Input text field Using Basic ActionScript

Using the Property Inspector to Create an Input Text Field LESSON 4 Using the Property Inspector to Create an Input Text Field Type the variable name Using Basic ActionScript

Creating the Dynamic Text Field LESSON 4 Creating the Dynamic Text Field Tape a variable name Using Basic ActionScript