Skip to main content
Inspiring
February 9, 2012
Question

Flash pro to flash builder publishing release build, a little help needed

  • February 9, 2012
  • 1 reply
  • 1231 views

I was under the impression I could just create a flash professional project in flash builder, load my original FlashIDE project and export to mobile, but that looks to be incorrect.

I wrote a bit much so:

SHORT VERSION:

I use FlashIDE to create and compile, I now want to switch gears and compile with flash builder instead.

To compile an existing flash pro app with flash builder  (for android and/or playbook)  would I do the following:

1) compile the original game.swf  normal as a Flash project.

2) create a new actionscript mobile project in flash builder, embed or load that original game.swf

3) publish release build for playbook and/or android.

(so basically my project is just a shell to load the already created .swf and take advantage of flash builder packaging)

OR ALTERNATE OPTION: ?

Would the correct way of doing this be to export my library items as a swc.

'convert' to flash builder project by building a straight up 'actionscript mobile project' and load game assets from the swc.

LONG VERSION:

I want to switch to flash builder for publishing because it has built in support for captive runtime, ane's and playbook.

I followed this tutorial:

Using Flash Builder’s Mobile Workflow with Flash Professional Projects

What I now have in flash builder is a flash Pro project and an actionscript mobile project.

When publishing a debug build of the flash pro project, it dumps the contents into the actionscript mobile project folder.

This is great, now I can debug that swf as an actionscript mobile project with flash builder. This works.

Now that I want to create a release build, I'm a little confused as to what I can and can't do...let me just spit it out, tell me if I am wrong.

1) Is the main application file (.as file) generated by flash builder project the same as a document class?

2) An actionscript mobile project does not know what an  .fla is, correct?

3) The original .swf (referencing flashIDE library items when its compiled) must be compiled as a flash pro project, and only then will your actionscript mobile project use it by loading or embed this swf file as an asset?

Thanks,

This topic has been closed for replies.

1 reply

boat5Author
Inspiring
February 9, 2012

got it! It all makes sense now, funny how typing things out makes it click sometimes.

What I am doing is the "wrapper method" in which my actionscript mobile project in flash builder just loads the pre-compiled main game swf. Actually, that's what I have always done in FlashIDE anyway, where my .FLA is just one actionscript file that loads the game.swf

one button to captive runtime sure is nice!

can anyone tell me if I should embed the swf rather than load it?  I cant think if a reason why it would matter