BTW. I'm using the latest version of Flash Builder 4 to compile the swf.
I'm not sure which versions of the iPhone hardware are supported, but I thought the older generations were not. You didn't specify which iPhone you had.
That said, I strongy recommend you download Burrito/Hero from Adobe labs; and try to build your SWF w/ the mobile component set from Flex 4.5. It should give better performance and is a mobile optimized component set.
Thank you for replying! I will try Burrito when I get the chance.
I'm using iOS 4.3 on an iPhone 3GS so that shouldn't be a problem. I package with the AIR 2.6 adt and the swf is compiled in FB4 using Flex 4.1 merged with Air 2.6. I changed the main mxml file to an AS3 and now it runs on my iPhone but I can't get the TouchEvents to work. I get true when I trace
Multitouch.supportsTouchEvents but I get no events when listening for TOUCH_BEGIN or TOUCH_TAP on either stage or a sprite. I've also added -target-player=11 as and additional compiler argument in FB4 (from Cantrell blog).
Is there something I might need to add to my adt packaging?
C:\AdobeAIRSDK\bin\adt -package -target ipa-test -provisioning-profile HelloWorld.mobileprovision -storetype pkcs12 -keystore rs.p12 -storepass XXXXXX ./HelloWorld.ipa ./bin-debug/HelloWorld-app.xml -C ./bin-debug HelloWorld.swf -C ./bin-debug assets
Should there be any files in the assets folder that I'm missing or anything special in the main-app.xml file?