ActionScript 2.0 Components Language Reference |
|
|
|
| FLVPlayback Component > FLVPlayback class > FLVPlayback.ncMgr | |||
Flash Player 8.
Flash Professional 8.
my_FLVPlybk.ncMgr
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.
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);
|
|
|
|