Wstawianie zewnątrznego pliku SWF do flash'a na layer [AS3] 
var zewnetrzenySWF:Loader = new Loader();
zewnetrzenySWF.contentLoaderInfo.addEventListener(ProgressEvent.PROGRESS,onProgress);
zewnetrzenySWF.contentLoaderInfo.addEventListener(Event.COMPLETE,onComplete);
zewnetrznySWF.load(new URLRequest("plik.swf"));
zewnetrznySWF.x = 20;
zewnetrznySWF.y = 120;
function onProgress(e:ProgressEvent):void{
//przy ladowaniu
}
function onComplete(e:Event):void{
addChild(zewnetrznySWF);
//po zaladowaniu
}
zewnetrzenySWF.contentLoaderInfo.addEventListener(ProgressEvent.PROGRESS,onProgress);
zewnetrzenySWF.contentLoaderInfo.addEventListener(Event.COMPLETE,onComplete);
zewnetrznySWF.load(new URLRequest("plik.swf"));
zewnetrznySWF.x = 20;
zewnetrznySWF.y = 120;
function onProgress(e:ProgressEvent):void{
//przy ladowaniu
}
function onComplete(e:Event):void{
addChild(zewnetrznySWF);
//po zaladowaniu
}
Listing
niema
        	Dodano przez: igor  
Ranga: Administrator serwisu Punktów: 0
Ranga: Administrator serwisu Punktów: 0
Komentarze użytkowników
:: Losowe artykuły 

:: Wymiana linków 
    
	Modowe inspiracje |
        Android Gry i Aplikacje |
        ZaplanujTransport.pl: Przeprowadzki, transport, aukcje |
        Logo dla firmy |
        Change Tires - Car Weather Forecast Reminder |
        Laminas: MVC Framework for PHP |
        IT Books Reviews and Programming: JS, JAVA, PHP, ANDROID, CSS | 
        Katalog roślin |
        Programming articles: JAVA, PHP, C++, Python, JavaScript |
        Kancelaria Adwokacka Łukasz Huszno
        
    

 
  
				

 
                             
 


 
                        
 
		 
	