05 October 2007

Easy transition to beta 2 AIR SDK

Installation of AIR SDK beta 2 was easy. I just deleted old files and unzipped new files in the same directory, so not path modification was needed.

However, when I tried to run older sample files, following error occured:
"initialWindow/content must have non-empty value"!

After looking at documentation I realized that there are some changes in description xml file structure. Besides <application xmlns="http://ns.adobe.com/air/application/1.0.M5" where 1.0.M5 is new moment, RootContent tag has changed. Actually there is now "content" tag and systemChrome, transparent and visible are no longer properties. Here is example:

beta 1:

<rootContent
systemChrome="standard"
transparent="false"
visible="true">
window.html
</rootContent>


becomes in beta 2:

<initialWindow>
<content>window.html</content>
<systemChrome>standard</systemChrome>
<transparent>false</transparent>
<visible>true</visible>
</initialWindow>


Now everything is OK, apps are running smoothly.

0 comments:

 

template by blogger templates