Skip to main content
Inspiring
June 23, 2011
Question

Flex 4.5.1 - iOs - iPad 1 - Loading images bug

  • June 23, 2011
  • 1 reply
  • 1701 views

Hi successfully adapt a standard flex project for the web to a mobile application with some adjustements. Congratulations for Adobe team for this fantastic work !

My issue i am faced is a bit strange.

When i run in debug mode my application on my iPad, after pushing the ipa with iPhone configuration utility, the images loaded dynamically works well. They are in an assets directory, and all is fine.

When i compile the app for an ad-hoc installation, so near from a final version, after pushing the ipa with iPhone configuration utility, the images don't load dynamically ! When i dezip the ipa, i can see the assets directory in the app extracted.

Someone was faced to this issue ?

Thanks by advance

This topic has been closed for replies.

1 reply

Participating Frequently
June 23, 2011

Hi,

Thanks for raising this. While we investigate the bug, could you file a bug report at http://bugbase.adobe.com? Please include a small test application that can help us reproduce the issue locally.

Regards,

Sanika

Vincent35Author
Inspiring
June 23, 2011

Solution found:

I had a swf with a small timeline animation in one of my panels. Replacing it with a simple image solved the issue.

Regards

Participant
June 30, 2011

I've had the same bug for iPad 1 when trying to load some a css at runtime by converting it into a SWF file.

e.g.

if(this.width>500)

{

     styleManager.loadStyleDeclarations("assets/styleTablet.swf");

}

/* CSS file */

@namespace s "library://ns.adobe.com/flex/spark";

@media (application-dpi: 160)

{

     global

     {

          fontSize: 24;

     }

     .introtext

     {

          fontSize:28;

     }

}

Works fine in the emulator but no images show up in the ad-hoc build

If someone either has a solution for this or another solution for changing font size by width rather than just dpi I would be happy with that too.

Thanks

Edit: Reported bug https://bugbase.adobe.com/index.cfm?event=bug&id=2910342