Utah State Movie Clips, Dot Syntax, Dynamic Text.

Slides:



Advertisements
Similar presentations
© 2010 Delmar, Cengage Learning Chapter 9: Using ActionScript.
Advertisements

 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.
Introducing ActionScript 3.0 Object-oriented programming language Used to power Flash Player Similar to JavaScript Can be embedded in a Flash project.
Utah State Advanced Animation & Graphic Symbols. Utah State Topics Animation  Frame rate  Easement (review & demo)  Guide paths Symbols (focus on graphic)
FLASH Presenters: Tin Hoang Andrew Mcdonald Mehran Panahi Akhavan Matthew Tang.
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 Movie Clips Using actionScript to control “other” timelines  Instance names  _root., _parent. (object hierarchy and dot syntax)
Utah State Topics Drag and Drop Using if/else and nesting if/else blocks Dynamic Text Fields.
Utah State Topics Ink bottle Animation  Frame rate  Easement (review & demo)  Guide paths Symbols (focus on graphic)
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.
1 Flash and Animation Presented by : Behzad Sajed Khosrowshahi.
Creating Animation Pertemuan Matakuliah: L0182 / Web & Animation Design Tahun: 2008.
MovieClips & Properties Flash ActionScript Introduction to Thomas Lövgren
© 2011 Delmar, Cengage Learning Chapter 8 Building Complex Animations.
1 © Netskills Quality Internet Training, University of Newcastle Flash 8: Animation Techniques © Netskills, Quality Internet Training, University of Newcastle.
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.
Introduction to Flash FYS100 Creative Discovery in Digital Art Forms Spring 2007 Burg.
Flash II MIS439 Eva Tao March 19, 2007 Source:
Flash MX II. Flash MX – Tweened Animation There are two methods for creating an animation sequence in Flash –Frame-by-frame animation –Tweened animation.
1 SEG3120 Analysis and Design for User Interfaces Flash Anis Zarrad Parallel Simulations and Distributed Systems (PARADISE) Research Laboratory SITE, University.
© 2011 Delmar, Cengage Learning Chapter 9 Introduction to ActionScript 3.0.
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.
Working with Symbols and Interactivity
AD 305 Electronic Visualization I : School of Art and Design : University of Illinois at Chicago : Spring 2007 Intro to Action Script 3 "The games of a.
Supplementary Materials on Web Authoring. Insert Anchors & Add Hyperlinks Insert other multimedia elements: Flash animations Video clips & Audio clips.
Programming games Show your version of Bo the dog. Start cannonball Preview: video, audio work session (cannonball) Homework: Cannonball with ball in a.
XP Tutorial 4 Special Animations. XP New Perspectives on Macromedia Flash MX Special Layers for Animation Animation Using a Motion Guide Layer.
More Tips on Flash CSC361/661 Digital Media Spring 2007 Burg.
Agenda – Week 8, Day 2 Tuesday Intro to Flash Animation process Computer animation Lesson 1 – Overview Lesson 2 – Drawing Lesson 4 – Layers Lesson 8 –
2006 Adobe Systems Incorporated. All Rights Reserved. 1 INTRODUCTION TO ADOBE FLASH CS3.
Adobe Flash CS4 – Illustrated Unit D: Creating Animation.
ActionScript: Addressing Display Objects, Duplicating MovieClips, Attaching MovieClips Dynamically MMP 220 Multimedia Programming This material was prepared.
Agenda 1 - Sketchbook - DUE TODAY! 1 - Flash Environment and workspace continued - Nested or embedded Movie Clips (car animation) - - Bone tool.
Introduction to Flash. A Metaphor Definitions Stage is the rectangular area where you place graphic content, including vector art, text boxes, buttons,
Agenda Sketchbook DUE today - assignment dates listed on next page 1 - Flash Environment and workspace continued - Movie clip symbols - timeline.
Building the Events Components– Lesson 111 Building the Events Components Lesson 11.
Review 2 – Adobe Flash Lab Manual
AD 206 Intermediate CG : School of Art and Design : University of Illinois at Chicago : Spring 2009 Intro to Action Script 3 "The games of a people reveal.
Agenda Sketchbook DUE next Tues - assignment dates listed on next page 1 - Get out your sketchbook and note these terms: Symbols (reusable object):
© 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.
1 A Basic Introduction to Flash. Outline What is a flash? Macromedia Flash MX 2004 Flash concepts Flash Demos Conclusion Additional help 2.
SCRIPT PROGRAMMING WITH FLASH Introductory Level 1.
Appendix A Becoming an Adobe Certified Associate.
CIS 205—Web Design & Development Flash Chapter 3 Appendix on Using Buttons.
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.
Intro to ActionScript CIS 126 Greg Shorts. What Is ActionScript? ActionScript is the scripting language Flash uses to control its movies and the objects.
XP Tutorial 8 Adding Interactivity with ActionScript.
Flash 1. Document Properties Set frame rate and dimensions of project Set frame rate and dimensions of project (default width=550 and height=400)
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.
CDM105 Session 12 Macromedia FLASH MX 2004 Part 5 : Sounds, publishing your movies, and the ‘Get URL’ action.
Creating a movie clip.
Topic 02: Introduction to ActionScript 3.0
Flash Interface, Commands and Functions
Agenda Sketchbook > look at the links on website/calendar:
Unit Lessons Work with actions
Agenda 1 - Flash continued -
Agenda 1 - Practice Files > Must be checked off today
CT1514 Flash-2.
Animate Some more advanced concepts
Interface Programming 2 Week 1
Working with Symbols and Interactivity
Kapi’olani Community College
MovieCLip Instances & ActionScript
Flash Demonstration – Unit 5 – ActionScript 3.0
Presentation transcript:

Utah State Movie Clips, Dot Syntax, Dynamic Text

Utah State Topics Movie Clips Repetitive Animation Using actionScript to control “other” timelines  Instance names  root, parent (object hierarchy and dot syntax)  Variable Casting Dynamic Text Combining Motion

Utah State Movie clips Uber symbol Independent timelines Mini flash files Car example

Utah State Dynamic Text Can be modified at run-time. Update the.text property Has to have an instance name Example:  faceState.text = “I’m sad!”;

Utah State ActionScript and Movie Clips Instance names “Pathing” to instances (not symbols):  (root as variableType).instanceName.functionOrProperty (for absolute pathing) For example: (root as MovieClip).faceState.text = “sad”;  (parent as variableType ).instanceName.functionOrProperty (for relative pathing) For example: (parent as MovieClip).faceState.text = “sad”;  this.instanceName.functionOrProperty (this refers to current location in heirarchy) For example: faceFrame = this.faceClip.nextFrame(); this. is usually not necessary, already implied

Utah State Hierarchy example this.faceClip.nextFrame(); (parent as MovieClip).faceState.text = “Man, I’m sad”; betterB.addEventListener(…)

Utah State From sky to mushroom:  (parent as MovieClip).mushroom From mushroom to sky: (parent as MovieClip).sky Another Hierarchy example sky mushroom

Utah State Combining Motion Car Driving off screen (example) Ball revisited (example)