header
ask question
Click here to ask Question Now Its free No registration required. Flash, Flex, Flash Media Server, ActionScript,Adobe Air. Most questions receive a response in an hour.
J. Kr Marsh
Points:0
Posts:0

4/6/2011 10:15:18 AM

Title: Possibly weird inquiry: Javascript vs. Actionscript for AIR devs?


Here's the short of it: I'm a javascript developer with an extensive history in web design. Javascript is, and always has been, my language of choice for user interactions in the browser.

Naturally, I was enthralled to find that Adobe AIR supports javascript as well as actionscript. This means a whole world of exciting new HTML5 technologies, such as game development using WebGL and the canvas element, are open to me.

However, I seem vastly outnumbered in the AIR community as a JS dev. Documentation about AIR development in JS is scarce, especially when compared to AS documentation. I didn't even see any release notes mentioning JS in the recent AIR 2.7 release.

My questions are as follows:

1.) Is javascript as worthwhile a language for AIR development as actionscript? Why or why not?
2.) Is there any danger of Adobe dropping support for javascript within AIR in future updates?

I do not consider myself a Flash (or Flex) developer and don't have much desire to become one. However, if support for javascript in AIR is waning, maybe I should begin studying it.

Thanks for any tips/advice.



1
Andrid
Points: 720
Posts:0
4/6/2011 11:09:25 AM



Majority of AIR developers are flash developers so Actionscript community is always going to be much bigger. Adobe is not going to drop its support for JavaScript in AIR. At least its past reputation tells us that . Adobe / Macromedia takes care of backward compatibility for its scripting languages very much. The JavaScript engine being used in Adobe AIR is webkit engine which is open source. So adobe is just using it with some security wrapper around it. The big advantage is that this engine works with Mobile and Desktop applications and above that the JavaScript applications developed in Adobe AIR does not have compatibility problems with different browsers. A single piece code works on all the browsers.


2
Rayan
Points: 700
Posts:0
4/6/2011 11:11:56 AM



You can get a good amount of detailed information on Javascipt for Adobe AIR application in this PDF document

http://onair.adobe.com/files/AIRforJSDevPocketGuide.pdf

you can check many JavaScript in AIR application samples on this link

http://blogs.adobe.com/air/2009/01/75_new_adobe_air_javascript_co.html

3
J. Ky Marsh
Points: 0
Posts:0
4/6/2011 9:54:29 PM



Thanks a million for the responses, guys. Much appreciated.


Post your Reply
Name  

Email

Type your Reply or Answer

Are you human? What is 7+5 



Members Login

Email  
Password
Forgot Password





This website focus on: Flash | Flex | FMS | RED5 | WOWZA | Flash Media Server | Adobe AIR | ActionScript,Flash Solutions | Flash Question | Flash Answers | Flash Developers | Flash Problem, Flash Help, Flash bugs, Flash workaround | Flash Blog | Flex Question Answers | Flash Forum | Flex Development | Actionscript development | Flash development | Adobe AIR development
Copyright © 2008 AskMeFlash.com. All rights reserved. Privacy Policy | Terms & Conditions