Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


what is difference between AS2 and AS3.?

Answers were Sorted based on User's Feedback



what is difference between AS2 and AS3.?..

Answer / dindayal dhakar

AS2 uses a lot of attributes that start with an underscore
(._x, ._alpha, etc). In AS3 the underscores are removed
(ie. .x, .alpha), if you see underscores you're probably in
2.

Second, look for variable typing. It's not required in
either version but a lot more people type their variables
in AS3...if variables are being typed (ie. var a:Number =
5) you're probably in 3.

Lastly, look for function return types. The majority of
functions in either language will be returning void...in
AS2 look for a capitol V (function():Void{) and in AS3 that
got lowercased (function():void{).


Another difference is the fact that all events in AS3 are
called with addEventListener function, instead of using
the "onEventName" property of each object.

• To add event listeners in ActionScript 2.0, you use
addListener() in some cases and addEventListener() in
others, whereas in ActionScript 3.0 you use addEventListener
() in all cases.
• There is no event flow in ActionScript 2.0, which
means that the addListener() method can be called only on
the object that broadcasts the event, whereas in
ActionScript 3.0 the addEventListener() method can be
called on any object that is part of the event flow.
• In ActionScript 2.0, event listeners can be either
functions, methods, or objects, whereas in ActionScript
3.0, only functions or methods can be event listeners.
• The on(event) syntax is no longer supported in
ActionScript 3.0, so you cannot attach ActionScript event
code to a movie clip. You can only use addEventListener()
to add an event listener.

Is This Answer Correct ?    52 Yes 7 No

what is difference between AS2 and AS3.?..

Answer / a

class concepts are also included in this version if u r
using external as file then u must know the class and oops
concept of programming.

Is This Answer Correct ?    16 Yes 2 No

what is difference between AS2 and AS3.?..

Answer / venkat

as2 belongs to macromedia
as3 belongs to adobe

Is This Answer Correct ?    19 Yes 8 No

what is difference between AS2 and AS3.?..

Answer / saravanan

In as2 we can use
mov1.mov2.mov3.visible=false

but in as3
mov1.mov2.getChildByName(mov3).visible=false

Is This Answer Correct ?    14 Yes 19 No

what is difference between AS2 and AS3.?..

Answer / maharajan.s

Question :

In case I Needwhat is difference between AS2 and AS3 ?

Is This Answer Correct ?    4 Yes 10 No

what is difference between AS2 and AS3.?..

Answer / tanu sanyal

The biggest difference between CSS2 and CSS3 is that CSS3 has been split up into different sections, called modules. Each of these modules is making it's way through the W3C in various stages of the recommendation process. CSS2 was submitted as a single document with all the Cascading Style Sheets information within it. Because each of the modules is being worked on individually, we have a much wider range of browser support for CSS3 modules. As with any new specification, be sure to test your CSS3 pages thoroughly in as many browsers and operating systems as you can.

Is This Answer Correct ?    3 Yes 11 No

Post New Answer

More Scripts AllOther Interview Questions

which is best institute for flex and actionscript in hyderabad

7 Answers  


Need a batch file or VB script to delete old (more than 90datys) roaming profiles

0 Answers  


why do u need an ANT?

0 Answers  


how do u define in ur build.xml If I need to execute a task before executing my task?

0 Answers  


What is URL Loader.?

1 Answers  


what is the diff between ANT and MAVEN?

2 Answers   Accenture,


If we add regular expressions to a script recorded in QTP, will it effect the performance of the script?

0 Answers  


what is the difference between the start_form and open_form

1 Answers   IBM, TCS,


please send the scrpit driver program

1 Answers  


what will this do? function show_alert value="Show User" eval("x=10; y=20; document.write(x*y)");

1 Answers  


i a had secured second class in tenth and twelth and i secured first claas.can i apply for job

1 Answers   IBM,


What is the procedure for installing USP-35 on my compure?

0 Answers  


Categories