Pregunta

I'm in the process of creating a tool which needs to be able to compile a swf file. The interface preferably has to be flash/air.

I have a rough idea about how it could be done but there is some holes...

My thoughts go something like this:

  1. Write a file with the actionscript class(Fairly straighforward with air I believe)
  2. Compile the file via the mxml compiler(http://www.senocular.com/flash/tutorials/as3withmxmlc/)

Whats the best way to automate the compiling so it's called via actionscript? Please point me in a good direction and you'd have my undying gratitude. Many thanks.

¿Fue útil?

Solución

You could take a look at this actionscript editor build with AIR.
http://code.google.com/p/minibuilder/

The same guy created an online version using a compiler build with java:
http://www.victordramba.com/?p=34

I guess this is not exactly what you want, but just noticing it; create/alter SWF files on the fly:
https://github.com/claus/as3swf

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top