<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Anyone using ActionScript 2 to build AIR applications?</title>
	<atom:link href="http://www.mikechambers.com/blog/2008/08/18/anyone-using-actionscript-2-to-build-air-applications/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.mikechambers.com/blog/2008/08/18/anyone-using-actionscript-2-to-build-air-applications/</link>
	<description>code = joy</description>
	<lastBuildDate>Fri, 02 Dec 2011 01:36:37 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.3</generator>
	<item>
		<title>By: vikram</title>
		<link>http://www.mikechambers.com/blog/2008/08/18/anyone-using-actionscript-2-to-build-air-applications/comment-page-1/#comment-26133</link>
		<dc:creator>vikram</dc:creator>
		<pubDate>Fri, 18 Feb 2011 05:20:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.mikechambers.com/blog/?p=1317#comment-26133</guid>
		<description>Hi Mike,
     I converted as2 file into an air application with a simple cheat.I would like to share this with you.
I created a blank air file. It wont contain any thing.
Then in the air settings I included the as2 swf file that I need to show in the air application.
Then I published the content.
After I modified the xml file as follows

Previously


    originaloldfile.swf
    standard
    false
    true
  

I modified it as 
   
    newAs2File.swf
    standard
    false
    true
  

Then I published the air file again.....

I got my as2 file shown in the air application.

