0
AS2 vs AS3                                                                                         Yash Mody              ...
Overview                                           ActionScript 3.0 Overview                                           Top...
Top 5 Misperceptions            about ActionScript 3.0                                                                    ...
Misperception #1           ActionScript 3.0 is difficult to learn                                                          ...
Misperception #2ActionScript 3.0 is only for Class based     object-oriented programming                                  ...
Misperception #3       Using ActionScript 3.0 reduces the      Flash Player base that you can target                      ...
Misperception #4       You can’t write code on the timeline              with ActionScript 3.0                            ...
Misperception #5 ActionScript 2.0 development is faster  that ActionScript 3.0 development                                ...
Top 5 Benefits of           ActionScript 3.0                                                                               ...
Benefit #1                                                                       Performance                               ...
Benefit #2          Ability to leverage new Flash Player                  APIs and technologies                            ...
Benefit #3Leverage Community Libraries and APIs                                                                            ...
Benefit #4                   Easier and faster to debug code                                                               ...
Benefit #5                      Future proofed, multi-platform                              development                    ...
ActionScript 3.0                                        Gotchas                   • Use of underscore                   • ...
underscores    ActionScript 2.0                                                                      ActionScript 3.0     ...
void    ActionScript 2.0                                                                       ActionScript 3.0           ...
alpha                                      0-100                                                   0.0-1.0    ActionScript...
Events                                                                                          ®                         ...
no code on symbols                                                                                          ®             ...
Migration Examples                                                                                          ®             ...
Create a Variable Create a Function Create an if statement                                                                ...
23
Loop Through an   Array                                                                                          ®        ...
_root                                                                                          ®                          ...
Handling Button Clicks                                                                                          ®         ...
Opening a URL                                                                                          ®                  ...
Dynamically Attach a           MovieClip                                                                                  ...
Load an Image                                                                                          ®                  ...
Play a Sound                                                                                          ®                   ...
Load and Parse XML…the E4X way                                                                                          ® ...
 Some more stuff   Runtime Exceptions - increase in conditions   Sealed Classes - xed set of values - better    maintain...
Get onto AS3 today                                                                                          ®             ...
Upcoming SlideShare
Loading in...5
×

As2 vs as3

2,039

Published on

My presentation from the Flash CS4 launch in India.

Published in: Technology, Business
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
2,039
On Slideshare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
11
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Transcript of "As2 vs as3"

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

    Clipping is a handy way to collect important slides you want to go back to later.

×