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)
_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
property to specify a relative path to movie clips or objects that are above the current object.
You can use
_parent
this._parent._parent._alpha = 20;
Availability: ActionScript 1.0; Flash Player 8
See also
,
_root property
_target (MovieClip._target property)
1280
ActionScript classes
to move up multiple levels in the display list as in the following:
,
width (Video.width property)
_parent
. Use the
_parent
Need help?
Do you have a question about the FLASH 8-ACTIONSCRIPT 2.0 LANGUAGE and is the answer not in the manual?