Fullscreen mode not working

Hello :slight_smile:

I’m not really getting this…

in a flex HTML template I have this

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
    id="${application}" width="${width}" height="${height}"
    codebase="http://fpdownload.macromedia.com/get/flashplayer/current/swflash.cab">
    <param name="movie" value="${swf}.swf" />
    <param name="quality" value="high" />
    <param name="bgcolor" value="${bgcolor}" />
    <param name="allowScriptAccess" value="sameDomain" />
    <param name="allowFullScreen" value="true" /> 
    <param name="wmode" value="transparent">
    <embed src="${swf}.swf" quality="high" bgcolor="${bgcolor}"
        width="${width}" height="${height}" name="${application}" align="middle"
        play="true"
        loop="false"
        quality="high"
        wmode="transparent"
        allowScriptAccess="sameDomain"
        allowFullScreen="true"
        type="application/x-shockwave-flash"
        pluginspage="http://www.adobe.com/go/getflashplayer">
    </embed>
</object>

so the allowFullScreen part is there, but I get this runtime error

SecurityError: Error #2152: Full screen mode is not allowed.
    at flash.display::Stage/set displayState()

Code for switching to fullscreen is just ActionScript Code:
[FONT=Courier New][LEFT][COLOR=#0000FF]stage[/COLOR].[COLOR=#000080]displayState[/COLOR] = StageDisplayState.[COLOR=#000080]FULL_SCREEN[/COLOR];
[/LEFT]
[/FONT]

I tried using all kinds of ways to write the flash HTML, but nothing worked :frowning:
I have FP 9.0.45.0

Anybody has an idea? If I won’t solve this in the next hours I’m DEAD :hitman:

Thanks a lot!