well static void main is the entry point in most languages. the great thing about aral's approach (and i used it in a big comercial project last year) is that you can port between MMC and swfmill/mtasc with no issues. (not that this was a consideraration at that point).
ideally you would be able to tie a class to the _root without the need to drop another MC on the stage. this is done usally by adding //code import com.namespace.Application this.__proto__=Application.prototype Application.apply( this , null ); on the root of the fla. it would make the most sense to me, if this could be done automatically. On 8/19/05, Ralf Bokelberg <[EMAIL PROTECTED]> wrote: > I always wondered about the "natural" in "natural entry point". > Most developers out there, which don't know nothing about the inner > feelings of the flashplayer, probably will find it very unnatural. In > terms of creating or adopting a standard, MainClass.main() feels much > more natural to me. But maybe i'm missing something. > > Cheers, > Ralf. > > > Aral Balkan wrote: > > > Just added a post to FlashAnt on using Swfmill and MTASC via the Natural > > Entry Point Method to publish for Flash 8. > > > > Post and source files: > > http://www.flashant.org/index.php?p=429&more=1&c=1 > > > > Thanks to Mark for helping me get the Flash 8 output from Swfmill > > working :) > > > > Aral > > > > _______________________________________________ > > osflash mailing list > > [email protected] > > http://osflash.org/mailman/listinfo/osflash_osflash.org > > _______________________________________________ > osflash mailing list > [email protected] > http://osflash.org/mailman/listinfo/osflash_osflash.org > -- j:pn _______________________________________________ osflash mailing list [email protected] http://osflash.org/mailman/listinfo/osflash_osflash.org