Regards</description>
		<content:encoded><![CDATA[<p>Hi Mike,<br />
     I converted as2 file into an air application with a simple cheat.I would like to share this with you.<br />
I created a blank air file. It wont contain any thing.<br />
Then in the air settings I included the as2 swf file that I need to show in the air application.<br />
Then I published the content.<br />
After I modified the xml file as follows</p>
<p>Previously</p>
<p>    originaloldfile.swf<br />
    standard<br />
    false<br />
    true</p>
<p>I modified it as </p>
<p>    newAs2File.swf<br />
    standard<br />
    false<br />
    true</p>
<p>Then I published the air file again&#8230;..</p>
<p>I got my as2 file shown in the air application.</p>
<p>Regards</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: zermok</title>
		<link>http://www.mikechambers.com/blog/2008/08/18/anyone-using-actionscript-2-to-build-air-applications/comment-page-1/#comment-22641</link>
		<dc:creator>zermok</dc:creator>
		<pubDate>Sat, 29 May 2010 20:01:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.mikechambers.com/blog/?p=1317#comment-22641</guid>
		<description>&gt; In general though, an AIR application built entirely &gt; in AS3 is going to be easier to develop and maintain &gt; over the long term.

Hi Mike, that&#039;s true, but what the solution when you paid developers for years to build a big project in AS2 ? maybe Adobe can pay again my developers to change all the code in AS3 ?

Regards</description>
		<content:encoded><![CDATA[<p>&gt; In general though, an AIR application built entirely &gt; in AS3 is going to be easier to develop and maintain &gt; over the long term.</p>
<p>Hi Mike, that&#8217;s true, but what the solution when you paid developers for years to build a big project in AS2 ? maybe Adobe can pay again my developers to change all the code in AS3 ?</p>
<p>Regards</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paul Lamonby</title>
		<link>http://www.mikechambers.com/blog/2008/08/18/anyone-using-actionscript-2-to-build-air-applications/comment-page-1/#comment-16572</link>
		<dc:creator>Paul Lamonby</dc:creator>
		<pubDate>Thu, 30 Jul 2009 10:18:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.mikechambers.com/blog/?p=1317#comment-16572</guid>
		<description>Hi Mike,

Found this post when searching for info on how to package an AS2 file for AIR.

I developed a Flash Lite 2.0 and 3.0 app for Nokia phones and wanted to expand the app to AIR.

The latest S60 5th edition Nokia phones are touchscreen, so porting the app to work on the desktop is very straightforward. The only problem being it is in AS2.

Luckily your ADT workaround worked, as the app does not need to communicate with any AIR APIs. The only thing it does do is use Shared Objects to store data locally.

Are there any security/sandbox issues using shared objects with AIR?

Regards
Paul</description>
		<content:encoded><![CDATA[<p>Hi Mike,</p>
<p>Found this post when searching for info on how to package an AS2 file for AIR.</p>
<p>I developed a Flash Lite 2.0 and 3.0 app for Nokia phones and wanted to expand the app to AIR.</p>
<p>The latest S60 5th edition Nokia phones are touchscreen, so porting the app to work on the desktop is very straightforward. The only problem being it is in AS2.</p>
<p>Luckily your ADT workaround worked, as the app does not need to communicate with any AIR APIs. The only thing it does do is use Shared Objects to store data locally.</p>
<p>Are there any security/sandbox issues using shared objects with AIR?</p>
<p>Regards<br />
Paul</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lubomir Ivanov</title>
		<link>http://www.mikechambers.com/blog/2008/08/18/anyone-using-actionscript-2-to-build-air-applications/comment-page-1/#comment-15089</link>
		<dc:creator>Lubomir Ivanov</dc:creator>
		<pubDate>Sat, 22 Nov 2008 20:01:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.mikechambers.com/blog/?p=1317#comment-15089</guid>
		<description>------
AIR apis are not exposed to AS2, but, you can run AS2 content by specifying the SWF in the application descriptor file and creating the AIR file with ADT (in the AIR SDK).

I suspect that not many if anyone is doing this, but that is what this post aims to discover.

mike chambers
---------

I gave this method a go and it worked like a charm with a simple AS2 clock application.
I&#039;ve published the AIR project from Flash CS3 and then simply replaced the AS3 published swift with the AS2 clock. ADT made the AIR package and the AS2 app is now working.

So why disabling the AIR/ActionScript 2.0 Publish option in the Flash API?

Lubo</description>
		<content:encoded><![CDATA[<p>&#8212;&#8212;<br />
AIR apis are not exposed to AS2, but, you can run AS2 content by specifying the SWF in the application descriptor file and creating the AIR file with ADT (in the AIR SDK).</p>
<p>I suspect that not many if anyone is doing this, but that is what this post aims to discover.</p>
<p>mike chambers<br />
&#8212;&#8212;&#8212;</p>
<p>I gave this method a go and it worked like a charm with a simple AS2 clock application.<br />
I&#8217;ve published the AIR project from Flash CS3 and then simply replaced the AS3 published swift with the AS2 clock. ADT made the AIR package and the AS2 app is now working.</p>
<p>So why disabling the AIR/ActionScript 2.0 Publish option in the Flash API?</p>
<p>Lubo</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Warern</title>
		<link>http://www.mikechambers.com/blog/2008/08/18/anyone-using-actionscript-2-to-build-air-applications/comment-page-1/#comment-14515</link>
		<dc:creator>Warern</dc:creator>
		<pubDate>Thu, 23 Oct 2008 14:04:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.mikechambers.com/blog/?p=1317#comment-14515</guid>
		<description>Hi Mike,
I can get AS2 SWF in the browser to communicate with an AIR app via LocalConnection, but I cannot get comms back from the AIR app to the AS2 SWF in the browser.

Any suggestions please. (I am going mad here...)</description>
		<content:encoded><![CDATA[<p>Hi Mike,<br />
I can get AS2 SWF in the browser to communicate with an AIR app via LocalConnection, but I cannot get comms back from the AIR app to the AS2 SWF in the browser.</p>
<p>Any suggestions please. (I am going mad here&#8230;)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sakana</title>
		<link>http://www.mikechambers.com/blog/2008/08/18/anyone-using-actionscript-2-to-build-air-applications/comment-page-1/#comment-13447</link>
		<dc:creator>Sakana</dc:creator>
		<pubDate>Thu, 21 Aug 2008 11:40:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.mikechambers.com/blog/?p=1317#comment-13447</guid>
		<description>We use the possibility to load AS2 SWF in an AS3 root for a project of games.
We needed to reuse old flash game, on a new site in as3.

S.</description>
		<content:encoded><![CDATA[<p>We use the possibility to load AS2 SWF in an AS3 root for a project of games.<br />
We needed to reuse old flash game, on a new site in as3.</p>
<p>S.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: edzis</title>
		<link>http://www.mikechambers.com/blog/2008/08/18/anyone-using-actionscript-2-to-build-air-applications/comment-page-1/#comment-13418</link>
		<dc:creator>edzis</dc:creator>
		<pubDate>Wed, 20 Aug 2008 07:45:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.mikechambers.com/blog/?p=1317#comment-13418</guid>
		<description>I pushed a ready made AS2 product customization web app into AIR when clients wanted a locally running version and not compromising the possibility to send e-mail messages (communicating to server).

http://www.heckyes.homewebsite.info/Rawlings/baseball_air/</description>
		<content:encoded><![CDATA[<p>I pushed a ready made AS2 product customization web app into AIR when clients wanted a locally running version and not compromising the possibility to send e-mail messages (communicating to server).</p>
<p><a href="http://www.heckyes.homewebsite.info/Rawlings/baseball_air/" rel="nofollow">http://www.heckyes.homewebsite.info/Rawlings/baseball_air/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mikechambers</title>
		<link>http://www.mikechambers.com/blog/2008/08/18/anyone-using-actionscript-2-to-build-air-applications/comment-page-1/#comment-13402</link>
		<dc:creator>mikechambers</dc:creator>
		<pubDate>Tue, 19 Aug 2008 20:06:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.mikechambers.com/blog/?p=1317#comment-13402</guid>
		<description>@Alex

--
Can you recommend a good place to find any sort of “this is how AS2 did it, and this is how AS3 can do it” comparison?
--

There is a good article to get started on here:

http://www.adobe.com/devnet/actionscript/articles/actionscript_tips.html

and also here:

http://www.adobe.com/devnet/actionscript/articles/six_reasons_as3.html

and

http://livedocs.adobe.com/flex/2/langref/migration.html

and

http://actionscriptcheatsheet.com/blog/2007/03/01/actionscript-20-to-30-migration-cheatsheets-new-free-download/

mike chambers

mesh@adobe.com</description>
		<content:encoded><![CDATA[<p>@Alex</p>
<p>&#8211;<br />
Can you recommend a good place to find any sort of “this is how AS2 did it, and this is how AS3 can do it” comparison?<br />
&#8211;</p>
<p>There is a good article to get started on here:</p>
<p><a href="http://www.adobe.com/devnet/actionscript/articles/actionscript_tips.html" rel="nofollow">http://www.adobe.com/devnet/actionscript/articles/actionscript_tips.html</a></p>
<p>and also here:</p>
<p><a href="http://www.adobe.com/devnet/actionscript/articles/six_reasons_as3.html" rel="nofollow">http://www.adobe.com/devnet/actionscript/articles/six_reasons_as3.html</a></p>
<p>and</p>
<p><a href="http://livedocs.adobe.com/flex/2/langref/migration.html" rel="nofollow">http://livedocs.adobe.com/flex/2/langref/migration.html</a></p>
<p>and</p>
<p><a href="http://actionscriptcheatsheet.com/blog/2007/03/01/actionscript-20-to-30-migration-cheatsheets-new-free-download/" rel="nofollow">http://actionscriptcheatsheet.com/blog/2007/03/01/actionscript-20-to-30-migration-cheatsheets-new-free-download/</a></p>
<p>mike chambers</p>
<p><a href="mailto:mesh@adobe.com">mesh@adobe.com</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alex</title>
		<link>http://www.mikechambers.com/blog/2008/08/18/anyone-using-actionscript-2-to-build-air-applications/comment-page-1/#comment-13401</link>
		<dc:creator>Alex</dc:creator>
		<pubDate>Tue, 19 Aug 2008 19:56:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.mikechambers.com/blog/?p=1317#comment-13401</guid>
		<description>Thanks for the options for using AS2, but since I&#039;m starting from scratch I guess it&#039;s going to be better to familiarize myself with AS3 and get it done using that.

After I posted I started reading up on AIR (haven&#039;t looked at it since May of last year when I determined it wasn&#039;t ready to build a production app) and it seems like there are a ton of features (like clipboard support) that I can make use of now.  

Can you recommend a good place to find any sort of &quot;this is how AS2 did it, and this is how AS3 can do it&quot; comparison?  I know some components just aren&#039;t there for Flash CS3, but I didn&#039;t know if anyone has recreated them yet or created a walkthrough of how to do it yourself.

Thanks!</description>
		<content:encoded><![CDATA[<p>Thanks for the options for using AS2, but since I&#8217;m starting from scratch I guess it&#8217;s going to be better to familiarize myself with AS3 and get it done using that.</p>
<p>After I posted I started reading up on AIR (haven&#8217;t looked at it since May of last year when I determined it wasn&#8217;t ready to build a production app) and it seems like there are a ton of features (like clipboard support) that I can make use of now.  </p>
<p>Can you recommend a good place to find any sort of &#8220;this is how AS2 did it, and this is how AS3 can do it&#8221; comparison?  I know some components just aren&#8217;t there for Flash CS3, but I didn&#8217;t know if anyone has recreated them yet or created a walkthrough of how to do it yourself.</p>
<p>Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mikechambers</title>
		<link>http://www.mikechambers.com/blog/2008/08/18/anyone-using-actionscript-2-to-build-air-applications/comment-page-1/#comment-13397</link>
		<dc:creator>mikechambers</dc:creator>
		<pubDate>Tue, 19 Aug 2008 18:05:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.mikechambers.com/blog/?p=1317#comment-13397</guid>
		<description>@Are there any good reasons not to use AS2 for an AIR app?

Yes. The AIR APIs are only exposed to ActionScript 3 content. If you do need to use existing AS2 content in an AIR application, then you should do one of the following:

1. Create an AS3 based shell that loads the AS2 content. AS2 to AS3 communication needs to be done via localconnection.

2. Create an AS3 based shell that loads an included HTML template that then loads AS2 content. Communication is AS2 -- (External Interface) -- JavaScript -- (Direct communication) -- AS3 / AIR Apis.

In general though, an AIR application built entirely in AS3 is going to be easier to develop and maintain over the long term.

Hope that helps...

mike chambers

mesh@adobe.com</description>
		<content:encoded><![CDATA[<p>@Are there any good reasons not to use AS2 for an AIR app?</p>
<p>Yes. The AIR APIs are only exposed to ActionScript 3 content. If you do need to use existing AS2 content in an AIR application, then you should do one of the following:</p>
<p>1. Create an AS3 based shell that loads the AS2 content. AS2 to AS3 communication needs to be done via localconnection.</p>
<p>2. Create an AS3 based shell that loads an included HTML template that then loads AS2 content. Communication is AS2 &#8212; (External Interface) &#8212; JavaScript &#8212; (Direct communication) &#8212; AS3 / AIR Apis.</p>
<p>In general though, an AIR application built entirely in AS3 is going to be easier to develop and maintain over the long term.</p>
<p>Hope that helps&#8230;</p>
<p>mike chambers</p>
<p><a href="mailto:mesh@adobe.com">mesh@adobe.com</a></p>
]]></content:encoded>
	</item>
</channel>
</rss>

