I'm working with a flash video player that is simliar to Youtube's chromeless video player. However, for some reason I continue to get SecurityError: Error #2152: Full screen mode is not allowed. even though allowFullScreen is set to true.
public function interfaceFullScreen ():void { if (stage.displayState == StageDisplayState.NORMAL) { trace('normal to full'); stage.fullScreenSourceRect = new Rectangle(videoChild.x, videoChild.y, videoChild.width, videoChild.height); try { stage.displayState = StageDisplayState.FULL_SCREEN; } catch (e:Error) { trace(e); } } else { stage.displayState = StageDisplayState.NORMAL; } } I'm not sure if there is something happening here with the way the SWF embeds (javascript string to div innerHTML) or if I'm over looking something. _______________________________________________ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders