topical media & game development

talk show tell print

object-iframe.cfg



  
  
  <script language="JavaScript" type="text/javascript">
  
  function moveIFrame(x,y,w,h) {
      var frameRef=document.getElementById("myFrame");
      frameRef.style.left=x + @xoffset;
      frameRef.style.top=y + @yoffset;
      var iFrameRef=document.getElementById("myIFrame");        
          iFrameRef.width=w;
          iFrameRef.height=h;
  }
  
  function hideIFrame(){
      document.getElementById("myFrame").style.visibility="hidden";
  }
          
  function showIFrame(){
      document.getElementById("myFrame").style.visibility="visible";
  }
  
  function loadIFrame(url){
          document.getElementById("myFrame").innerHTML = "<iframe id='myIFrame' src='" + url + "'frameborder='0'></iframe>";
  }
  
  </script>
  
  <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" 
  id="@id" 
  width="@width" height="@height"
  codebase="http://fpdownload.macromedia.com/get/flashplayer/current/swflash.cab">
  <param name="movie" value="@mx-@cfg-object-iframe.swf" />
  <param name="quality" value="high" />
  <param name="bgcolor" value="black" />
  <param name="allowScriptAccess" value="sameDomain" />
  <param name="allowFullScreen" value="true" />
  <param name="wmode" value="opaque"/>
  <embed src="@mx-@cfg-object-iframe.swf" 
  quality="high" bgcolor="black"
  width="@width" height="@height"
  name="@id" 
  align="middle" 
  play="true" loop="true" 
  allowScriptAccess="sameDomain"
  allowFullScreen="true"
  type="application/x-shockwave-flash" 
  pluginspage="http://www.adobe.com/go/getflashplayer"
  wmode="opaque">
  </embed>
  </object>
  
  <div id="myFrame" style="position:absolute;background-color:transparent;border:0px;visibility:hidden;"></div>
  


(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.