944
ActionScript classes
this._yscale = 200;
};
box_mc.onRollOut = function() {
this._xscale = 100;
this._yscale = 100;
this._x += this._width/2;
this._y += this._height/2;
};
See also
_height (MovieClip._height property)
,
_x (MovieClip._x property)
,
_xscale
(MovieClip._xscale property)
,
_y (MovieClip._y property)
MovieClipLoader
Object
|
+-MovieClipLoader
public class
MovieClipLoader
extends Object
This class lets you implement listener callbacks that provide status information while SWF,
JPEG, GIF, and PNG files are being loaded into movie clips. To use MovieClipLoader
features, use
MovieClipLoader.loadClip()
instead of
loadMovie()
or
MovieClip.loadMovie()
to load SWF files.
After you issue the
MovieClipLoader.loadClip()
command, the following events take
place in the order listed:
■
When the first bytes of the downloaded file have been written to the hard disk, the
MovieClipLoader.onLoadStart
listener is invoked.
■
If you have implemented the
MovieClipLoader.onLoadProgress
listener, it is invoked
during the loading process.
Note:
You can call
MovieClipLoader.getProgress()
at any time during the load
process.
■
When the entire downloaded file has been written to the hard disk, the
MovieClipLoader.onLoadComplete
listener is invoked.
■
When the downloaded file's first frame actions have been executed, the
MovieClipLoader.onLoadInit
listener is invoked.
When
MovieClipLoader.onLoadInit
has been invoked, you can set properties, use
methods, and otherwise interact with the loaded movie.
If the file fails to load completely, the
MovieClipLoader.onLoadError
listener is invoked.
Summary of Contents for FLASH 8-ACTIONSCRIPT 2.0 LANGUAGE
Page 1: ...ActionScript 2 0 Language Reference ...
Page 1352: ...1352 ActionScript classes ...