[mtasc] loadMovieNum

Luchyx luchi_bustos at yahoo.com.ar
Tue Jul 12 15:42:09 CEST 2005


Try with
    loadMovie()  and pass a scope target or reference.
////////////////////////////////// main class  linked to a SWF or with  
params  -header 400:400:20
class appstarter {
    private var scope: MovieClip;
    function  appstarter(where:MovieClip) {
       where.loadMovie("loadedmovie.swf");
       Flashout.info("app started called!");
    }
    public static function main() {
       var tempInstance:appstarter = new appstarter(_root);
    }
}


Marcelo Volmaro wrote:

> Hi!,
> I´m trying to use loadMovieNum with MTASC, and it says "type error 
> Unknown variable loadMovieNum".
> I need to use this because i want to create a _level (yeah, i know, i 
> know, i should not use levels, but for what i´m doing, it´s far more 
> easy to use a level than to write a complete class).
> There is any way in which i can compile that under MTASC?
>
> Thanks in advance!,
>


	

	
		
___________________________________________________________ 
1GB gratis, Antivirus y Antispam 
Correo Yahoo!, el mejor correo web del mundo 
http://correo.yahoo.com.ar 




More information about the mtasc mailing list