Sunday, April 4, 2010

FXG to SWF compilation

Hi,

Although I know that FXG can be directly used by Flash Builder, I would like to compile FXG files to SWF files ? I tried with 'mxmlc' from the Flex 4 SDK but the SWF file was bad in Flash Builder ...

Cheers.

PS: I m on OS X

PS2: the main purpose of this is to be able to update a Flash Catalyst project (updating optimized graphic without beaking it apart)


PS3: relative post on Catalyst Forum ---%26gt; http://forums.adobe.com/thread/455587?tstart=0

FXG to SWF compilation

Hi Philippe,

eMail me your FXG file at andregoulet49@gmail.com.

I'll try to compile it and let you know the score.

andre49,

FXG to SWF compilation

here is my file (from catalyst) : thanx a lot !

if it s working, i d like to know the command to run ...

Hi Philippe,

Hi,

Thanx !

Apparently you tried to export the FXG file to SWF file from Illutrator, isn't it ? The produced file is working partially with Flash Catalyst ... However, if the export is made with Flash CS4, it s ok ...

But it s not solving my pb, I d like to compile single FXG file to SWF file through command-line (terminal) ...

Cheers,

Philippe

Hi Philippe,

Thanks for your feedback,

Could you give more details about the type of info you need to feed your terminal with your swf file i.e command line instruction, type of terminal, script language, etc?

I would then reevaluate if I can further help you on that.

andre49,

Please see latest comments in Flash Catalyst forum

http://forums.adobe.com/thread/455587?tstart=0

Hi,

Thanx.

Yeah, exporting FXG to AI in Illustrator and AI to SWF in Flash CS4 solved my problem : but it is a huge workaround.

I d prefer something automated : that s why I though about command-line compilation with Flex SDK.

To reply to your question : '' Could you give more details about the type of info you need to feed your terminal with your swf file i.e command line instruction, type of terminal, script language, etc? ''

- I m using an OS X terminal

- I d like to use the Flex SDK command-line compilation (probably the ''mxmlc'' or ''compc'' exe)

- my commad-line should look like ''path/to/flex/sdk/mxmlc -output MyFile.swf MyFile.fxg''

Am I clear (im french ...) ?

Cheers.

PS: yeah double-posting is bad, but my initial problem was a Catalyst problem ... see my whole problem at ---%26gt; http://forums.adobe.com/message/2080056#2080056

Hey Phillipe, I understand what you're hoping for... but for now you'd need to use a .mxml wrapper that simply refers to your .fxg file as if it were a local component.