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

Difference between shared lib and shared objects

4 Answers  


which is not a benefit when adding a title in the document properties? : Adobe flash

0 Answers  


what appears in the output window after executing this actionscript on the first frame of a movie? : Adobe flash

0 Answers  


Can you explain what does the void function and object contain in actionscript?

0 Answers  


what are the statements uses proper for loop syntax? : Adobe flash

0 Answers  


how does an xmlsocket server know when a received message is complete? : Adobe flash

0 Answers  


which of cannot be automatically outputted by the trace action? : Adobe flash

0 Answers  


Explain what does the void function and object contain in actionscript?

0 Answers  


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

0 Answers  


which of the following is not a key benefit of usability testing? : Adobe flash

0 Answers  


Describe changewatcher.watch.

0 Answers  


which two file formats can be imported into a swf file at runtime? : Adobe flash

0 Answers  


Categories