On 12/03/2010 18:29, Anthony Pace wrote:
I only do this after using catalyst (beta 2) and there is a ton of mxml over a thousand lines or so, that I just don't want to have to filter through, but so far, what I have been doing is publishing the project as an swf, and the using a decompiler to convert it and its embedded elements to readable AS3 with class structure intact, and then output to a folder that contains the fla and all used classes in the usual subfolder tree style.

Using this method makes it so some variables are referred to by their location instead of their friendly name, and going after the embedded elements can sometimes be time consuming; thus, I am wondering if there any other commercial converters out there? or if someone has figured out how to use the flex sdk to just do a conversion instead of publishing?
_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


It sounds like you are using catalyst and trying to avoid flex - doesn't seem like a viable workflow to me, but anyway..

From the docs:

http://livedocs.adobe.com/flex/3/html/help.html?content=compilers_14.html

keep-generated-actionscript=true|false

Determines whether to keep the generated ActionScript class files.

The generated class files include stubs and classes that are generated by the compiler and used to build the SWF file.

When using the application compiler, the default location of the files is the /generated subdirectory, which is directly below the target MXML file. If the /generated directory does not exist, the compiler creates one. When using the compc component compiler, the default location of the /generated directory is relative to the output of the SWC file. When using Flex Builder, the default location of the generated files is the /bin/generated directory.

The default names of the primary generated class files are filename-generated.as and filename-interface.as.

The default value is false.

This is an advanced option.


_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to