ProgressBar.percentComplete

Availability

Flash Player 6.0.79.

Edition

Flash MX 2004.

Usage

pBarInstance.percentComplete

Description

Property (read-only); returns the percentage of completion of the process. This value is floored. The following is the formula used to calculate the percentage:

100*(value-minimum)/(maximum-minimum)

Example

The following code sends the value of the percentComplete property to the Output panel:

trace("percent complete = " + pBar.percentComplete);