Code voor het extern inladen van een SWF file

From Edgar BV Wiki
Jump to navigation Jump to search

var thisRequest:URLRequest = new URLRequest("digitalclock.swf");
var thisLoader:Loader = new Loader();
thisLoader.load(thisRequest);
stage.addChild(thisLoader);
thisLoader.x = 50;
thisLoader.y = 50;