Topic 7 Temporal Control. 2Chapter 25 - Temporal ControlOutline Goals and Objectives Goals and Objectives Introduction Introduction Timeline Animation.

Slides:



Advertisements
Similar presentations
17 HTML, Scripting, and Interactivity Section 17.1 Add an audio file using HTML Create a form using HTML Add text boxes using HTML Add radio buttons and.
Advertisements

JavaScript is a client-side scripting language. Programs run in the web browser on the client's computer. (PHP, in contrast, is a server-side scripting.
Understand the Macromedia Flash environment Open a document and play a movie Create and save a movie Work with layers and the timeline Plan a Web site.
The Web Warrior Guide to Web Design Technologies
Chapter 16 Dynamic HTML and Animation The Web Warrior Guide to Web Design Technologies.
Create slices and hotspots Create links in Web pages Create rollovers from slices Create basic animation Add tweening symbol instances to create animation.
Javascript Document Object Model. How to use JavaScript  JavaScript can be embedded into your html pages in a couple of ways  in elements in both and.
 2004 Prentice Hall, Inc. All rights reserved. 1 Chapter 31 - Dynamic HTML: Path, Sequencer and Sprite ActiveX Controls Outline 31.1Introduction 31.2DirectAnimation.
Macromedia Flash MX 2004 – Design Professional Macromedia Flash MX GETTING STARTED WITH.
Macromedia Dreamweaver 4 Advanced Level Course. Add Rollovers Rollovers or mouseovers are possibly the most popular effects used in designing Web pages.
JavaScript, Third Edition
Chapter 9 Introduction to the Document Object Model (DOM) JavaScript, Third Edition.
Chapter 7: Dynamic HTML and Animation JavaScript - Introductory.
1 Flash and Animation Presented by : Behzad Sajed Khosrowshahi.
Computer-Based Animation. ● To animate something – to bring it to life ● Animation covers all changes that have visual effects – Positon (motion dynamic)
Chapter 8 – Part I Interactive Multimedia Authoring with Flash: Animation “Computers and Creativity” Richard D. Webster, COSC 109 Instructor Office: 7800.
CSC 8610 & 5930 Multimedia Technology Lecture 7 Animation Techniques.
By :Juanita R. Martinez.  Competency 002: B Demonstrates knowledge of basic concepts related to computer animation.
1 © Netskills Quality Internet Training, University of Newcastle Flash 8: Animation Techniques © Netskills, Quality Internet Training, University of Newcastle.
ITIS 1210 Introduction to Web-Based Information Systems Chapter 41 How Animation on the Web Works.
Chapter 4 Dreamweaver: Part II The Web Warrior Guide to Web Design Technologies.
Chapter 11-Multimedia Authoring Tools. Overview Introduction to multimedia authoring tools. Types of authoring tools. Cross-platform authoring notes.
© Cheltenham Computer Training 2001 Macromedia Dreamweaver 4 - Slide No 1 Macromedia Dreamweaver 4 Advanced Level Course.
Web Design Vocab 9 Palette, QuickTime, Tweening, Typography, XHTML.
Ku-Yaw Chang Assistant Professor, Department of Computer Science and Information Engineering Da-Yeh University.
Java Programming, 3e Concepts and Techniques Chapter 3 Section 65 – Manipulating Data Using Methods – Java Applet.
Writing various AJAX forms in Drupal 7 1. Overview of Form API 2. Ctools 2.1 Ctools features 3. Ajax 3.1 Ajax Forms in Drupal 4. Putting it all together.
Dm 11 – Intro. To Flash Macromedia Flash MX GETTING STARTED WITH.
Macromedia Flash By Alice Tian. Overview  What is Flash  Why Flash  Basic User Interfaces  Animation Basics  Advanced Basics  Publishing.
Flash Macromedia Flash Introduction. Bitmap vs. Vector based  Bitmap –Bitmaps are made up of single pixels  Vector based –Vector graphics are made up.
FLASH LESSON 1: INTRODUCTION BASIC MOTION TWEEN
SEG3210 DHTML Tutorial. DHTML DHTML is a combination of technologies used to create dynamic and interactive Web sites. –HTML - For creating text and image.
JavaScript: Functions © by Pearson Education, Inc. All Rights Reserved.
CHAPTER 4 LINKS Creating links between pages Linking to other sites links.
Who Wants to be a Millionaire? Web Page Development Flash Chapter 1.
Section 17.1 Add an audio file using HTML Create a form using HTML Add text boxes using HTML Add radio buttons and check boxes using HTML Add a pull-down.
Chapter 10 Fireworks: Part II The Web Warrior Guide to Web Design Technologies.
© 2011 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. Hands-on Introduction to After Effects Chris Jackson Author, Designer, Professor.
JavaScript, Fourth Edition
Adobe Flash CS3 Revealed Chapter 1 - GETTING STARTED WITH FLASH.
Flash Adobe Flash Introduction Kyungeun Park. Bitmap vs. Vector based  Bitmap –Bitmaps are made up of single pixels  Vector based –Vector graphics are.
Adobe Flash CS5 Introduction. What is Flash? Flash is a multimedia platform used to add animation, video, and interactivity to Web sites. It is often.
 2001 Deitel & Associates, Inc. All rights reserved. 1 Chapter 20 – Dynamic HTML: Object Model and Collections Outline 20.1Introduction 20.2Object Referencing.
