A couple notes about MTASC - First off its pretty strict. Your code has to be pretty solid, items have to be casted properly, variables cannot be redefined in the same scope, etc, or MTASC bitches at your fierce. Its not a bad thing in the long run, but something you should think about preparing for if you are going to use it. I had to refactor an entire codebase which was quite large, and clean up the casting and variable definitions, in order for MTASC to work with it. IT was not fun. The code, by no means was incorrect or even sloppy. MTASC is just super super strict. I personally like that tho. Having said that, once I got it running through MTASC I went from a four and half minute compile time to 29 seconds. That made things so much easier :)
> Oh, sorry about that. Didn't read carefully enough. > > I don't think there is a solution given your contraints...but I'm > going to offer my two cents. Forget MM's compiler. It might as well be > unsupported. Tech support will cost a fortune to speak to and I'm > pretty sure they wouldn''t be able to fix your problems anyway. > > Switch to MTASC. Convince whoever you're working for that it's a good > idea. Your life will be easier and consequently, so will everyone > elses. I've been using it for more than a year building major > libraries (ActionStep -- http://tinyurl.com/lupmv) and at this point > there is absolutely nothing to worry about. A large and well-versed user > base will be right at your fingertips. Lots of coders were fed up with > MMC a long time ago, and are now happily enjoying Flash > development again. > > Hope you didn't mind the rant, good luck, > Scott > > On 14/06/06, Sam Thorne <[EMAIL PROTECTED]> wrote: >> Hi Scott, >> >> Yeah, I've seen this, but the problem isn't making the compile call, >> it's running Flash while not in a windowing environment. >> >> All Mike's script really does is build a custom jsfl script on the >> fly, open Flash and run the script. >> It's the 'Open Flash' bit that we're stuck with, as we have no logged >> in user. >> >> On 14 Jun 2006, at 14:29PM, Scott Hyndman wrote: >> >> >> > http://weblogs.macromedia.com/mesh/archives/2003/11/ >> > flashcommand_fl.html >> > >> > On 14/06/06, Éric Thibault <[EMAIL PROTECTED]> wrote: >> > >> >> Do your command line from a .bat wrapped with a SU command >> (substitut user with the password). I don't have an example with >> me but will try >> >> to get one from home. I've used that trick a lot but it was over 6 >> years ago..... >> >> >> >> A+ >> >> >> >> Sam Thorne a écrit : >> >> > Hi List, >> >> > >> >> > I'm working on a project where we're looking at switching to >> >> nightly builds for the development process, building on MS Windows. >> >> > >> >> > At the moment a cron job attempts to run the compile and gets >> >> stuck on our Flash compilation. >> >> > This is probably because the build machine isn't running as a >> >> logged in user, but as a system process. This means when Flash >> tries to throw up a splash screen etc. it is probably falling over. >> >> > We can't run it as a logged in user (and thus get the windowing >> >> environment), as it breaches company security to have a dummy user >> logged in all the time and the machine will auto logout after a >> couple of minutes. >> >> > >> >> > We can't use mtasc, because of issues with using an unsupported >> >> compiler for production code. >> >> > >> >> > Is there any way to do a command line compile with pure >> >> actionscript 2.0 .as and .fla based source files without a >> >> windowing environment? >> >> > Is this something that Flex can do for us, or would we have to >> >> rewrite into mxml? >> >> >> >> >> >> Regards, >> >> Sam Thorne >> Interaction Design >> >> Web: http://www.native.com/ >> Tel: +44 (0)207 588 7970 >> Fax: +44 (0)207 588 >> 7971_______________________________________________ >> [email protected] >> To change your subscription options or search the archive: >> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders >> >> Brought to you by Fig Leaf Software >> Premier Authorized Adobe Consulting and Training >> http://www.figleaf.com >> http://training.figleaf.com >> > _______________________________________________ > [email protected] > To change your subscription options or search the archive: > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > Brought to you by Fig Leaf Software > Premier Authorized Adobe Consulting and Training > http://www.figleaf.com > http://training.figleaf.com _______________________________________________ [email protected] To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com

