Monday, August 27, 2007
Monday, August 27, 2007    

The ability to fire off an AIR application from a FLA quickly is very nice, but I noticed something... nowhere are the dimensions of the thing set (that I can see anyway). Using Flex Builder we just use MXML to do this. So this means my app allowed to resize (I don't like that), and because the size isn't set, a comboBox set at the bottom edge of the app opens *down* which means items are hidden.

I should dig some more about this, but for now its not allowing me to deploy an AIR application that I would like to use myself. Anyone have ideas about this?

UPDATE:
I updated my app.xml file, adding height and width attributes to the application tag, no go. I then added height and width nodes (shot in the dark), and no go. Perhaps Adobe has yet to really develop this AIR extension yet. Or I am missing something pretty obvious.

Update 2:





Okay so in theory we can do:

HelloApollo.xml
And then the XML file could be like this:
systemChrome="none"
transparent="true"
visible="true"
height="400"
width="600">
foo.swf
This has not been tested yet, and we shouldn't have to do this stuff, but if it works, it works. Hopefully it will.


1 Comments:

Blogger mkeefe said...
 

“You may want to check out the "rootContent" node:

rootContent systemChrome="none" width="1024" height="768" transparent="false" visible="true"[SWF reference is generated]/rootContent

** Removed the brackets **”
 
Post comment

Links to this post:


Create a Link

gotoAndStop( topOfPage );