JamesMGreene / node-flex-sdk

A Node.js module to download and "install" the latest open source Apache/Adobe Flex SDK.
MIT License
31 stars 11 forks source link

Send a buffer to mxmlc #9

Closed webcaetano closed 9 years ago

webcaetano commented 9 years ago

Hello guys.

This module so good, you guys made an awesome job.

Currently the mxmlc it only read path to .as source files. I'm looking for a way to it read buffer.

The idea is make it more friendly to gulpjs I already made the gulp-flash buy only for paths.

Also i have made an as3 pre-compiler called jinx. Without buffer i have to using some kinda temporary folder trick, and this probably eventually will have problems with path in functions like (include, URLLoader, etc).

webcaetano commented 9 years ago

Nevermind I made a intense research and didn't find anything. Looks like only include is relative to .as source file. "Import" can be passed as mxmlc parameter Things like URLLoarder are relative to .swf file. In this case i can change "include" paths to the right path in the pre-compiler