SlideShare a Scribd company logo
1 of 33
Download to read offline
AS2 vs AS3



                                                                                         Yash Mody
                                                                                         CTO | Tekno Point
                                                                                         yash@teknopoint.us

                                                                                                              ®




                                                                                     1
Copyright 2008 Adobe Systems Incorporated. All rights reserved. Adobe Con dential.
Overview




                                           ActionScript 3.0 Overview
                                           Top Misperceptions
                                           Top Bene ts
                                           Migration Examples


                                                                                         ®




                                                                                     2
Copyright 2008 Adobe Systems Incorporated. All rights reserved. Adobe Con dential.
Top 5 Misperceptions
            about ActionScript 3.0

                                                                                         ®




                                                                                     3
Copyright 2008 Adobe Systems Incorporated. All rights reserved. Adobe Con dential.
Misperception #1
           ActionScript 3.0 is difficult to learn




                                                                                         ®




                                                                                     4
Copyright 2008 Adobe Systems Incorporated. All rights reserved. Adobe Con dential.
Misperception #2
ActionScript 3.0 is only for Class based
     object-oriented programming



                                                                                         ®




                                                                                     5
Copyright 2008 Adobe Systems Incorporated. All rights reserved. Adobe Con dential.
Misperception #3
       Using ActionScript 3.0 reduces the
      Flash Player base that you can target



                                                                                         ®




                                                                                     6
Copyright 2008 Adobe Systems Incorporated. All rights reserved. Adobe Con dential.
Misperception #4
       You can’t write code on the timeline
              with ActionScript 3.0



                                                                                         ®




                                                                                     7
Copyright 2008 Adobe Systems Incorporated. All rights reserved. Adobe Con dential.
Misperception #5
 ActionScript 2.0 development is faster
  that ActionScript 3.0 development



                                                                                         ®




                                                                                     8
Copyright 2008 Adobe Systems Incorporated. All rights reserved. Adobe Con dential.
Top 5 Benefits of
           ActionScript 3.0
                                                                                         ®




                                                                                     9
Copyright 2008 Adobe Systems Incorporated. All rights reserved. Adobe Con dential.
Benefit #1
                                                                       Performance




                                                                                          ®




                                                                                     10
Copyright 2008 Adobe Systems Incorporated. All rights reserved. Adobe Con dential.
Benefit #2
          Ability to leverage new Flash Player
                  APIs and technologies



                                                                                          ®




                                                                                     11
Copyright 2008 Adobe Systems Incorporated. All rights reserved. Adobe Con dential.
Benefit #3
Leverage Community Libraries and APIs




                                                                                          ®




                                                                                     12
Copyright 2008 Adobe Systems Incorporated. All rights reserved. Adobe Con dential.
Benefit #4
                   Easier and faster to debug code




                                                                                          ®




                                                                                     13
Copyright 2008 Adobe Systems Incorporated. All rights reserved. Adobe Con dential.
Benefit #5
                      Future proofed, multi-platform
                              development



                                                                                          ®




                                                                                     14
Copyright 2008 Adobe Systems Incorporated. All rights reserved. Adobe Con dential.
ActionScript 3.0
                                        Gotchas
                   • Use of underscore
                   • Void / void
                   • Alpha value range
                   • Event Model
                   • Code and events on Symbols
                                                                                          ®




                                                                                     15
Copyright 2008 Adobe Systems Incorporated. All rights reserved. Adobe Con dential.
underscores


    ActionScript 2.0                                                                      ActionScript 3.0

                                                                                                             ®




                                                                                     16
Copyright 2008 Adobe Systems Incorporated. All rights reserved. Adobe Con dential.
void


    ActionScript 2.0                                                                       ActionScript 3.0

                                                                                                              ®




                                                                                      17
Copyright 2008 Adobe Systems Incorporated. All rights reserved. Adobe Con dential.
alpha

                                      0-100                                                   0.0-1.0


    ActionScript 2.0                                                                      ActionScript 3.0

                                                                                                             ®




                                                                                     18
Copyright 2008 Adobe Systems Incorporated. All rights reserved. Adobe Con dential.
Events




                                                                                          ®




                                                                                     19
