MACROMEDIA FLASH MX 2004-USING COMPONENTS Use Manual page 619

Using components
Hide thumbs Also See for FLASH MX 2004-USING COMPONENTS:
Table of Contents

Advertisement

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
ProgressBar.mode
the state of a process other than loading. For example, you might want to explicitly set the
progress bar to zero progress.
The
completed
to the
property. The
maximum
Example
The following code calls
Timeline:
pBar.setProgress(_currentFrame, _totalFrames);
ProgressBar.source
Availability
Flash Player 6 (6.0 79.0).
Edition
Flash MX 2004.
Usage
pBarInstance.source
Description
Property; a reference to the instance to be loaded whose loading process will be displayed. The
loading content should emit a
retrieved. This property is used only when
The default value is
The ProgressBar component can be used with content within an application, including
Example
This example sets the
the instance name
pBar.source = loader;
See also
ProgressBar.mode
property is set to
"manual"
parameter is assigned to the
minimum
setProgress()
progress
.
undefined
instance to display the loading progress of a Loader component with
pBar
:
loader
. You can call this method to make the bar reflect
property and the
value
property is not altered.
according to the progress of a Flash application's
event from which the current and total values are
ProgressBar.mode
parameter is assigned
total
is set to
or
"event"
"polled"
ProgressBar component
.
.
_root
619

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH MX 2004-USING COMPONENTS and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

This manual is also suitable for:

Flash mx

Table of Contents