I’ve followed Adobe’s instructions on how to develop iOS app using Flash CS5. Went through all the steps and was able to install my app on my ipad and iphone. The problem is that it didn’t work!
If I upload a simple hello world flash app that works fine. But when I port my game to it which uses the Pushbutton engine and Box2d etc. all I get is a white screen on iPad and a black screen on the iphone. It doesn’t crash. It just doesn’t do anything. Anyone encounter this? I don’t get any errors or anything.
So I don’t know why it doesn’t work. When I run the app on my PC it looks ok and works. This behavior is only when I install it on my device. I’m using Flash cs5 with the latest updates for ios development.
If anyone knows how to get around this or how I can get more information about what its doing or any errors it is getting that would be very helpful. Thank you!
I am using this type of tag in my Document class. I wonder if it doesn’t like it:
[SWF(width="1024" , height="768" , frameRate="30" , "--keep-as3-metadata+=TypeHint,EditorData,Embed" )]
public class DocumentClass extends Sprite
I figured it out. The problem was that the embedding system in pushbutton engine is not supported on the ios for some reason. So what I did was use the runtime loading of assets in pushbutton engine and then made sure that those were included in the ipa file for ios to load. And it worked!