| Michael Kønig 2005-04-07, 5:57 pm |
| Hi,
I have a problem publishing/playing my streams in the right size. It might
be that I just dont really understand the Camera.setMode(). Here is waht i
do:
I publish my stream and set the dimensions using setMode(). I then trace the
streams hieght and width to se if it worked. The trace shows that the stream
is 246*216 like it should be. (tracing )
function publishMe_large() {
out_ns_large = new NetStream(client_nc);
out_ns_large.onStatus = function(infoObj) {
};
out_ns_large.attachVideo(client_cam);
out_ns_large.publish(UNIQUE_USER_ID+"_streamer");
client_cam.setMode(246, 216, 15, false);
this.onEnterFrame=function(){
_root.ttt.text="H="+client_cam.height+"__"+"W="+client_cam.width
}
createBroadcaster_so();
}
I then play the stream through another swf and it just comes out a smaller
size. The video component on the stage is the right size and show are the
dimensions, of the stage an in the html doc - am i doing something
fundamentally wrong??
Michael
________________________________________
_________________________
Del din verden med MSN Spaces http://spaces.msn.com
=-----------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com
=-----------------------------------------------------------
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
|