[mtasc] *Feature Request* - SWC Support

Johan Lopes johan.lopes at gmail.com
Fri Jun 10 16:46:59 CEST 2005


Hi Jonathan,

Your workflow sounds great. Would you mind sharing it? Just put it in
the correct section at osflash.org

Perhaps here:

 http://www.osflash.org/doku.php?id=ant

/Johan

On 6/10/05, Doklovic, Jonathan <JDoklovic at vscat.com> wrote:
> That's correct.
> 
> Basically I have an ant task that takes all the options for mtasc. On top of
> that, you can put .swc files right on the classpath (just like a jar in
> java).  When the task sees an swc, it uncompresses it to a temp folder,
> rnames the .asi to .as files and uses swfmill to add the swf to a new
> container swf.  Then when it's done dealing with the .swc files it adds all
> the renamed .asi files to the mtasc classpath along with whatever else you
> passed to it and runs the compile.
> 
> I've also added a simple run target in my build.xml that runs my newly
> compile swf. This combined with a logging frame work that can trace to a
> file gives you just about all the functionality that flashout does without
> having to actually use flashout.
> The difference is that the swf doesn't play inside of eclipse, but rather
> pops a new window that gets focus.
> 
> Seems to work very well, and I don't have to deal with the weird flashout
> interface or wait (a long time) for flashout updates.
> Also, this can be used by anyone with ant and the custom ant task....  In
> eclipse or outside of eclipse.
> 
> - Jonathan
> 
> -----Original Message-----
> From: mtasc-bounces at lists.motion-twin.com
> [mailto:mtasc-bounces at lists.motion-twin.com] On Behalf Of David Rorex
> Sent: Wednesday, June 08, 2005 7:28 PM
> To: MotionTwin ActionScript2 Compiler List
> Subject: Re: [mtasc] *Feature Request* - SWC Support
> 
> I don't think they need any processing except renaming to .as mtasc supports
> intrinsic class declarations (look in the std dir in mtasc)
> 
> -David R
> 
> On 6/8/05, Ralf Bokelberg <info at bokelberg.de> wrote:
> > Obviously i missed a few points :)
> > Adding the swf to a swfml file is no problem, but i wonder how you
> > postprocess the asi files to make them compile with mtasc?
> >
> > Ralf.
> >
> >
> > Doklovic, Jonathan wrote:
> > > This is OK I guess, but it isn't all that helpful unless you can get
> > > the swf from the swc into the compiling swf.
> > >
> > > I've found that with a combination of swfmill, mtasc and a custom
> > > ant task (that I'm working on) I can get all the functionality I
> > > need in a single ant call.
> > >
> > > Thanks!
> > >
> > > - Jonathan
> > >
> > > -----Original Message-----
> > > From: mtasc-bounces at lists.motion-twin.com
> > > [mailto:mtasc-bounces at lists.motion-twin.com] On Behalf Of Ralf
> > > Bokelberg
> > > Sent: Tuesday, June 07, 2005 4:43 PM
> > > To: MotionTwin ActionScript2 Compiler List; Open Source Flash
> > > Mailing List
> > > Subject: Re: [mtasc] *Feature Request* - SWC Support
> > >
> > > You can do that using ANT.
> > > See http://osflash.org/doku.php?id=mtaschacks#swc_support
> > >
> > > Cheers,
> > > Ralf.
> > >
> > > Doklovic, Jonathan wrote:
> > >
> > >
> > >>I would like to request this feature once again.
> > >>Basically, I would like to be able to include an SWC on the class
> > >>path
> > >
> > >
> > >>when compiling.
> > >>SWC is just a zip file and contains the intrinsic .as files and a
> > >>compiled swf.
> > >>This should be all the stuff anyone needs to use the classes
> > >>contained
> > >
> > >
> > >>within via import.
> > >>
> > >>Having the ability of putting SWC's on the classpath means that any
> > >>third party component (and most of the MM ones as well) can be used
> > >>without having to extract the SWC myself, or without having to use
> > >>the
> > >
> > >
> > >>Flash IDE to add the component to an fla and then compile it to a swf.
> > >>
> > >>I understand that adding the SWC's swf to the swf being compiled is
> > >>probably a challenge, but it would be yet another step away from the
> > >>flash IDE.
> > >>
> > >>Anyone with me on this?
> > >>
> > >>Thanks!
> > >>
> > >>jonathanDoklovic
> > >>seniorProgrammerAnalyst
> > >>LimitedBrandsTechnologyServices
> > >>http://www.victoriassecret.com
> > >>--
> > >>MTASC : no more coffee break while compiling
> > >
> > > --
> > > MTASC : no more coffee break while compiling
> > > --
> > > MTASC : no more coffee break while compiling
> > --
> > MTASC : no more coffee break while compiling
> >
> --
> MTASC : no more coffee break while compiling
> 
> --
> MTASC : no more coffee break while compiling
>



More information about the mtasc mailing list