Package | fl.video |
Class | public class NCManagerNative |
Inheritance | NCManagerNative NCManager Object |
Implements | INCManager |
Language Version: | ActionScript 3.0 |
Product Version: | Flash CS3 |
Runtime Versions: | Flash Player 9.0.28.0, AIR 1.0 |
When an NCManagerNative object is used, the main.asc file is not required on the server. If bandwidth detection is not required, the NCManagerNative object allows connection to any version of the Flash Media Server (FMS) without the main.asc file.
To use this instead of the default fl.video.NCManager, put the following code in Frame 1 of your FLA file:
import fl.video.*; VideoPlayer.iNCManagerClass = fl.video.NCManagerNative;
Related API Elements
Property | Defined By | ||
---|---|---|---|
bitrate : Number
When streaming from Flash Media Server (FMS), the bitrate property
returns the value calculated from autodetection,
not the value set through the bitrate() property. | NCManager | ||
constructor : Object
A reference to the class object or constructor function for a given object instance. | Object | ||
fallbackServerName : String
Exposes the fallbackServerName property indirectly or directly. | NCManager | ||
isRTMP : Boolean [read-only]
Whether the URL is for RTMP streaming from a Flash Media Server (FMS)
or a progressive download. | NCManager | ||
netConnection : NetConnection [read-only]
Reference to the NetConnection object. | NCManager | ||
prototype : Object [static]
A reference to the prototype object of a class or function object. | Object | ||
streamHeight : int [read-only]
Height of the stream, in pixels. | NCManager | ||
streamLength : Number [override] [read-only]
Length of the stream, in milliseconds. | NCManagerNative | ||
streamName : String [read-only]
The stream name passed into the
NetStream.play() method. | NCManager | ||
streamWidth : int [read-only]
Width of the stream, in pixels. | NCManager | ||
timeout : uint
The time in milliseconds after which attempts to make a connection stop. | NCManager | ||
videoPlayer : VideoPlayer
The VideoPlayer object that owns this object. | NCManager |
Method | Defined By | ||
---|---|---|---|
Creates a new NCManagerNative instance. | NCManagerNative | ||
Closes the NetConnection. | NCManager | ||
Called by the VideoPlayer object if the connection is
successfully made but the stream is not found. | NCManager | ||
Called by the VideoPlayer object to ask for a connection to the
URL. | NCManager | ||
Allows getting of the fallbackServerName, fpadZone, objectEncoding,
and proxyType properties. | NCManager | ||
Indicates whether an object has a specified property defined. | Object | ||
Called by any helper object doing a task for the
NCManager object to signal it has completed
and whether it was successful. | NCManager | ||
Indicates whether an instance of the Object class is in the prototype chain of the object specified
as the parameter. | Object | ||
Indicates whether the specified property exists and is enumerable. | Object | ||
Called by the VideoPlayer object to ask for reconnection
after the connection is lost. | NCManager | ||
Allows setting of the fallbackServerName, fpadZone, objectEncoding,
and proxyType properties. | NCManager | ||
Sets the availability of a dynamic property for loop operations. | Object | ||
Returns the string representation of this object, formatted according to locale-specific conventions. | Object | ||
Returns the string representation of the specified object. | Object | ||
Returns the primitive value of the specified object. | Object |
Constant | Defined By | ||
---|---|---|---|
DEFAULT_TIMEOUT : uint = 60000
The default timeout in milliseconds. | NCManager | ||
SHORT_VERSION : String = "2.1" [static]
State variable indicating the short version number of the component. | NCManagerNative | ||
VERSION : String = "2.1.0.23" [static]
State variable indicating the long version number of the component. | NCManagerNative |
streamLength | property |
streamLength:Number
[read-only] [override] Language Version: | ActionScript 3.0 |
Product Version: | Flash CS3 |
Runtime Versions: | Flash Player 9.0.28.0, AIR 1.0 |
Length of the stream, in milliseconds. After the VideoPlayer.ncConnected()
method
is called, if it returns undefined, null
or less than 0,
then the VideoPlayer object knows that there is no stream length information.
If stream length information is returned, it overrides any existing steam length information
including information set by the totalTime
parameter of the
VideoPlayer.play()
method, the
VideoPlayer.load()
method or information received from the FLV file's metadata.
Implementation
override public function get streamLength():Number
Related API Elements
NCManagerNative | () | Constructor |
public function NCManagerNative()
Language Version: | ActionScript 3.0 |
Product Version: | Flash CS3 |
Runtime Versions: | Flash Player 9.0.28.0, AIR 1.0 |
Creates a new NCManagerNative instance.
SHORT_VERSION | Constant |
public static const SHORT_VERSION:String = "2.1"
Language Version: | ActionScript 3.0 |
Product Version: | Flash CS3 |
Runtime Versions: | Flash Player 9.0.28.0, AIR 1.0 |
State variable indicating the short version number of the component. The version number is useful when you have a FLA file and need to know the component version. To determine the component version, type the following code trace into the FLA file:
FLVPlayback.SHORT_VERSION
The SHORT_VERSION
variable includes only the major
and minor version numbers, for example, 2.0. The VERSION
variable includes
the major and minor version numbers as well as the revision and build numbers,
for example, 2.0.0.11.
Related API Elements
VERSION | Constant |
public static const VERSION:String = "2.1.0.23"
Language Version: | ActionScript 3.0 |
Product Version: | Flash CS3 |
Runtime Versions: | Flash Player 9.0.28.0, AIR 1.0 |
State variable indicating the long version number of the component. The version number is useful when you have a FLA file and need to know the component version. To determine the component version, type the following code trace into the FLA file:
FLVPlayback.VERSION
The VERSION
variable includes
the major and minor version numbers as well as the revision and build numbers,
for example, 2.0.0.11. The SHORT_VERSION
variable includes only the major
and minor version numbers, for example, 2.0.
Related API Elements
Mon Nov 28 2011, 06:48 AM -08:00