Skip to main content
May 31, 2012 5:33 PM UTC
Answered

Display external swf?

Hello Everyone

I am new to Adobe AIR development.

I have following code to display external SWF on iPad. I have not tested it on simulator. Will it actually work on the device? Has anyone displayed external swf files on iOS?

I am using Flahsbuilder 4.6 for development. I created "New ActionScript Mobile Project".

var request:URLRequest = new URLRequest("http://<domainname>/test3.swf");

                              loader = new Loader()

                              loader.load(request);

Thanks

This topic is closed to new replies. Start a new post to keep the conversation going.
Colin Holgate
Colin HolgateCorrect answer
Inspiring
May 31, 2012 5:42 PM UTC

AIR is Flash, so Flash apps do work on iOS. It's just that you can't run swfs inside Safari.

3 replies

Colin Holgate
Inspiring
May 31, 2012 5:35 PM UTC

It should work ok if the swf you are loading has no ActionScript in it.

Translate
May 31, 2012 5:38 PM UTC

Hi Colin

Thanks for the quick reply.

The out of the project is .swf.

I am wondering, if the app will actually run on iOS, since iOS does not support flash?

Thanks

Translate
Colin Holgate
Colin HolgateCorrect answer
Inspiring
May 31, 2012 5:42 PM UTC

AIR is Flash, so Flash apps do work on iOS. It's just that you can't run swfs inside Safari.

Translate