User Guide
614 FLVPlayback Component (Flash Professional Only)
Description
Property; an INCManager object that provides access to an instance of the class implementing
INCManager, which is an interface to the NCManager class.
You can use this property to implement a custom INCManager that requires custom
initialization. Read-only.
Example
The following example shows the value of the NetConnection DEFAULT_TIMEOUT property
when the
ready event occurs.
Drag an FLVPlayback component to the Stage, and give it an instance name of
my_FLVPlybk. Then add the following code to the Actions panel on Frame 1 of the
Timeline:
/**
Requires:
- FLVPlayback component on the Stage with an instance name of my_FLVPlybk
*/
import mx.video.*;
// specify name and location of FLV
my_FLVPlybk.contentPath = "http://www.helpexamples.com/flash/video/
clouds.flv";
var listenerObject:Object = new Object();
listenerObject.ready = function(eventObject:Object):Void {
var NC:Object = new Object();
NC = my_FLVPlybk.ncMgr;
trace("Net connection timeout is " + NC.DEFAULT_TIMEOUT + "
milliseconds");
};
my_FLVPlybk.addEventListener("ready", listenerObject);
See also
VideoPlayer class
FLVPlayback.pause()
Availability
Flash Player 8.
Edition
Flash Professional 8.
Usage
my_FLVplybk.pause()