An Overview of ActionScript The Powerful Scripting Language of Macromedia Flash.

Slides:



Advertisements
Similar presentations
Web 2.0 Programming 1 © Tongji University, Computer Science and Technology. Web Web Programming Technology 2012.
Advertisements

The Web Wizards Guide To JavaScript Chapter 1 JavaScript Basics.
JavaScript I. JavaScript is an object oriented programming language used to add interactivity to web pages. Different from Java, even though bears some.
Introducing JavaScript
JavaScript FaaDoOEngineers.com FaaDoOEngineers.com.
1 CSC 551: Web Programming Spring 2004 client-side programming with JavaScript  scripts vs. programs  JavaScript vs. JScript vs. VBScript  common tasks.
Presented By, Sripad Sarode
MC697 Object-Oriented Programming Using Java. In this class, we will cover: How the class will be structured Difference between object-oriented programming.
WebFOCUS Active Technologies: Continuing Innovation
Introducing ActionScript 3.0 Object-oriented programming language Used to power Flash Player Similar to JavaScript Can be embedded in a Flash project.
Working with JavaScript. 2 Objectives Introducing JavaScript Inserting JavaScript into a Web Page File Writing Output to the Web Page Working with Variables.
Javascript Client-side scripting. Up to now  We've seen a little about how to control  content with HTML  presentation with CSS  Javascript is a language.
Kevin Reuter & Brian Guthrie.  Multi-paradigm  Prototype based objects  Dynamic, weak typing.
XP 1 Working with JavaScript Creating a Programmable Web Page for North Pole Novelties Tutorial 10.
Web Page Behavior IS 373—Web Standards Todd Will.
CS-341 Dick Steflik Introduction. C++ General purpose programming language A superset of C (except for minor details) provides new flexible ways for defining.
SCRIPTING LANGUAGE. The first interactive shells were developed in the 1960s to enable remote operation of the first time-sharing systems, and these,
ITIS 1210 Introduction to Web-Based Information Systems Chapter 41 How Animation on the Web Works.
Sys Prog & Scripting - HW Univ1 Systems Programming & Scripting Lecture 15: PHP Introduction.
C++ Programming. Table of Contents History What is C++? Development of C++ Standardized C++ What are the features of C++? What is Object Orientation?
Dynamic Web Pages (Flash, JavaScript)
Introduction to JavaScript Kirkwood Continuing Education © Copyright 2014, Fred McClurg All Rights Reserved.
1 JavaScript E-Commerce Prof. Sheizaf Rafaeli
1 SEG3120 Analysis and Design for User Interfaces Flash Anis Zarrad Parallel Simulations and Distributed Systems (PARADISE) Research Laboratory SITE, University.
© 2011 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. Building an Extension for Flash Professional Justin Putney | Co-founder, Ajar.
Macromedia Flash By Alice Tian. Overview  What is Flash  Why Flash  Basic User Interfaces  Animation Basics  Advanced Basics  Publishing.
Client Scripting1 Internet Systems Design. Client Scripting2 n “A scripting language is a programming language that is used to manipulate, customize,
Javascript. Outline Introduction Fundamental of JavaScript Javascript events management DOM and Dynamic HTML (DHTML)
Chapter 13-Tools for the World Wide Web. Overview Web servers. Web browsers. Web page makers and site builders. Plug-ins and delivery vehicles. Beyond.
Flash & JavaScript Mariela Hristova October 19, 2004 INF 385E – Fall 2004 – School of Information.
Flex 2.0 Flex for ColdFusion developers Part 1. What is Flex Flex allows developers to create Flash content for Rich Internet Applications in a more programmer.
Web Programming : Building Internet Applications Chris Bates CSE :
Dr. Rado Kotorov Technical Director Strategic Product Mgt. Jeff Shein Technical Manager Creating Web 2.0 Rich Internet Applications (RIA) and Dashboards.
XP Tutorial 10New Perspectives on Creating Web Pages with HTML, XHTML, and XML 1 Working with JavaScript Creating a Programmable Web Page for North Pole.
TUTORIAL 10: PROGRAMMING WITH JAVASCRIPT Session 2: What is JavaScript?
Java ProgrammingtMyn1 Java Programming Timo Mynttinen Mikkeli University of Applied Sciences.
Tutorial 8 Programming with ActionScript 3.0. XP Objectives Review the basics of ActionScript programming Compare ActionScript 2.0 and ActionScript 3.0.
Tutorial 1 Introducing Adobe Flash CS3 Professional
CS 3131 Introduction to Programming in Java Rich Maclin Computer Science Department.
Copyright © 2003 Pearson Education, Inc. Slide 1-1 Created by Jim Lengel, College of Communication, Boston University Web Wizard’s Guide to Shockwave.
Client-side processing in JavaScript.... JavaScript history Motivations –lack of “dynamic content” on web pages animations etc user-customised displays.
Javascript. What is JavaScript? Scripting (interpreted) language designed for the web Beware: JavaScript is case sensitive.
XP Tutorial 10New Perspectives on HTML and XHTML, Comprehensive 1 Working with JavaScript Creating a Programmable Web Page for North Pole Novelties Tutorial.
XP Tutorial 8 Adding Interactivity with ActionScript.
Dynamic Web Pages Jin Wu INF 385E Information Architecture School of Information 11/2/2006 Jin Wu INF 385E Information Architecture School of Information.
Client-side & Server-side Scripting ©Richard L. Goldman August 5, 2003 Requires PowerPoint 2002 or later for full functionality.
Reading Flash. Training target: Read the following reading materials and use the reading skills mentioned in the passages above. You may also choose some.
1 A Basic Introduction to Flash. Outline What is a flash? Macromedia Flash MX 2004 Flash concepts Flash Demos Conclusion Additional help 2.
PHP vs. Python. Similarities are interpreted, high level languages with dynamic typing are Open Source are supported by large developer communities are.
Introduction to JavaScript Fort Collins, CO Copyright © XTR Systems, LLC Introduction to JavaScript Programming Instructor: Joseph DiVerdi, Ph.D., MBA.
1) PHP – Personal Home Page Scripting Language 2) JavaScript.
1 JavaScript 2.0: Evolving a Language for Evolving Systems Waldemar Horwat Netscape.
Rich Internet Applications 2. Core JavaScript. The importance of JavaScript Many choices open to the developer for server-side Can choose server technology.
XP Tutorial 8 Adding Interactivity with ActionScript.
JavaScript Katie Fowle November 15, History Brendan Eich at Netscape, 1995 Need for interactivity in web pages Mocha, LiveWire, LiveScript, then.
Javascript ECMA Script. Scripting Languages Executed by an interpreter A program that reads & runs commands;advanced enough to be a lang Parsed when.
XP Tutorial 10New Perspectives on HTML, XHTML, and DHTML, Comprehensive 1 Working with JavaScript Creating a Programmable Web Page for North Pole Novelties.
TTCN-3 Testing and Test Control Notation Version 3.
The Web Wizard’s Guide To DHTML and CSS Chapter 2 A Review of CSS2 and JavaScript.
Javascript Prof. Wenwen Li School of Geographical Sciences and Urban Planning 5644 Coor Hall
Kapi’olani Community College Art 258 Interface Programming II In-class Presentation Week 1A.
ActionScript Programming Help
JavaScripts.
Background Information
Chapter Lessons Understand the Macromedia Flash workspace
Interactive multimedia programming for learning --Andy
Dynamic Web Pages (Flash, JavaScript)
Dynamic Web Pages Jin Wu INF 385E Information Architecture
Tutorial 10: Programming with javascript
Introduction To JavaScript
Presentation transcript:

