topical media & game development

talk show tell print

professional-javascript-18-FlashExample4.htm / htm



  <html>
      <head>
          <title>Flash Example</title>
          <script type="text/javascript">
          
              function getMessageFromFlash(sMessage) {
                  alert("Flash says: \"" + sMessage + "\".");
              }
          </script>
  
      </head>
      <body>
          <p>This example shows how a Flash Movie can call a JavaScript function
          using <code>getURL()</code> from within the movie.</p>
          <object type="application/x-shockwave-flash" data="ExampleMovie3.swf" 
          width="200" height="200" id="ExampleMovie">
              <param name="movie" value="ExampleMovie3.swf" />
          </object>
  
      </body>
  </html>
  


(C) Æliens 20/2/2008

You may not copy or print any of this material without explicit permission of the author or the publisher. In case of other copyright issues, contact the author.