Copyright 2008 Adobe Systems Incorporated. All rights reserved. Adobe Con dential.
no code on symbols

                                                                                          ®




                                                                                     20
Copyright 2008 Adobe Systems Incorporated. All rights reserved. Adobe Con dential.
Migration Examples

                                                                                          ®




                                                                                     21
Copyright 2008 Adobe Systems Incorporated. All rights reserved. Adobe Con dential.
Create a Variable
 Create a Function
 Create an if statement
                                                                                          ®




                                                                                     22
Copyright 2008 Adobe Systems Incorporated. All rights reserved. Adobe Con dential.
23
Loop Through an
   Array

                                                                                          ®




                                                                                     24
Copyright 2008 Adobe Systems Incorporated. All rights reserved. Adobe Con dential.
_root

                                                                                          ®




                                                                                     25
Copyright 2008 Adobe Systems Incorporated. All rights reserved. Adobe Con dential.
Handling Button Clicks


                                                                                          ®




                                                                                     26
Copyright 2008 Adobe Systems Incorporated. All rights reserved. Adobe Con dential.
Opening a URL

                                                                                          ®




                                                                                     27
Copyright 2008 Adobe Systems Incorporated. All rights reserved. Adobe Con dential.
Dynamically Attach a
           MovieClip

                                                                                          ®




                                                                                     28
Copyright 2008 Adobe Systems Incorporated. All rights reserved. Adobe Con dential.
Load an Image

                                                                                          ®




                                                                                     29
Copyright 2008 Adobe Systems Incorporated. All rights reserved. Adobe Con dential.
Play a Sound

                                                                                          ®




                                                                                     30
Copyright 2008 Adobe Systems Incorporated. All rights reserved. Adobe Con dential.
Load and Parse XML…
the E4X way
                                                                                          ®




                                                                                     31
Copyright 2008 Adobe Systems Incorporated. All rights reserved. Adobe Con dential.
 Some more stuff
   Runtime Exceptions - increase in conditions
   Sealed Classes - xed set of values - better
    maintainability
   Method closures - The
    mx.utils.Delegate not required
   Regular expressions - native
    support for better string manipulation



                         32
Get onto AS3 today


                                                                                          ®




                                                                                     33
Copyright 2008 Adobe Systems Incorporated. All rights reserved. Adobe Con dential.

More Related Content

What's hot

Back From MAX in London for CQ5 users
Back From MAX in London for CQ5 usersBack From MAX in London for CQ5 users
Back From MAX in London for CQ5 users
Michael Chaize
 
UX Concerns across Mobile Platforms
UX Concerns across Mobile PlatformsUX Concerns across Mobile Platforms
UX Concerns across Mobile Platforms
Joseph Labrecque
 
Flex 4.5 and mobile development
Flex 4.5 and mobile developmentFlex 4.5 and mobile development
Flex 4.5 and mobile development
Michael Chaize
 

What's hot (20)

Process in the Age of Digital Innovation
Process in the Age of Digital InnovationProcess in the Age of Digital Innovation
Process in the Age of Digital Innovation
 
Fatc - Productivity by Design
Fatc - Productivity by DesignFatc - Productivity by Design
Fatc - Productivity by Design
 
Adobe flash platform java
Adobe flash platform javaAdobe flash platform java
Adobe flash platform java
 
Flex mobile for JUG
Flex mobile for JUGFlex mobile for JUG
Flex mobile for JUG
 
Adobe Max 2008 Cross Channel Campaigns
Adobe Max 2008 Cross Channel CampaignsAdobe Max 2008 Cross Channel Campaigns
Adobe Max 2008 Cross Channel Campaigns
 
Jax2010 adobe lcds
Jax2010 adobe lcdsJax2010 adobe lcds
Jax2010 adobe lcds
 
Adobe flex at jax london 2011
Adobe flex at  jax london 2011Adobe flex at  jax london 2011
Adobe flex at jax london 2011
 
Over the air 2.5 - Adobe AIR for Android
Over the air 2.5 - Adobe AIR for AndroidOver the air 2.5 - Adobe AIR for Android
Over the air 2.5 - Adobe AIR for Android
 
