12-09-2010 08:48 PM
This might be worth checking out:
If you follow/adapt, the lesson, I guess you own the code. If you just copy and paste, maybe track down the author.
For fun, I just took the code and got it running in the simulator in about two minutes.
12-09-2010 09:09 PM - edited 12-09-2010 09:11 PM
How did you take the code to try? I only get fla and swf files when I download the source?
I'm using the Flash Builder Burrito.
Basically, how did you get it working on the simulator?
P.s. sorry if this is a dumb question, I'm really new to this
12-09-2010 09:49 PM
I use Flash, not Flash Builder (though I did try the hello world app in Flash Builder 4). Here's an article on taking things from Flash to the simulator:
I followed that, and it's quite quick to get Flash things to run on the simulator.
12-09-2010 10:47 PM
Thanks! I followed the guide, but when I publish the game no xml file is made? and I thought you needed an project-name_app.xml file for playbook apps.
How did you create this?
P.S. in the tutorial I didnt know how to convert the fla file for the tic tac toe into a new air app, could that be why I get no XML file?
12-10-2010 04:00 AM
When you open the FLA, go into Publishing Settings, Flash, and where it says Player, select AIR. After that you should start to get the descriptor file.
12-10-2010 04:15 PM - edited 12-10-2010 04:15 PM
Great! I got it running! Thanks!
But, now the trick is to get it to fit the playbook screen, any ideas on how to do this?
I've attached a screenshot to show what I mean.
12-10-2010 04:48 PM - edited 12-10-2010 04:50 PM
i've also experiences a resizing bug with the previously mentioned hack to test Flash CS5 content on QNX simulator with SDK 0.9.1.
it seems this issue may only affect VMWare Fusion on Mac OS X. the application descriptor .xml file that Flash CS5 creates causes the scale error. try using this template instead:
<?xml version="1.0" encoding="utf-8" standalone="no"?> <application xmlns="http://ns.adobe.com/air/application/2.5"> <id>APP_NAME_ID</id> <filename>APP_NAME</filename>
<versionNumber>1.0.0</versionNumber> <copyright>COPYRIGHT_STRING</copyright> <initialWindow> <content>APP_NAME.swf</content>
while this solves the scaling bug, i still have not been able to employ any of the qnx.* packages as they are just not read by the simulator, even though it compiles and launches.
i'm anxiously awaiting for the official Flash CS5 plug-in, but in the meantime, because of these major bugs caused by the hack-solution, i've realized my best best is to just use Flash Builder.
12-10-2010 05:06 PM