I'm having trouble getting the hang of resizing videos and the stage properly in AS3.
I have set up a netstream
and I'm able to play a video, but whenever I set the height and width I want the embedded object to be on the page in swfobject, the video disappears.
I can still hear the audio, and I can tell the object is the right size, but no video. I have tried setting the stage.stageWidth/stageHeight
properties but they don't see to take my assignment.
Example:
stage.stageWidth = 400;
trace(stage.stageWidth); // equals 500 for some reason
The stage.stageWidth/Height properties also seem to have nothing to do with the area the flash object takes up in the browser (its the full screen). I have also tried setting stage.width/height and I get an error stating the Stage class doesn't implement these properties. I'm pretty perplexed.