Montpellier - Flex UG
Montpellier - Flex UGMontpellier - Flex UG
Montpellier - Flex UG
 
Back From MAX in London for CQ5 users
Back From MAX in London for CQ5 usersBack From MAX in London for CQ5 users
Back From MAX in London for CQ5 users
 
Flash camp portugal - Let's talk about Flex baby
Flash camp portugal - Let's talk about Flex babyFlash camp portugal - Let's talk about Flex baby
Flash camp portugal - Let's talk about Flex baby
 
Quality Best Practices & Toolkit for Enterprise Flex
Quality Best Practices & Toolkit for Enterprise FlexQuality Best Practices & Toolkit for Enterprise Flex
Quality Best Practices & Toolkit for Enterprise Flex
 
Flex presentation for Paris Android User group PAUG
Flex presentation for Paris Android User group PAUGFlex presentation for Paris Android User group PAUG
Flex presentation for Paris Android User group PAUG
 
Adobe et la stratégie multi-écrans
Adobe et la stratégie multi-écransAdobe et la stratégie multi-écrans
Adobe et la stratégie multi-écrans
 
Oop2012 keynote Design Driven Development
Oop2012 keynote Design Driven DevelopmentOop2012 keynote Design Driven Development
Oop2012 keynote Design Driven Development
 
UX Concerns across Mobile Platforms
UX Concerns across Mobile PlatformsUX Concerns across Mobile Platforms
UX Concerns across Mobile Platforms
 
Enterprise Flex applications on tablet devices
Enterprise Flex applications on tablet devicesEnterprise Flex applications on tablet devices
Enterprise Flex applications on tablet devices
 
Flex 4.5 and mobile development
Flex 4.5 and mobile developmentFlex 4.5 and mobile development
Flex 4.5 and mobile development
 
X plat dev - part ii publish
X plat dev - part ii publishX plat dev - part ii publish
X plat dev - part ii publish
 
One backend multiple Screens
One backend multiple ScreensOne backend multiple Screens
One backend multiple Screens
 

Viewers also liked

Flash as3 programming
Flash as3 programmingFlash as3 programming
Flash as3 programming
subhash85
 
Adobe action script 3.0 programming
Adobe   action script 3.0 programmingAdobe   action script 3.0 programming
Adobe action script 3.0 programming
Daniel Ramos
 
Object-Oriented ActionScript 3.0
Object-Oriented ActionScript 3.0Object-Oriented ActionScript 3.0
Object-Oriented ActionScript 3.0
Peter Elst
 
ActionScript 3.0 Fundamentals
ActionScript 3.0 FundamentalsActionScript 3.0 Fundamentals
ActionScript 3.0 Fundamentals
Saurabh Narula
 
Creative Programming in ActionScript 3.0
Creative Programming in ActionScript 3.0Creative Programming in ActionScript 3.0
Creative Programming in ActionScript 3.0
Peter Elst
 

Viewers also liked (15)

Flash as3 programming
Flash as3 programmingFlash as3 programming
Flash as3 programming
 
Adobe action script 3.0 programming
Adobe   action script 3.0 programmingAdobe   action script 3.0 programming
Adobe action script 3.0 programming
 
Object-Oriented ActionScript 3.0
Object-Oriented ActionScript 3.0Object-Oriented ActionScript 3.0
Object-Oriented ActionScript 3.0
 
Less Verbose ActionScript 3.0 - Write less and do more!
Less Verbose ActionScript 3.0 - Write less and do more!Less Verbose ActionScript 3.0 - Write less and do more!
Less Verbose ActionScript 3.0 - Write less and do more!
 
Drag and drop- ActionScript 3.0
Drag and drop- ActionScript 3.0Drag and drop- ActionScript 3.0
Drag and drop- ActionScript 3.0
 
Actionscript 3 - Session 5 The Display Api And The Display List
Actionscript 3 - Session 5 The Display Api And The Display ListActionscript 3 - Session 5 The Display Api And The Display List
Actionscript 3 - Session 5 The Display Api And The Display List
 
