Msg#: 3050293 posted 5:55 pm on Aug 17, 2006 (gmt 0)
I have a video player that may contain very small videos from camera phones, etc., or very large Camtasia videos (small and large here being in terms of their dimensions). When the player receives a file that's larger than it's default size, it automatically adjusts itself.
Here's the resize function from Actionscript:
Msg#: 3050293 posted 9:43 pm on Aug 17, 2006 (gmt 0)
Aha. I figured out part of the problem. This line: Stage.scaleMode = noScale;
should be this:
Stage.scaleMode = "noScale";
Now my only problem is that the movie shows up centered on the expanded stage area. Worse, it doesn't recognize 0,0 as the top left corner. The top left corner's x and y coordinates are negative numbers. Does anyone know a way to fix this?