SlideShare una empresa de Scribd logo
1 de 33
Descargar para leer sin conexión
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.

Más contenido relacionado

La actualidad más candente

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
 

La actualidad más candente (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
 

Destacado

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
 

Destacado (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 a 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 a 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
 

Más de Yash Mody

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

Más de 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
 

Último

Último (20)

MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Cyberprint. Dark Pink Apt Group [EN].pdf
Cyberprint. Dark Pink Apt Group [EN].pdfCyberprint. Dark Pink Apt Group [EN].pdf
Cyberprint. Dark Pink Apt Group [EN].pdf
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
 

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.