![]() ![]() | |
Flash Player 6.0.79.
Flash MX 2004.
loaderInstance.load(path)
path An optional parameter that specifies the value for the contentPath property before the load begins. If a value is not specified, the current value of contentPath is used as is.
Nothing.
Method; tells the loader to begin loading its content.
The following code creates a Loader instance and sets the autoload property to false so that the loader must wait for a call for the load() method to begin loading content. It then calls load() and indicates the content to load:
createClassObject(mx.controls.Loader, "loader", 0);
loader.autoload = false;
loader.load("logo.swf");
![]() ![]() | |