RobotLegs and Flash IDE
i was trying to find a solution for compiling Robotlegs from Flash IDE (CS3 or CS4)
and found two approaches:
the first one comes from Jesse Warden combining mxmlc & Flash CS4 or CS3 with GAIA Framework.
the second one (that i think is a lot easier) i found it at Helmut Granda post using XML configuration to initialize the injection from the SwiftSuspendersInjector, you can find more info here and in the SwiftSuspenders README file.
so, i tried the second one and here’s the Hello Flash example compiled from flash CS3
download here.
enjoy.
when i put [Inject] public var model : StatsModel;
in CreateBallCommand.as and trace(model) it gives me null how do i Inject the model on that command class?
bong
28 Oct 10 at 1:47
hey bong!
there´s an easiest way to compile a RL project within the flash IDE; In the Publish Settings panel, enable the “Export SWC” check box.
you don´t need anymore to setup an XML configuration to initialize the injection.
cheers.
Raúl
29 Oct 10 at 23:00