Home Tutorials Forums Articles Blogs Movies Library Employment Press
Old 06-09-2011, 08:16 PM   #1
ALiborio
Registered User
 
Join Date: Jun 2011
Posts: 2
Default SWF not displaying on iOS

I'm currently developing a game using AIR. I'm using Flash Builder 4.5.
I tried loading swf and static images using the Loader class but when exported and put on an iPod none of these images showed. I changed it to something like this:
Code:
[Embed(source="images/bomb.swf")]
		private var bombClass:Class;
		private var bomb:Sprite=new bombClass;
which works for static images (.jpg or .png) but the .swf still do not show.

Also it should be noted that these all show in the emulator and on Android. It is only on the iPod that they don't show up.

Any ideas?
ALiborio is offline   Reply With Quote
Old 06-14-2011, 01:05 AM   #2
ALiborio
Registered User
 
Join Date: Jun 2011
Posts: 2
Default

Just an update to our situation. We have come to find out that iOS does not like .swfs with actionscript code in them. Now my artist didn't actually have anything coded when he made the swf animations but when exported they included an actionscript file. (I decompiled one to check)

Does anyone know how to ensure that flash does not include any actionscript (even empty classes as was our case)?
ALiborio is offline   Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 01:43 AM.

///
Follow actionscriptorg on Twitter

 


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.