
This is the Title of the Book, eMatter Edition
Copyright © 2007 O’Reilly & Associates, Inc. All rights reserved.
NetConnection Class
|
463
Event handlers
MovieClipLoader Class
The MovieClipLoader class is used to load a .swf file or JPEG image into a movie clip and
report on its download progress. Available in Flash Player 7 and later only.
Constructor
MovieClipLoader( )
Instance methods
addListener(listener:Object):Boolean
getProgress(
target:Object):Object
loadClip(
url:String, target:Object):Boolean
removeListener(
listener:Object):Boolean
unloadClip(
target:Object):Boolean
Events broadcast to listeners
onLoadComplete(target:Object):Void
onLoadError(
target:Object, errorCode:String):Void
onLoadInit(
target:Object):Void
onLoadProgress(
target:Object, bytesLoaded:Number, bytesTotal:Number):Void
onLoadStart(
target:Object):Void
NetConnection Class
The NetConnection class is used to play streaming .flv (video) files. Note that when used
with Macromedia Flash Communication Server or Macromedia Flash Remoting, the
NetConnection class supports more methods. For details, see the documentation for those
products. See also Flash Remoting: The Definitive Guide by Tom Muck (O’Reilly).
swapDepths(
mc:Object):Void
unloadMovie( ):Void
valueOf( ):Object*
a
Datatype for targetCoordinateSpace not listed in 7.0.0 and 7.0.1
b
Supported in Flash Player 7 and later
onData( ):Void onMouseMove( ):Void
onDragOut( ):Void onMouseUp( ):Void
onDragOver( ...