Intro To Starling Framework for ActionScript 3.0
Intro To Starling Framework for ActionScript 3.0Intro To Starling Framework for ActionScript 3.0
Intro To Starling Framework for ActionScript 3.0
 
SkillsMatter - In-the-Brain session - What's new in ActionScript 3.0
SkillsMatter - In-the-Brain session - What's new in ActionScript 3.0SkillsMatter - In-the-Brain session - What's new in ActionScript 3.0
SkillsMatter - In-the-Brain session - What's new in ActionScript 3.0
 
Actionscript 3 - Session 2 Getting Started Flash IDE
Actionscript 3 - Session 2 Getting Started Flash IDEActionscript 3 - Session 2 Getting Started Flash IDE
Actionscript 3 - Session 2 Getting Started Flash IDE
 
Actionscript 3 - Session 6 Interactivity
Actionscript 3 - Session 6 InteractivityActionscript 3 - Session 6 Interactivity
Actionscript 3 - Session 6 Interactivity
 
Actionscript 3 - Session 3 Action Script And Flash
Actionscript 3 - Session 3 Action Script And FlashActionscript 3 - Session 3 Action Script And Flash
Actionscript 3 - Session 3 Action Script And Flash
 
ActionScript 3.0 Fundamentals
ActionScript 3.0 FundamentalsActionScript 3.0 Fundamentals
ActionScript 3.0 Fundamentals
 
Actionscript 3 - Session 1 Introduction To As 3
Actionscript 3 - Session 1 Introduction To As 3Actionscript 3 - Session 1 Introduction To As 3
Actionscript 3 - Session 1 Introduction To As 3
 
Actionscript 3 - Session 7 Other Note
Actionscript 3 - Session 7 Other NoteActionscript 3 - Session 7 Other Note
Actionscript 3 - Session 7 Other Note
 
Creative Programming in ActionScript 3.0
Creative Programming in ActionScript 3.0Creative Programming in ActionScript 3.0
Creative Programming in ActionScript 3.0
 

Similar to As2 vs as3

Adobe flash platform java
Adobe flash platform javaAdobe flash platform java
Adobe flash platform java
Ch'ti JUG
 
Willkommen zum Adobe Digital Marketing Tag
Willkommen zum Adobe Digital Marketing TagWillkommen zum Adobe Digital Marketing Tag
Willkommen zum Adobe Digital Marketing Tag
Adobe Marketing Cloud
 
Enrique Duvos: Adobe RIA Platform
Enrique Duvos: Adobe RIA PlatformEnrique Duvos: Adobe RIA Platform
Enrique Duvos: Adobe RIA Platform
Initium
 
Flex, Adobe AIR, and PHP: the beginning of a beautiful friendship
Flex, Adobe AIR, and PHP: the beginning of a beautiful friendshipFlex, Adobe AIR, and PHP: the beginning of a beautiful friendship
Flex, Adobe AIR, and PHP: the beginning of a beautiful friendship
elliando dias
 
Application Quality with Visual Studio 2010
Application Quality with Visual Studio 2010Application Quality with Visual Studio 2010
Application Quality with Visual Studio 2010
Anna Russo
 
董龙飞 - 新一代企业应用
董龙飞 - 新一代企业应用董龙飞 - 新一代企业应用
董龙飞 - 新一代企业应用
d0nn9n
 

Similar to As2 vs as3 (20)

Adobe flash platform java
Adobe flash platform javaAdobe flash platform java
Adobe flash platform java
 
Willkommen zum Adobe Digital Marketing Tag
Willkommen zum Adobe Digital Marketing TagWillkommen zum Adobe Digital Marketing Tag
Willkommen zum Adobe Digital Marketing Tag
 
Flex For Java Architects Ledroff Breizh Jug V Blog Cc
Flex For Java Architects Ledroff Breizh Jug V Blog CcFlex For Java Architects Ledroff Breizh Jug V Blog Cc
Flex For Java Architects Ledroff Breizh Jug V Blog Cc
 
Xebia adobe flash mobile applications
Xebia adobe flash mobile applicationsXebia adobe flash mobile applications
Xebia adobe flash mobile applications
 
