FLVPlayback resizing bug

When going fullscreen in the Flash Player with an FLVPlayback component on the Stage, the FLVPlayback takes over the whole screen. To avoid that, set the FLVPlayback’s fullScreenTakeOver property to false.

Doing that when already in fullscreen resets the FLVPlayback to a size of 320 by 240 px. This happens when you set the size of the FLVPlayback component before you set the fullScreenTakeOver property. Doing this in the opposit order, however, works as intended.

So if you create an FLV player when in fullscreen mode, don’t:

flv_movie.addEventListener(VideoEvent.COMPLETE, loopVideo); 
flv_movie.width = 993; 
flv_movie.height = 558; 
flv_movie.fullScreenTakeOver = false; 

but do:

flv_movie.addEventListener(VideoEvent.COMPLETE, loopVideo); 
flv_movie.fullScreenTakeOver = false; 
flv_movie.width = 993; 
flv_movie.height = 558;