An Overview of ActionScript The Powerful Scripting Language of Macromedia Flash

History: Purpose Front End Development Character Animations Rich Application Development – Web Services Motion Graphics

History: Author Macromedia – Flash Engineering Team Approachable Creative Power Gary Grossman – Senior Engineering Manager, Macromedia Flash Team

History: Macromedia Flash Vector Animation Tool Mostly Web Deployed – Flash Player Enjoys a 98% of the World’s browsers support Evolved into a rich client delivery vehicle

Flash and ActionScript ActionScript is the Scripting language developed for Flash Most notably handles interactions and event-handling in flash Has access to full capabilities of Flash

Flash and ActionScript -Macromedia Flash Interface -- Concept of a timeline

Flash and ActionScript Actions Frame Good Program- ming practice

History: ECMA-262 Based on several originating technologies – JavaScript(Netscape) – Jscript(Microsoft) Invented by Brendan Eich at Netscape Started Development: November 1996 Approved as international standard: April 1998

History: ECMAScript Scripting Language Originally designed for the Web Object based – Cluster of Communicating Objects

History: ECMAScript Built-in types: – Undefined – Null – Boolean – Number – String – Object

History: ECMAScript Built-in objects: – Global – Function – Array – String – Boolean – Number – Date – Math

History: ECMAScript Built-in Operators – Unary – Multiplicative – Additive – Relational

ActionScript Flash MX runs ActionScript version 6 (MX) Differs slightly from the ECMA-262 standard

Differences from ECMAScript Exception Handling String to Boolean conversion Case sensitivity Function Constructor Date Object

Differences from JavaScript Object Model Undeclared Variables Invoking Undeclared Variables

Lexical Structure Whitespace Statement Terminators Comments Reserved Words Identifiers Case Sensitivity

Features: Strengths Cross-Platform Consistency High-level Abstraction Massive Developer base Massive Web use Object-Oriented – Inheritance Polymorphism

Features: Weaknesses Limitations – Flash Scripting language Proprietary Flash Player Exception Handling

Sample Implementations Kartoo Neostream Interactive

Flash Player Not open source Flash Player Specification License – May have been developed in several languages – Portable C++ source code version – Hint of java

SWF file format Open Source Designed with the following in mind: – On-screen Display – Extensibility – Network Delivery – Simplicity – File Independence – Scalability – Speed SWF file format –

Links ashremoting ashremoting

Resources ActionScript for Flash MX: The Definitive Guide – Colin Moock, O’Reilly Publications Macromedia Flash Support Site – ECMA Language Specifications – files/ecma-st/Ecma-262.pdf