Code voor het extern inladen van een SWF file: Difference between revisions

From Edgar BV Wiki
Jump to navigation Jump to search
(New page: var thisRequest:URLRequest = new URLRequest("digitalclock.swf"); var thisLoader:Loader = new Loader(); thisLoader.load(thisRequest); stage.addChild(thisLoader); thisLoader.x = 50; thisLoad...)
 
No edit summary
 
Line 1: Line 1:
var thisRequest:URLRequest = new URLRequest("digitalclock.swf");
var thisRequest:URLRequest = new URLRequest("digitalclock.swf");<br />
var thisLoader:Loader = new Loader();
var thisLoader:Loader = new Loader();<br />
thisLoader.load(thisRequest);
thisLoader.load(thisRequest);<br />
stage.addChild(thisLoader);
stage.addChild(thisLoader);<br />
thisLoader.x = 50;
thisLoader.x = 50;<br />
thisLoader.y = 50;
thisLoader.y = 50;<br />

Latest revision as of 09:13, 14 October 2009

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