PDA

View Full Version : Alternative to URL request method


saxx
06-27-2008, 08:35 AM
Ok i feel really dumb asking this question because it seems like basic actionscript3, i;ve been searching stuff (maybe over complicating it a bit) but i can't figure it out.

Oh kay here it goes, i want to load this swf from the library in the flash movie not from the URL but i can't figure out how to do it via linkage and such....any help is much appreciated. hopefully you guys actually give me answers unlike actionscript.org >.>

Please and thank you


var skrolDefaultPath:URLRequest = new URLRequest("skrol_basic.swf");




var skrolLoad3:Loader = new Loader();
var mySkrol3:MovieClip;
var myContent3:skrolContent3 = new skrolContent3();
skrolLoad3.load(skrolDefaultPath);

marilynn.fowler
07-24-2008, 01:02 AM
I believe from my Flash tutorials that you need an addChild(skrolLoad3) line.