546
Chapter 12: ActionScript Dictionary
MovieClipLoader.addListener()
Availability
Flash Player 7.
Usage
my_mcl
.addListener(
listenerObject
)
Parameters
listenerObject
An object that listens for a callback notification from the MovieClipLoader
event handlers.
Returns
Nothing.
Description
Method; registers an object to receive notification when a MovieClipLoader event handler
is invoked.
Example
See
MovieClipLoader.loadClip()
.
See also
MovieClipLoader.onLoadComplete()
,
MovieClipLoader.onLoadError()
,
MovieClipLoader.onLoadInit()
,
MovieClipLoader.onLoadProgress()
,
MovieClipLoader.onLoadStart()
,
MovieClipLoader.removeListener()
MovieClipLoader.getProgress()
Availability
Flash Player 7.
Usage
my_mcl
.getProgress(
target_mc
)
Parameters
target_mc
A SWF or JPEG file that is loaded using
MovieClipLoader.loadClip()
.
Returns
An object that has two integer properties:
bytesLoaded
and
bytesTotal
.
Description
Method; returns the number of bytes loaded and total number of bytes for a file that is being
loaded using
MovieClipLoader.loadClip()
; for compressed movies, it reflects the number of
compressed bytes. This method lets you explicitly request this information, instead of (or in
addition to) writing a
MovieClipLoader.onLoadProgress()
listener function.
Summary of Contents for FLASH MX 2004 - ACTIONSCRIPT
Page 1: ...ActionScript Reference Guide...
Page 8: ...8 Contents...
Page 12: ......
Page 24: ...24 Chapter 1 What s New in Flash MX 2004 ActionScript...
Page 54: ...54 Chapter 2 ActionScript Basics...
Page 80: ...80 Chapter 3 Writing and Debugging Scripts...
Page 82: ......
Page 110: ...110 Chapter 5 Creating Interaction with ActionScript...
Page 112: ......
Page 120: ...120 Chapter 6 Using the Built In Classes...
Page 176: ......
Page 192: ...192 Chapter 10 Working with External Data...
Page 202: ...202 Chapter 11 Working with External Media...
Page 204: ......
Page 782: ...782 Chapter 12 ActionScript Dictionary...
Page 793: ...Other keys 793 221 222 Key Key code...
Page 794: ...794 Appendix C Keyboard Keys and Key Code Values...
Page 798: ...798 Appendix D Writing Scripts for Earlier Versions of Flash Player...
Page 806: ...806 Appendix E Object Oriented Programming with ActionScript 1...
Page 816: ...816 Index...