Diffrence between AS2 and AS3 ?

Answers were Sorted based on User's Feedback



Diffrence between AS2 and AS3 ?..

Answer / brandon booker

This questions is too broad to give a truly appropriate
answer to. So, here is an incomplete list of differences
that you can use, and add to.
1.As3 is a compiled environment. Because of this,
operations in as3 can take up to 1/3 as long as they did in
as2. (according to adobe, and only if the code isn't on the
frame)
2.Because it's compiled we also get nice things like
compiler errors telling us when we've written some code that
won't compile properly, as2 just ignores these lines of
code. This can increase productivity significantly.
3.As3 uses a garbage collection system to clean up our
memory for us. (it doesn't really work, but at least it tries)
4.As3 is actually a different language. Some syntax remains
the same as in declaring variables, but almost all
functional operations have changed. Everything from how the
draw system works to adding an event listener are new.

Is This Answer Correct ?    11 Yes 2 No

Diffrence between AS2 and AS3 ?..

Answer / guru

ActionScript 3.0 is called object-oriented because it supports inheritance, encapsulation and polymorphism. The first two notions can be easily defined.

AS2 dosent support , this is the difference

Is This Answer Correct ?    11 Yes 18 No

Post New Answer

More Flash Action Scripting Interview Questions

which method is best for removing an object(e.g.,Myobj) from memory? : Adobe flash

0 Answers  


what is the best reason for using the geturl command, instead of the fscommand, when communicating with the host application? : Adobe flash

0 Answers  


what should be inferred by a variable named birthplace_str? : Adobe flash

0 Answers  


How we can create a scrolling gallary in a portfolio,what is the script?

2 Answers  


which items cannot be hidden from screen readers? : Adobe flash

0 Answers  






How many menus will you find on the menu bar?

0 Answers  


Difference between shared lib and shared objects

4 Answers  


How to add an effect to the movie clip?

0 Answers  


when should one generally use the post method instead of the get method? : Adobe flash

0 Answers  


What is EventFlow.?

3 Answers  


Write a function for a button.

0 Answers  


difference between _root and _level

7 Answers  


Categories