Problem: I am creating a Flash stand alone projector that relies on
several FLVPlayback component instances to play some local file
system flv video. When I am in full-screen mode and try to display a
video (instructing a movie clip container to go to a particular frame
where the video resides), the screen turns black. Pressing ESC exits
full-screen mode, but displays no video. I then have to go to a frame
where the movie clip container does not exist, then return, and video
then appears. The problem is exhibited on both Mac OS X and Windows.
Expected behavior: I want to run a full-screen mode projector that
displays flv assets non full-screen, in an appropriate aspect ratio,
with controls like the ones FLVPlayback offers. Help!
I achieve full-screen mode like this:
// _target_mc is the main timeline movieclip:
_target_mc.stage.displayState = StageDisplayState.FULL_SCREEN;
I attempt to turn off full-screen playback for FLVPlayback instances
using:
// vid is the FLVPlayback instance:
vid.fullScreenTakeOver = false;
I wouldn't be surprised if I am running up against a silly security
limitation. The documentation mentions that FLVPlayback will fail
silently if there is a security conflict, so I'm not sure I can
listen for any security events. Any suggestions exploring this are
appreciated.
I may end up dynamically creating and displaying FLVPlayback
instances instead of relying on the easier stage layout method.
Setting the fullScreenTakeOver property might have to be performed
before the instance is added to the display list.
Details:
Flash 9, AS 3 fla published as Projector
flash.system.Security.sandboxType is localTrusted
FLVPlayback.VERSION is 2.0.0.37
thanks for your input,
Steve
_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com