Scrollpane.getbytesloaded() - MACROMEDIA FLASH 8-COMPONENTS LANGUAGE Reference

Components language reference
Table of Contents

Advertisement

// method 2: Symbol in library
my_sp.contentPath ="movieClip_Name";
// method 3: SWF file
my_sp.contentPath ="logo.swf";
See also
ScrollPane.content

ScrollPane.getBytesLoaded()

Availability
Flash Player 6 (6.0.79.0).
Edition
Flash MX 2004.
Usage
scrollPaneInstance.getBytesLoaded()
Parameters
None.
Returns
The number of bytes loaded in the scroll pane.
Description
Method; returns the number of bytes loaded in the ScrollPane instance. You can call this
method at regular intervals while loading content to check its progress.
Example
This example creates a ScrollPane instance called
and defines a listener object called
my_sp
with a
event handler. The event handler calls the
loadListener
progress
and
functions to display the progress of the load in
getBytesLoaded()
getBytesTotal()
the Output panel.
ScrollPane.getBytesLoaded()
1107

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Flash 8

Table of Contents