• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
Locked
0

Images and swf aren't loading on iOS

New Here ,
Jun 08, 2011 Jun 08, 2011

Copy link to clipboard

Copied

I've been developing a game using FlashBuilder 4.5. It's been working on Android but when I exported to iOS I only get some of the images to show while others are not.

The images that are showing are static images that are loaded using [Embed(source='')]. The ones that aren't are the ones loaded using the Loader class.  This is the only relation I see between those that have shown and those that haven't. I may be able to use the Embed way for some static images but I don't think I can use that for .swf files which I need to load.

As I've said before they have been working on Android. They also show up in the emulator but once deployed to the iOS not all the images load.

Views

476

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jun 08, 2011 Jun 08, 2011

Copy link to clipboard

Copied

Okay just an update. I have been able to use the Embed method to load up both images and swf files. However the swf files are not showing up on the iPod still. The images that weren't showing when using the Loader class are now showing. Any insight into remedying this problem is greatly appreciated.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jun 13, 2011 Jun 13, 2011

Copy link to clipboard

Copied

LATEST

OK just an update that maybe people can help me with.

We figured out why they aren't showing. Even though my artist friend who made them didn't include any actionscript code when he made them, flash attached an actionscript file that only contained an empty class when he exported it to .swf.  I found this out by decompiling the .swf. Apparently iOS doesn't like .swfs with code attached and that's why they won't load up.  I've talked to him about it and he's not sure how to remedy the situation. There seems to be only one way to export to swf and that is somehow attaching a .as to it.

So basically what I'm asking is now to ensure that the .swf won't contain any actionscript at all. Is there some settings in flash or some specific way in creating the movie that makes sure this doesn't happen?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines