Modifying Skin Behavior
If you know ActionScript, it is easy to modify the FLVPlayback component skin behavior. Let me demonstrate with two simple examples. There are many scripts for modifying the properties of your Flash videos—see the ActionScript 2.0 Language Reference in the Flash Help section for details.
The bufferingBarHidesAndDisablesOthers property and the skinAutoHide property allow you to customize the behavior of your FLVPlayback skin.
Setting the bufferingBarHidesAndDisablesOthers property to true (see Figure 5) causes the FLVPlayback component to hide the SeekBar and its handle as well as disable the Play and Pause buttons when the component enters the buffering state. This can be useful when an FLV file is streaming from over a slow connection with a high setting for the bufferTime property (10, for example). In this situation, an impatient user might try to start seeking by clicking the Play and Pause buttons, which could delay playing the file even longer. You can prevent this activity by setting bufferingBarHidesAndDisablesOthers to true and disabling the SeekBar element and the Pause and Play buttons while the component is in the buffering state.
Figure 5 A line of simple ActionScript code that causes the FLVPlayback component to hide the SeekBar and its handle as well as disable the Play and Pause buttons when the component enters the buffering state.
The skinAutoHide property affects only predesigned skin SWF files, not controls created from the FLVPlayback custom UI components. If set to true, the FLVPlayback component hides the skin when the mouse is not over the viewing area (See Figure 6). The default value of this property is true.
Figure 6 The skinAutoHide property setting in the Parameters tab of the Property inspector