EasyManua.ls Logo

MACROMEDIA FLASH 8-ACTIONSCRIPT 2.0 LANGUAGE - Name (Video._Name Property); Parent (Video._Parent Property)

MACROMEDIA FLASH 8-ACTIONSCRIPT 2.0 LANGUAGE
1378 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
1280 ActionScript classes
netConn.connect(null);
var netStrm:NetStream = new NetStream(netConn);
myVideo.attachVideo(netStrm);
netStrm.play("Video.flv");
netStrm.onStatus = function(infoObject:Object) {
switch (infoObject.code) {
case 'NetStream.Play.Start' :
case 'NetStream.Buffer.Full' :
myVideo._width = myVideo.width;
myVideo._height = myVideo.height;
break;
}
}
See also
_height (MovieClip._height property), width (Video.width property)
_name (Video._name property)
public _name : String
Indicates the instance name of the Video object specified.
Availability: ActionScript 1.0; Flash Player 8
_parent (Video._parent property)
public _parent : MovieClip
Indicates the movie clip or object that contains the current Video object. The current object is
the object containing the ActionScript code that references
_parent. Use the _parent
property to specify a relative path to movie clips or objects that are above the current object.
You can use
_parent to move up multiple levels in the display list as in the following:
this._parent._parent._alpha = 20;
Availability: ActionScript 1.0; Flash Player 8
See also
_root property, _target (MovieClip._target property)

Table of Contents

Related product manuals