Javascript HTML inside an iframe to flash textbox

<HTML>
<HEAD>
<SCRIPT>
<!--
 function interactive() {
 var gu = document.getElementById("guest").innerHTML;
 window.document.FlashTest.SetVariable("textbox1", gu);
 }
-->
</SCRIPT>
</HEAD>
<BODY>
<iframe id="guest" src="http://server.scripthost.com/guestbook?tykhon"></iframe>
<OBJECT ID='FlashTest'
 classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
 codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0"
 WIDTH=579
 HEIGHT=349>
 <PARAM NAME=movie VALUE="tet.swf">
 <PARAM NAME=quality VALUE=high>
 <PARAM NAME=bgcolor VALUE=#FFFFFF>
 <EMBED NAME='FlashTest'
 src="tet.swf"
 quality=high
 bgcolor=#FFFFFF
 WIDTH=579
 HEIGHT=349
 TYPE="application/x-shockwave-flash"
 PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"
swLiveconnect=true>
 </EMBED>
</OBJECT>
</BODY>
</HTML>

I don’t understand why this doesn’t work, I just don’t see a thing in my textbox, it’s empty…

Can u please post up ur fla.
Ur script above loads all fine…

if it is just text in ur fla, go to your properties menu, (text menu), click on character & try “Embed Fonts”

,…Hope it helps.