If I add the -mx parameter to MTASC (I'm working through FlashDevelop) it removes the error, but the Delegate class doesn't work anymore (Delegate.create returns undefined).
-Andy On 1/23/07, Andy Herrman <[EMAIL PROTECTED]> wrote:
Hmm...I just tried building using MTASC and I'm getting an error in one of the mx classes. It's choking on mx.utils.Delegate (variables aren't typed). Is there a way to keep MTASC from being too strict on the built in mx classes? -Andy On 1/22/07, Francis Chary <[EMAIL PROTECTED]> wrote: > It's doesn't have to be that way. On the last project I did, I used MTASC > for about 90% of the development, then switched to the Flash IDE during the > last week. As long as you can start your application with the same line of > code, it doesn't really matter which compiler you use. > > Basically, in FlashDevelop, I had a static main function that started the > app thusly: > > var newMenu:MenuController = new MenuController(); > > In the Flash IDE, I used the same line of code, but I put it in frame 1 > instead. It amounts to the same thing though. > > Francis > > On 1/22/07, Andy Herrman <[EMAIL PROTECTED]> wrote: > > > > So, I actually use FlashDevelop to write my code, and just switch to > > the Flash IDE to build (I really dislike the IDE). > > > > The problem with using it has nothing to do with installing it or > > being able to run it on my machine. The problem is that MTASC would > > essentially be responsible for things that go into production. If > > Flash has some bug that causes problems the company could get support, > > but it's not really the same with MTASC. > > > > That said, if things can be set up to use both at once then I probably > > could use it during development, and just use Flash to do the final > > compile. I think I might try that. > > > > I know MTASC is stricter, which is actually a reason I want to use it. > > Unfortunately the 2 big flash movies that I have been working on I > > inherited when the only guy in the company who knew flash quit (I > > mainly did Java with some C++), and they used just the Flash IDE, so I > > have no idea how easy/hard it would be to get MTASC working with > > those. > > > > I might give it a try for the new project I'm working on though. If I > > can get it working nicely with FD (not that I think that will be hard) > > then it would make me happy. > > > > -Andy > > > > On 1/22/07, Steven Sacks | BLITZ <[EMAIL PROTECTED]> wrote: > > > I think you have a misconception about MTASC. It isn't a replacement > > > for Flash (unless you're a G like Ben Jackson), it's a 3rd party > > > compiler for Flash. > > > > > > When Flash compiles, it recompresses all the media (graphics, sound, > > > components) as it compiles. All MTASC does is injects code into the > > > swf. So, you can update your classes and use MTASC to compile and cut > > > your compile time down to less than a second where Flash can take many > > > (some of my FLAs take over 30 seconds!). > > > > > > To use MTASC, you need to be writing AS2 classes, as any timeline code > > > or #include code changes won't be updated using MTASC. FLASC is an easy > > > to use GUI for MTASC that runs as a panel in the Flash IDE and it's how > > > I use MTASC (beats learning to write those long command lines). > > > > > > Using FLASC from the beginning of a project is ideal, because MTASC is > > > stricter than the Flash IDE compiler. A benefit of its strictness is it > > > forces you to be a better coder. If you jump into the middle of a > > > project with FLASC, it will probably take you a bit to get it going. It > > > will only really benefit you if your FLAs take more than a second or two > > > to compile. If you're waiting 5-10 seconds every time you make a > > > change, it might be worth your time to install FLASC. > > > > > > As far as your corporatation goes, you're still using Flash. FLASC is a > > > panel inside of Flash. You'll have to get MTASC, which is just an > > > executable that sits in your Program Files folder, but it doesn't > > > require installation - you download it and put it there manually. No > > > administrator access required. > > > > > > HTH, > > > Steven > > > _______________________________________________ > > > Flashcoders@chattyfig.figleaf.com > > > 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 > > > > > _______________________________________________ > > Flashcoders@chattyfig.figleaf.com > > 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 > > > _______________________________________________ > Flashcoders@chattyfig.figleaf.com > 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 >
_______________________________________________ Flashcoders@chattyfig.figleaf.com 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