Auto generate SWF in Flex SDK

Posted by Nick on Stack Overflow See other posts from Stack Overflow or by Nick
Published on 2010-04-04T13:19:31Z Indexed on 2010/04/04 13:23 UTC
Read the original article Hit count: 409

Filed under:
|
|
|
|

I'm building my first website with AS3, and I'm using Flash Builder 4 to create/edit my AS classes. I have two .fla files (preloader.fla and portfolio.fla) which I both published as .swc and loaded them into my ActionScript project in FB4 (build path). When I hit debug, FB4 automatically generates a .SWF in bin-debug folder called Preloader.swf, but in my Preloader.as I have

new URLRequest("Portfolio.swf");

and this Portfolio.swf isn't being generated by itself. Now the real question; how can I tell FB4 to automatically create both .SWF files for me? Or isn't that possible, any workaround then?

Thanks.

© Stack Overflow or respective owner

Related posts about as3

Related posts about SDK