Chapter 5: Windows and Frames
Introduction to Flash Animation CS 318. Topics Introduction to Flash and animation The Flash development environment Creating Flash animations  Layers.
DOM Animation Changing the DOM objects over time.
Ch. 8 Web Page Design – Animation and Behaviors Mr. Ursone.
Copyright © 2003 Pearson Education, Inc. Chapter 6 – Slide 1 by Michael Kay The Web Wizard’s Guide to Flash.
Animation Liveliness Simulation of motions A video made from a series of drawings/images simulating motions by means of slight progressive changes.
Blender Animation Basics I. Animation Basics  Selecting a preset format will set your frame rate correctly.
Bringing Animation to Your Websites introducing ADOBE FLASH.
JavaScript, Fourth Edition Chapter 4 Manipulating the Browser Object Model.
Introduction to Interactive Media Interactive Media Tools: Authoring Applications.
WDMD 170 – UW Stevens Point 1 WDMD 170 Internet Languages eLesson: Working with Windows (No audio component) © Dr. David C. Gibbs
Syed ardi syed yahya kamal 2011 chapter five.  Creating in-between positions is still a hallmark of animation.  Using techniques called interpolation.
ASP.NET User Controls. User Controls In addition to using Web server controls in your ASP.NET Web pages, you can create your own custom, reusable controls.
JavaScript Overview Developer Essentials How to Code Language Constructs The DOM concept- API, (use W3C model) Objects –properties Methods Events Applications;
Tutorial 7 Creating Animations. XP Objectives Learn about animation Create a timeline Add AP divs and graphics to a timeline Move and resize animation.
Creating Animations, Working with Graphics, and Accessing Data Lesson 9.
Web Tools Assignment This assignment requires you to build a simple HTML page with an HTML editor of your choice and use an image or drawing tool to create.
INTRODUCTION JavaScript can make websites more interactive, interesting, and user-friendly.
JavaScript 101 Introduction to Programming. Topics What is programming? The common elements found in most programming languages Introduction to JavaScript.
Document Object Model Nasrullah. DOM When a page is loaded,browser creates a Document Object Model of the Page.
CSC 121 Computers and Scientific Thinking Fall Event-Driven Programming.
Macromedia Flash Design Professional Macromedia Flash GETTING STARTED WITH.
Dreamweaver MX. 2 Timeline Overview (p. 480) n Animations can be achieved with DHTML (__________ HTML) using JavaScript code and _____ or later browsers.
Using DHTML to Enhance Web Pages
Chapter Lessons Understand the Macromedia Flash workspace
Section 17.1 Section 17.2 Add an audio file using HTML
Web Systems Development (CSC-215)
Presentation transcript:

Topic 7 Temporal Control

