Progressbar.setprogress() - MACROMEDIA FLASH 8-COMPONENTS LANGUAGE Reference

Components language reference
Table of Contents

Advertisement

See also
EventDispatcher.addEventListener()

ProgressBar.setProgress()

Availability
Flash Player 6 (6.0.79.0).
Edition
Flash MX 2004.
Usage
progressBarInstance.setProgress(completed, total)
Parameters
A number indicating the amount of progress that has been made. You can use
completed
the
and
properties to display the number in
ProgressBar.label
ProgressBar.conversion
percentage form or any units you choose, depending on the source of the progress bar.
A number indicating the total progress that must be made to reach 100%.
total
Returns
A number indicating the amount of progress that has been made.
Description
Method; sets the state of the progress bar to reflect the amount of progress made when the
property is set to
. You can call this method to make the bar
ProgressBar.mode
"manual"
reflect the state of a process other than loading. For example, you might want to explicitly set
the progress bar to zero progress.
The
parameter is assigned to the
property and the
parameter is
completed
value
total
assigned to the
property. The
property is not altered.
maximum
minimum
1018
ProgressBar component

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Flash 8

Table of Contents