Sign In Register

How can we help you today?

Start a new topic

Cannot connect to Web Socket server from SWF on Browser

Connects without problem from Flash IDE debugger and Android. Isn't connecting from SWF on browsers (Chrome, Firefox).

Is there something to add into html embed code?


error:cannot connect to Web Socket server at wss://{GAME ID} (SecurityError: Error #2048)

make sure the server is running and Flash socket policy file is correctly placed 

error:Error: Error #1009 

Temporary embed code:

 <div id="flashContent">

   <object type="application/x-shockwave-flash" data="TesterGS.swf" width="450" height="800" id="TesterGS" style="float: none; vertical-align:middle">

    <param name="movie" value="TesterGS.swf" />

    <param name="quality" value="high" />

    <param name="bgcolor" value="#333333" />

    <param name="play" value="true" />

    <param name="loop" value="true" />

    <param name="wmode" value="window" />

    <param name="scale" value="showall" />

    <param name="menu" value="true" />

    <param name="devicefont" value="false" />

    <param name="salign" value="" />

    <param name="allowScriptAccess" value="always" />

    <a href="">

     <img src="" alt="Get Adobe Flash player" />




Hi Irakli,

Do you still need help with this issue?
Were you able to solve this?



Hi Oisin,

Yes I have fixed it but I don't remember how.



Login to post a comment