AS3 - Access objects from external SWF files
Download accessExternalSwf.zip, 25 KB (Flash CS4 professional) loadSWFs.as ActionScript Code: // Developed by Anil kumar N D // anilkumarnd@gmail.com // ActionScript 3.0 // 30-April-2009 // http://flash-workshop.blogspot.com/ package { import flash.display.MovieClip; import flash.display.Shape; import flash.net.URLRequest; import flash.display.Loader; import flash.events.ProgressEvent; import flash.events.Event; import flash.text.TextField; import flash.text.TextFieldAutoSize; import flash.events.MouseEvent; public class loadSWFs extends MovieClip { var shp_mainLine:Shape; var shp_statusLine:Shape; var txt_status:TextField; var mc_loadedMovieClip:MovieClip = new MovieClip(); public function loadSWFs():void { mc_access.buttonMode=true; mc_pass.buttonMode=true; mc_access.mouseChildren=false; mc_pass.mouseChildren=false; mc_load.mouseChildren=false; mc_load.buttonMode=true; mc_access.visible = false; mc_pass.visi...