Skip to main content
Known Participant
April 18, 2012
Question

Simlpe way to load an image with URL link into iOS with AIR

  • April 18, 2012
  • 4 replies
  • 987 views

I want to be able to display an image (basically a small banner) inside my iPhone game which is loaded from my server where I can advertise new games.

What's the best way to do this?

Are there any technical issues I should be aware of?

Does it fall foul of any of Apples policies?

Thanks for any advice.

This topic has been closed for replies.

4 replies

April 18, 2012

I would check with apple before you commit to this, I see this could be a problem because they can't control what comes in and out but then again they cant control twitter or facebook or youtube so how is this different.

Otherwise you need to use the loader class I believe.

I've used this method before, but for testing only. In my test I also had a server stored XML file direct the app on what external image to use, but that's unnecessary for your needs.

http://www.newgrounds.com/bbs/topic/827299

Edit: I would also suggest having something where the banner will go, either a fixed banner that gets overlaid or background image because this could cause a problem on an offline phone or ipad.

Known Participant
April 18, 2012

Thanks, I was thinking the same in regards to Apple's policies.

Regarding position, yeah I would just place it in lots of space