Как-то
Код AS3:
var videos:Array = []; /* of Video */
var quantity:int = 30;
nsPlayer = new NetStream(nc);
for (var i:int=0; i<quantity; ++i) {
var temp:Video = new Video(maxWidth, maxHeight);
temp.x = 0;
temp.y = maxHeight * i;
temp.attachNetStream(nsPlayer);
temp.addEventListener(MouseEvent.CLICK, switchNode);
videos.push(temp);
addChild(temp);
}
nsPlayer.play(flashVars.Str_name);
Дальше к видео можно обращаться так:
Код AS3:
Video(videos[i]).x = 10;
Video(videos[i]).y = 10;