[mtasc] loadMovieNum?

John Grden john at blitzds.com
Wed Jun 15 18:38:53 CEST 2005


Why is unloading a level "better" than removing a movieclip?  Did you
mean "easier" maybe? 


John Grden - 310-551-0200 x207
-----Original Message-----
From: mtasc-bounces at lists.motion-twin.com
[mailto:mtasc-bounces at lists.motion-twin.com] On Behalf Of Elsass
Philippe
Sent: Wednesday, June 15, 2005 7:37 AM
To: Xavi Beumala
Cc: MotionTwin ActionScript2 Compiler List
Subject: Re: [mtasc] loadMovieNum?

loadMovieNum is a special SWF bytecode, I don't think I can add it to
the topLevel.as definitions.

Why do you think loadMovieNum is bad practice? Because it's not in a
class?

Flash levels can be usefull and sometimes necessairy. For example to
load external SWF not prepared to be a subclip of an application.
Moreover unloading levels is better than unloading movieclips.


Please, Nicolas...

Regards,
Philippe

On 6/15/05, Xavi Beumala <xavi at code4net.com> wrote:
> You can modify <mtasc_folder>/std/topLevel.as and add a definition 
> line for loadMovieNum.
> 
> I'm not sure if this is the best way to go. I think (as I said in my 
> previous mail) that there are some instructions that favor bad 
> practices. For sure stopAllSounds and loadMovieNum are one of them :P
> 
> Cheers
> X.
> 
> Elsass Philippe wrote:
> > Hello,
> >
> > Apparently "loadMovieNum" is not supported by MTASC...
> > Is there any workaround?
> >
> > Thanks
> > Philippe
> > --
> > MTASC : no more coffee break while compiling
> >
> >
> 
>
--
MTASC : no more coffee break while compiling



More information about the mtasc mailing list