Enrique Duvos: Adobe RIA Platform
Enrique Duvos: Adobe RIA PlatformEnrique Duvos: Adobe RIA Platform
Enrique Duvos: Adobe RIA Platform
 
David Coletta Architecting A Shared Codebase For Browser And Desktop Final
David Coletta Architecting A Shared Codebase For Browser And Desktop FinalDavid Coletta Architecting A Shared Codebase For Browser And Desktop Final
David Coletta Architecting A Shared Codebase For Browser And Desktop Final
 
Innovation and the Adobe Flash Platform
Innovation and the Adobe Flash PlatformInnovation and the Adobe Flash Platform
Innovation and the Adobe Flash Platform
 
HBase and Hadoop at Adobe
HBase and Hadoop at AdobeHBase and Hadoop at Adobe
HBase and Hadoop at Adobe
 
Adobe in Technical Communication and Instructional Design
Adobe in Technical Communication and Instructional DesignAdobe in Technical Communication and Instructional Design
Adobe in Technical Communication and Instructional Design
 
Flex, Adobe AIR, and PHP: the beginning of a beautiful friendship
Flex, Adobe AIR, and PHP: the beginning of a beautiful friendshipFlex, Adobe AIR, and PHP: the beginning of a beautiful friendship
Flex, Adobe AIR, and PHP: the beginning of a beautiful friendship
 
Application Quality with Visual Studio 2010
Application Quality with Visual Studio 2010Application Quality with Visual Studio 2010
Application Quality with Visual Studio 2010
 
Hello Gumbo
Hello GumboHello Gumbo
Hello Gumbo
 
Breizh camp adobe flex et les mobiles
Breizh camp   adobe flex et les mobilesBreizh camp   adobe flex et les mobiles
Breizh camp adobe flex et les mobiles
 
Search Engines and Flash: Secrets, Tricks, and Black Magic
Search Engines and Flash: Secrets, Tricks, and Black MagicSearch Engines and Flash: Secrets, Tricks, and Black Magic
Search Engines and Flash: Secrets, Tricks, and Black Magic
 
MMT 28: Adobe »Edge to the Flash«
MMT 28: Adobe »Edge to the Flash«MMT 28: Adobe »Edge to the Flash«
MMT 28: Adobe »Edge to the Flash«
 
Creating Mobile Content Using Flash
Creating Mobile Content Using FlashCreating Mobile Content Using Flash
Creating Mobile Content Using Flash
 
Web 2.0 Design Patterns, Models and Analysis
Web 2.0 Design Patterns, Models and AnalysisWeb 2.0 Design Patterns, Models and Analysis
Web 2.0 Design Patterns, Models and Analysis
 
董龙飞 - 新一代企业应用
董龙飞 - 新一代企业应用董龙飞 - 新一代企业应用
董龙飞 - 新一代企业应用
 
Ria Event Lisbon Jan 2010
Ria Event Lisbon Jan 2010Ria Event Lisbon Jan 2010
Ria Event Lisbon Jan 2010
 
Flexpaug 111207121300-phpapp01
Flexpaug 111207121300-phpapp01Flexpaug 111207121300-phpapp01
Flexpaug 111207121300-phpapp01
 

More from Yash Mody

Catch 22: FLex APps
Catch 22: FLex APpsCatch 22: FLex APps
Catch 22: FLex APps
Yash Mody
 

More from Yash Mody (11)

Dr Seema Rao - Woman Commando Trainer
Dr Seema Rao - Woman Commando TrainerDr Seema Rao - Woman Commando Trainer
Dr Seema Rao - Woman Commando Trainer
 
Adobe AEM for Business Heads
Adobe AEM for Business HeadsAdobe AEM for Business Heads
Adobe AEM for Business Heads
 
Sightly - AEM6 UI Development using JS and JAVA
Sightly - AEM6 UI Development using JS and JAVASightly - AEM6 UI Development using JS and JAVA
Sightly - AEM6 UI Development using JS and JAVA
 
Introducing Apache Jackrabbit OAK
Introducing Apache Jackrabbit OAKIntroducing Apache Jackrabbit OAK
Introducing Apache Jackrabbit OAK
 
