Skip to main content
Inspiring
March 29, 2013
Question

SWF Files Not Loading on iPad Release Version

  • March 29, 2013
  • 2 replies
  • 1162 views

Hi,

I have a strange problem. In my app I am loading SWF files... nothing new with that. It's a Flex based app, and when I debug it on the device using Flash Builder it works fine. However when I export a release build of the app and install it on the ipad, the SWF files do not load. Since I have no debugging info, I can't say why this is happenning. Is there anything in particular I should be looking for?

In addition, the SWF files in question are pdf files converted into swf files. The app loads other swf files in other parts of the app just fine. However, the Android version of this app loads the SWF files fine, so whatever the problem is, it's ipad specific.

I'm using AIR 3.5. Could it be that I need to move to 3.6? (I thought ios could load swf files in 3.5)

thx

This topic has been closed for replies.

2 replies

chris.campbell
Legend
March 29, 2013

I *think* you'll actually need our 3.7 release to do this.  External swf loading is a new feature for this release referenced the announcement post below.

3/26/2013 - AIR 3.7.0.1410 Runtime and SDK Beta

leejkAuthor
Inspiring
March 29, 2013

Hi,

I was able to do it using 3.6, but had to implement the loading method mentioned here. Since this method means I can't reload the swf file, it's not an idea solution for me.

The swf's in question are pdf files converted to swf files, that have embedded AS code, which was causing the issue. I'm confused by how much AS code can be embedded before this error happens, so I started a discussion about it in the 3.7 beta forum.

thx