2Chapter 25 - Temporal ControlOutline Goals and Objectives Goals and Objectives Introduction Introduction Timeline Animation Timeline Animation Timeline Control Timeline Control Animation Techniques Animation Techniques Animation Tips Animation Tips Summary Summary

3Chapter 25 - Temporal Control Goals and Objectives Goals Goals Understand JavaScript time control, how to time out user input, how to create timeline animation, how to use layers to create animation, and how to put animation to good use Objectives Objectives Need for timeline control Need for timeline control JavaScript timeline functions JavaScript timeline functions Timeline events Timeline events Timeline event handling objects Timeline event handling objects Timeline animation techniques: source files and hidden layers Timeline animation techniques: source files and hidden layers Animation tips Animation tips HTML editors and animation HTML editors and animation Practice using animation techniques and functions Practice using animation techniques and functions

4Chapter 25 - Temporal ControlIntroduction A web page displays a sequence of elements over time creating a timeline A web page displays a sequence of elements over time creating a timeline Elements of a timeline are: Elements of a timeline are: Objects  e.g. images that make up an animation Objects  e.g. images that make up an animation Events  e.g. user inputs, program outputs Events  e.g. user inputs, program outputs Two groups of applications include: Two groups of applications include: User interaction with a JavaScript program User interaction with a JavaScript program Animation Animation

5Chapter 25 - Temporal Control Timeline Animation Animation displayed as an ordered sequence of images is known as real time playback animation Animation displayed as an ordered sequence of images is known as real time playback animation Each image of animation is an animation frame Each image of animation is an animation frame A JavaScript program can display the images, saved as files, in the correct order to create the effect of timeline A JavaScript program can display the images, saved as files, in the correct order to create the effect of timeline Generating frames is a time consuming process so we may use the concepts of: Generating frames is a time consuming process so we may use the concepts of: Keyframe  important frames in the animation sequence Keyframe  important frames in the animation sequence Inbetweening  interpolation to generate inbetween frames Inbetweening  interpolation to generate inbetween frames We can control it by specifying the number of frames and the frame rate We can control it by specifying the number of frames and the frame rate

6Chapter 25 - Temporal Control Timeline Control The two key issues in timeline control are: The two key issues in timeline control are: Frame generation  creating and saving images Frame generation  creating and saving images Frame rate  number of frames per second Frame rate  number of frames per second JavaScript provides four functions (methods) to control the frame rate setInterval() clearInterval() setTimeout() clearTimeout() JavaScript provides four functions (methods) to control the frame rate setInterval() clearInterval() setTimeout() clearTimeout()

7Chapter 25 - Temporal Control Timeline Control timeUser_1 timeUser_2 Use setInterval() and clearInterval() methods

8Chapter 25 - Temporal Control Animation Techniques Two animation techniques exist: Two animation techniques exist: Using layers Using layers Using image files Using image files One can change layer properties in a series of frames over time One can change layer properties in a series of frames over time When using image files, we can load image files one at a time during the animation timeline When using image files, we can load image files one at a time during the animation timeline Image files is slower than layers Image files is slower than layers

9Chapter 25 - Temporal Control Animation Techniques animation1 Use layers for animation

10Chapter 25 - Temporal Control Animation Techniques animation2 Use image files for animation

11Chapter 25 - Temporal Control Animation Tips The general advice is to keep number and sizes of files small The general advice is to keep number and sizes of files small Specific tips: Specific tips: Use layers instead of changing the source files of the images Use layers instead of changing the source files of the images Use more frames if animation looks choppy Use more frames if animation looks choppy Avoid animation large image files Avoid animation large image files Create simple animations Create simple animations

12Chapter 25 - Temporal Control PopUps popUps popUps popUps

13Chapter 25 - Temporal ControlSummary Time can be an important element in web applications Time can be an important element in web applications Animation as we know it is real time playback animation Animation as we know it is real time playback animation Frame generation and frame rate are two important issues in timeline control Frame generation and frame rate are two important issues in timeline control Animation can be created using layers or image files Animation can be created using layers or image files Follow the animation tips for creating better and faster animations Follow the animation tips for creating better and faster animations