Introducing Mongo DB and setting up Adobe AEM6 with mongo
Introducing Mongo DB and setting up Adobe AEM6 with mongoIntroducing Mongo DB and setting up Adobe AEM6 with mongo
Introducing Mongo DB and setting up Adobe AEM6 with mongo
 
Apache SOLR in AEM 6
Apache SOLR in AEM 6Apache SOLR in AEM 6
Apache SOLR in AEM 6
 
Adobe AEM CQ5 - Developer Introduction
Adobe AEM CQ5 - Developer IntroductionAdobe AEM CQ5 - Developer Introduction
Adobe AEM CQ5 - Developer Introduction
 
Catch 22: FLex APps
Catch 22: FLex APpsCatch 22: FLex APps
Catch 22: FLex APps
 
How LCDS works
How LCDS worksHow LCDS works
How LCDS works
 
Flex 3 to Flex 4
Flex 3 to Flex 4Flex 3 to Flex 4
Flex 3 to Flex 4
 
Flex and ColdFusion
Flex and ColdFusionFlex and ColdFusion
Flex and ColdFusion
 

Recently uploaded

Future Visions: Predictions to Guide and Time Tech Innovation, Peter Udo Diehl
Future Visions: Predictions to Guide and Time Tech Innovation, Peter Udo DiehlFuture Visions: Predictions to Guide and Time Tech Innovation, Peter Udo Diehl
Future Visions: Predictions to Guide and Time Tech Innovation, Peter Udo Diehl
Peter Udo Diehl
 

Recently uploaded (20)

Integrating Telephony Systems with Salesforce: Insights and Considerations, B...
Integrating Telephony Systems with Salesforce: Insights and Considerations, B...Integrating Telephony Systems with Salesforce: Insights and Considerations, B...
Integrating Telephony Systems with Salesforce: Insights and Considerations, B...
 
Powerful Start- the Key to Project Success, Barbara Laskowska
Powerful Start- the Key to Project Success, Barbara LaskowskaPowerful Start- the Key to Project Success, Barbara Laskowska
Powerful Start- the Key to Project Success, Barbara Laskowska
 
A Business-Centric Approach to Design System Strategy
A Business-Centric Approach to Design System StrategyA Business-Centric Approach to Design System Strategy
A Business-Centric Approach to Design System Strategy
 
Future Visions: Predictions to Guide and Time Tech Innovation, Peter Udo Diehl
Future Visions: Predictions to Guide and Time Tech Innovation, Peter Udo DiehlFuture Visions: Predictions to Guide and Time Tech Innovation, Peter Udo Diehl
Future Visions: Predictions to Guide and Time Tech Innovation, Peter Udo Diehl
 
The UX of Automation by AJ King, Senior UX Researcher, Ocado
The UX of Automation by AJ King, Senior UX Researcher, OcadoThe UX of Automation by AJ King, Senior UX Researcher, Ocado
The UX of Automation by AJ King, Senior UX Researcher, Ocado
 
TEST BANK For, Information Technology Project Management 9th Edition Kathy Sc...
TEST BANK For, Information Technology Project Management 9th Edition Kathy Sc...TEST BANK For, Information Technology Project Management 9th Edition Kathy Sc...
TEST BANK For, Information Technology Project Management 9th Edition Kathy Sc...
 
PLAI - Acceleration Program for Generative A.I. Startups
PLAI - Acceleration Program for Generative A.I. StartupsPLAI - Acceleration Program for Generative A.I. Startups
PLAI - Acceleration Program for Generative A.I. Startups
 
ASRock Industrial FDO Solutions in Action for Industrial Edge AI _ Kenny at A...
ASRock Industrial FDO Solutions in Action for Industrial Edge AI _ Kenny at A...ASRock Industrial FDO Solutions in Action for Industrial Edge AI _ Kenny at A...
ASRock Industrial FDO Solutions in Action for Industrial Edge AI _ Kenny at A...
 
Google I/O Extended 2024 Warsaw
Google I/O Extended 2024 WarsawGoogle I/O Extended 2024 Warsaw
Google I/O Extended 2024 Warsaw
 
