flump icon indicating copy to clipboard operation
flump copied to clipboard

Compiling Demo in Flash Builder 4.7

Open kheftel-old opened this issue 11 years ago • 2 comments

Hi,

I was also able to build the demo project using ant and I wanted to also compile it in Flash Builder.

I compiled the runtime SWC and included it in a demo project in Flash Builder with the the source files from the demo project.

However, when I build it, i'm missing the following dependencies: deng.fzip.FZip/FZipEvent/FZipErrorEvent, react.Signal/SignalView/UnitSignal.

Where can I get these dependencies from? I assume I'm just missing something obvious since the demo builds fine with ant.

Also, how do I go about using Flump MovieClips in a project without embedding the library as a ZIP file? Do I always have to use the MovieCreator class?

kheftel-old avatar Feb 19 '14 21:02 kheftel-old

Those dependencies are automatically downloaded for you by the ant build. They live in your maven repository (which was created if you didn't already have one). If you're on Mac, you can find your maven repo at ~/.m2/repository/. The react swc is at ~/.m2/repository/com/timconkling/react-as3/1.1/react-as3-1.1.swc and the fzip swc is at ~/.m2/repository/deng/fzip/a5430bd/fzip-a5430bd.swc.

If you look at pom.xml in the runtime directory, you can see its dependencies. Same goes for the exporter and demo

tconkling avatar Feb 20 '14 17:02 tconkling

That's great, thanks so much! The demo is a bit unclear about how to actually use Flump assets - do you always have to use them as a ZIP file like the demo does? Do you always have to use the MovieCreator class from the demo?

kheftel-old avatar Feb 26 '14 17:02 kheftel-old