Forum Mobile Flash for iOS and PLAYER.IO

Everything mobile goes here.

Flash for iOS and PLAYER.IO

Postby nucleusgames » April 17th, 2011, 1:39 am

Hi, I making a game on flash for the iOS, the game runs perfectly in terms of performance but apparently the loadAPI() function in Player.IO class tries to load an external swf from "http://api.playerio.com/flashbridge/1" which returns "BridgeV1.K-PLugRYyb6o-lXn_4T6ug.swf" which probably contains the api itself.

And since apple does not allow apps to load external codes which seems to be what's happening there I am getting the error: "Cannot import a SWF file when LoaderContext.allowCodeImport is false."

I'll try to embed the SWF file to the app rather than downloading, but I want to ask if there's any point of trying to do so before I burn my time.

gotta say though, I really like Player.IO but this was unexpected :|
nucleusgames
 
Posts: 3
Joined: April 17th, 2011, 1:17 am

Re: Flash for iOS and PLAYER.IO

Postby nucleusgames » April 17th, 2011, 2:25 am

After some thinking ... embedding wont work as it wont be converted to byte code, is there an another way? swc? .as?
I don't want to spend ages coding and testing my own multiplayer code :cry: I am the only programmer on this project and I'd rather spend more time polishing the game!
nucleusgames
 
Posts: 3
Joined: April 17th, 2011, 1:17 am

Re: Flash for iOS and PLAYER.IO

Postby Benjaminsen » April 17th, 2011, 8:56 am

Due to the inherent limitations of flash on iOS you cannot use the basic API as you have noticed.

We do however have a fully working swc in beta that solves just this issue. However as maintaining a SWC and making sure nothing breaks when we do updates is quite a lot more work, only paid costumers can sign up for this beta program.

If this is something you think you might be interested in, ping me at chris@player.io
Have more questions? Join us at #player.io on the freenode irc network. Making something cool with Player.IO? I would love to talk! My Skype handle is q-rious
User avatar
Benjaminsen
.IO
 
Posts: 808
Joined: January 12th, 2010, 11:54 am
Location: Denmark

Re: Flash for iOS and PLAYER.IO

Postby nucleusgames » April 21st, 2011, 12:29 am

Benjaminsen wrote:Due to the inherent limitations of flash on iOS you cannot use the basic API as you have noticed.

We do however have a fully working swc in beta that solves just this issue. However as maintaining a SWC and making sure nothing breaks when we do updates is quite a lot more work, only paid costumers can sign up for this beta program.

If this is something you think you might be interested in, ping me at chris@player.io


sent the email a while ago, and still waiting for your reply!
nucleusgames
 
Posts: 3
Joined: April 17th, 2011, 1:17 am


Return to Mobile



cron