Choosing the Right FDO Deployment Model for Your Application _ Geoffrey at In...
Choosing the Right FDO Deployment Model for Your Application _ Geoffrey at In...Choosing the Right FDO Deployment Model for Your Application _ Geoffrey at In...
Choosing the Right FDO Deployment Model for Your Application _ Geoffrey at In...
 
FDO for Camera, Sensor and Networking Device – Commercial Solutions from VinC...
FDO for Camera, Sensor and Networking Device – Commercial Solutions from VinC...FDO for Camera, Sensor and Networking Device – Commercial Solutions from VinC...
FDO for Camera, Sensor and Networking Device – Commercial Solutions from VinC...
 
Introduction to FDO and How It works Applications _ Richard at FIDO Alliance.pdf
Introduction to FDO and How It works Applications _ Richard at FIDO Alliance.pdfIntroduction to FDO and How It works Applications _ Richard at FIDO Alliance.pdf
Introduction to FDO and How It works Applications _ Richard at FIDO Alliance.pdf
 
The Metaverse: Are We There Yet?
The  Metaverse:    Are   We  There  Yet?The  Metaverse:    Are   We  There  Yet?
The Metaverse: Are We There Yet?
 
WSO2CONMay2024OpenSourceConferenceDebrief.pptx
WSO2CONMay2024OpenSourceConferenceDebrief.pptxWSO2CONMay2024OpenSourceConferenceDebrief.pptx
WSO2CONMay2024OpenSourceConferenceDebrief.pptx
 
The Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdf
The Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdfThe Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdf
The Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdf
 
Where to Learn More About FDO _ Richard at FIDO Alliance.pdf
Where to Learn More About FDO _ Richard at FIDO Alliance.pdfWhere to Learn More About FDO _ Richard at FIDO Alliance.pdf
Where to Learn More About FDO _ Richard at FIDO Alliance.pdf
 
Simplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdf
Simplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdfSimplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdf
Simplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdf
 
Oauth 2.0 Introduction and Flows with MuleSoft
Oauth 2.0 Introduction and Flows with MuleSoftOauth 2.0 Introduction and Flows with MuleSoft
Oauth 2.0 Introduction and Flows with MuleSoft
 
AI revolution and Salesforce, Jiří Karpíšek
AI revolution and Salesforce, Jiří KarpíšekAI revolution and Salesforce, Jiří Karpíšek
AI revolution and Salesforce, Jiří Karpíšek
 
Salesforce Adoption – Metrics, Methods, and Motivation, Antone Kom
Salesforce Adoption – Metrics, Methods, and Motivation, Antone KomSalesforce Adoption – Metrics, Methods, and Motivation, Antone Kom
Salesforce Adoption – Metrics, Methods, and Motivation, Antone Kom
 

