I need some help figuring out how to position my video controls. I thought I had it figured out until I moved my video and the controls did not move with it.
I tried doing this: video.addChildAt(vidControls, 2);
but it keeps barking at me. What am I doing wrong?
video = new Video();
video.width = 640;
video.height = 360;
video.x = 140;
video.y = 130;
addChild(video);
video.attachNetStream(stream_ns);
stream_ns.play(vidSource);
//set up video controls
var vidControls:MovieClip = new Controls();
addChildAt(vidControls, 2);
vidControls.x = 4;
vidControls.y = 304;