User Guide
536 FLVPlayback Component (Flash Professional Only)
Buffering bar
The buffering bar has two movie clips: bufferingBar_mc and bufferingBarFill_mc. Each clip’s
position on the Stage relative to the other clip is important because this relative positioning is
maintained. The buffering bar uses two separate clips because the component scales
bufferingBar_mc but not bufferingBarFill_mc.
The bufferingBar_mc clip has 9-slice scaling applied to it, so the borders won’t distort when it
scales. The bufferingBarFill_mc clip is extremely wide, so that it will always be wide enough
without needing to be scaled. It is automatically masked at runtime to show only the portion
above the stretched bufferingBar_mc. By default, the exact dimensions of the mask will
maintain an equal margin on the left and right within the bufferingBar_mc, based on the
difference between the x (horizontal) positions of bufferingBar_mc and bufferingBarFill_mc.
You can customize the positioning with ActionScript code.
If your buffering bar does not need to scale or does not use 9-slice scaling, you could set it up
like the FLV Playback Custom UI BufferingBar component. For more information, see
“BufferingBar component” on page 527.
The buffering bar has the following additional property:
Seek bar and volume bar
The seek bar also has two movie clips: seekBar_mc and seekBarProgess_mc. Each clip’s
position on the Stage relative to the other clip is important because this relative positioning is
maintained. Although both clips scale, the seekBarProgress_mc cannot be nested within
seekBar_mc because seekBar_mc uses 9-slice scaling, which does not work well with nested
movie clips.
The seekBar_mc clip has 9-slice scaling applied to it, so the borders won’t distort when it
scales. The seekBarProgress_mc clip also scales, but it does distort. It does not use 9-slice
scaling because it is a fill, which looks fine when distorted.
Property Description
fill_mc:MovieClip
Specifies the instance name of the buffering bar fill. Defaults to
bufferingBarFill_mc.