As2 vs as3

  • 1. AS2 vs AS3 Yash Mody CTO | Tekno Point yash@teknopoint.us ® 1 Copyright 2008 Adobe Systems Incorporated. All rights reserved. Adobe Con dential.
  • 2. Overview ActionScript 3.0 Overview Top Misperceptions Top Bene ts Migration Examples ® 2 Copyright 2008 Adobe Systems Incorporated. All rights reserved. Adobe Con dential.
  • 3. Top 5 Misperceptions about ActionScript 3.0 ® 3 Copyright 2008 Adobe Systems Incorporated. All rights reserved. Adobe Con dential.
  • 4. Misperception #1 ActionScript 3.0 is difficult to learn ® 4 Copyright 2008 Adobe Systems Incorporated. All rights reserved. Adobe Con dential.
  • 5. Misperception #2 ActionScript 3.0 is only for Class based object-oriented programming ® 5 Copyright 2008 Adobe Systems Incorporated. All rights reserved. Adobe Con dential.
  • 6. Misperception #3 Using ActionScript 3.0 reduces the Flash Player base that you can target ® 6 Copyright 2008 Adobe Systems Incorporated. All rights reserved. Adobe Con dential.
  • 7. Misperception #4 You can’t write code on the timeline with ActionScript 3.0 ® 7 Copyright 2008 Adobe Systems Incorporated. All rights reserved. Adobe Con dential.
  • 8. Misperception #5 ActionScript 2.0 development is faster that ActionScript 3.0 development ® 8 Copyright 2008 Adobe Systems Incorporated. All rights reserved. Adobe Con dential.
  • 9. Top 5 Benefits of ActionScript 3.0 ® 9 Copyright 2008 Adobe Systems Incorporated. All rights reserved. Adobe Con dential.
  • 10. Benefit #1 Performance ® 10 Copyright 2008 Adobe Systems Incorporated. All rights reserved. Adobe Con dential.
  • 11. Benefit #2 Ability to leverage new Flash Player APIs and technologies ® 11 Copyright 2008 Adobe Systems Incorporated. All rights reserved. Adobe Con dential.
  • 12. Benefit #3 Leverage Community Libraries and APIs ® 12 Copyright 2008 Adobe Systems Incorporated. All rights reserved. Adobe Con dential.
  • 13. Benefit #4 Easier and faster to debug code ® 13 Copyright 2008 Adobe Systems Incorporated. All rights reserved. Adobe Con dential.
  • 14. Benefit #5 Future proofed, multi-platform development ® 14 Copyright 2008 Adobe Systems Incorporated. All rights reserved. Adobe Con dential.
  • 15. ActionScript 3.0 Gotchas • Use of underscore • Void / void • Alpha value range • Event Model • Code and events on Symbols ® 15 Copyright 2008 Adobe Systems Incorporated. All rights reserved. Adobe Con dential.
  • 16. underscores ActionScript 2.0 ActionScript 3.0 ® 16 Copyright 2008 Adobe Systems Incorporated. All rights reserved. Adobe Con dential.
  • 17. void ActionScript 2.0 ActionScript 3.0 ® 17 Copyright 2008 Adobe Systems Incorporated. All rights reserved. Adobe Con dential.
  • 18. alpha 0-100 0.0-1.0 ActionScript 2.0 ActionScript 3.0 ® 18 Copyright 2008 Adobe Systems Incorporated. All rights reserved. Adobe Con dential.
  • 19. Events ® 19 Copyright 2008 Adobe Systems Incorporated. All rights reserved. Adobe Con dential.
  • 20. no code on symbols ® 20 Copyright 2008 Adobe Systems Incorporated. All rights reserved. Adobe Con dential.
  • 21. Migration Examples ® 21 Copyright 2008 Adobe Systems Incorporated. All rights reserved. Adobe Con dential.
  • 22. Create a Variable Create a Function Create an if statement ® 22 Copyright 2008 Adobe Systems Incorporated. All rights reserved. Adobe Con dential.
  • 23. 23
  • 24. Loop Through an Array ® 24 Copyright 2008 Adobe Systems Incorporated. All rights reserved. Adobe Con dential.
  • 25. _root ® 25 Copyright 2008 Adobe Systems Incorporated. All rights reserved. Adobe Con dential.
  • 26. Handling Button Clicks ® 26 Copyright 2008 Adobe Systems Incorporated. All rights reserved. Adobe Con dential.
  • 27. Opening a URL ® 27 Copyright 2008 Adobe Systems Incorporated. All rights reserved. Adobe Con dential.
  • 28. Dynamically Attach a MovieClip ® 28 Copyright 2008 Adobe Systems Incorporated. All rights reserved. Adobe Con dential.
  • 29. Load an Image ® 29 Copyright 2008 Adobe Systems Incorporated. All rights reserved. Adobe Con dential.
  • 30. Play a Sound ® 30 Copyright 2008 Adobe Systems Incorporated. All rights reserved. Adobe Con dential.
  • 31. Load and Parse XML… the E4X way ® 31 Copyright 2008 Adobe Systems Incorporated. All rights reserved. Adobe Con dential.
  • 32.  Some more stuff  Runtime Exceptions - increase in conditions  Sealed Classes - xed set of values - better maintainability  Method closures - The mx.utils.Delegate not required  Regular expressions - native support for better string manipulation 32
  • 33. Get onto AS3 today ® 33 Copyright 2008 Adobe Systems Incorporated. All rights reserved. Adobe Con dential.