 <p>Your issue is likely because of the brackets on your ExternalInface call:</p> <pre><code>ExternalInterface.call("enter()"); </code></pre> <p>Use this instead:</p> <pre><code>ExternalInterface.call("enter"); </code></pre> <p>Also, make sure you're allowing script access in the swf embed code:</p> <pre><code>&lt;param name='AllowScriptAccess' value='always'/&gt; </code></pre>