Skip to main content
Participant
December 13, 2012
Question

Flash Professional IDE Compile Target for Secondary SWFs?

  • December 13, 2012
  • 1 reply
  • 1511 views

When building using the Flash Professional IDE (CS6), how should SWFs that are intended to be loaded secondarily be compiled. That is, what should their compile target be?

Thanks

This topic has been closed for replies.

1 reply

Nimisha1
Participating Frequently
December 14, 2012

Hi,

When you're building ipa with with secondary swfs(which are supposed to be loaded at runtime) then you must be providing those secondary SWFs as assets only and they must be compiled before.

Also you can load secondary SWF with any SWF version which is suppored by AIR and there is no restriction on that.

I hope this helps!

-Nimisha

Participant
December 14, 2012

Nimisha can you clarify this.

For example: Do you mean that the secondary swf's can have a compile target of flashplayer 11.3? Then in the root swf has a compile target of air 3.6 and it does not matter what the target was for the secondary swf's?

You mention that the secondary swf's are assets only, I thought the whole idea with 3.6 multi swf projects, was that these can now contain as3 code.

Also how are the secondary swf's supposed to be included in the root swf compile. (Not the runtime load method) In flash CS6 do we just add the secondary swf files to the included file list of the root publish settings dialog?

Also how do we designate AOT mode?

Nimisha1
Participating Frequently
December 17, 2012

>>Do you mean that the secondary swf's can have a compile target of flashplayer 11.3?

Yes, secondary SWF with this target should get loaded.

>>Then in the root swf has a compile target of air 3.6 and it does not matter what the target was for the secondary swf's?

Yes.

>>You mention that the secondary swf's are assets only, I thought the whole idea with 3.6 multi swf projects, was that these can now contain as3 code.

Yes they can contain as3 code but there is no restriction of using swf-version>=19 with secondary SWFs.

>>Also how are the secondary swf's supposed to be included in the root swf compile. (Not the runtime load method) In flash CS6 do we just add the secondary swf files to the included file list of the root publish settings dialog?

Yes, you've to provide SWF files in included file list and also have to use code to load them at runtime.

>>Also how do we designate AOT mode?

In CS6, AOT mode ipa gets published in target Apple App Store and Ad hoc.