Was testing the scale features inside of Flash with an FLVPlayback component. Ran the simple script below. I would assume that when you move the debug screen the video object would stay the same size as the screen. This was not the case. I guess its a question of what "absolute zero" (0,0) is on the SWF. Is there another way of going about this so that the screen depicts the size of the object?

%%
import mx.video.*;
Stage.scaleMode = "noScale";
my_FLVPlybk.maintainAspectRatio=false;
my_FLVPlybk.contentPath = "http://www.helpexamples.com/flash/video/water.flv";;
var stageListener:Object = new Object();
stageListener.onResize = function() {
   my_FLVPlybk._height= Stage.height;
   my_FLVPlybk._width = Stage.width;
   my_FLVPlayback._x = 0;
   my_FLVPlayback._y = 0;
};
Stage.addListener(stageListener);
%%


Also tried this on the HTML 100% stage going full screen. Still got weird results.
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to