[Mono-list] Embedding Mozilla in GTKSharp + javascript

Jorge Gonzalez jorge.unal at gmail.com
Thu Dec 29 10:52:36 EST 2005


hi,

I'm working with an example of navigator,
in c#, it runs fine but i've got only one problem....

I have a page made in html that have a javascript code and one flash
movie, this is the code:

_____________________________________________________________________________


http://www.monohispano.org/ejemplos/gtksharp/editor/

_____________________________________________________________________________

<body bgcolor="#ffffff" >
<embed src="peliculaFlash.swf" quality="high" bgcolor="#ffffff"
width="500" height="250"
name="peliculaFlash" swLiveConnect="true" align="middle"
allowScriptAccess="sameDomain" type="application/x-shockwave-flash"
pluginspage="http://www.macromedia.com/go/getflashplayer" />
<br>
<form name="form1" >
  <input type="text" name="sendText" maxlength="45" >
</form>
<br>
<form name="form2">
  <input type="text" name="sendText" maxlength="45"
onChange="Cargar(this);">
</form>
</body>
_____________________________________________________________________________

<script>
function Cargar(args){
    variable = document.forms[0];
    variable[0].value=args.value;
    for( i in document.embeds){
        if( document.embeds[i].name=="peliculaFlash" ){
            variable = document.forms [0];
            document.embeds[i].SetVariable("entrada" , args.value);
        }
    }
}
</script>
_____________________________________________________________________________

The flash movie have a text box with the name "entrada" only,
_____________________________________________________________________________


...Mozilla FireFox (1.5) and IE (6.0) runs the example but in the c#
navigator it does'nt load the data in the flash movie

Could you please help me to solve this?
thanks.


--

JAG
Jorge González
jorge.unal (at) gmail.com
Bogotá   -   Colombia   -   Sur América
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-list/attachments/20051229/5292a4e0/attachment.html


More information about the Mono-list mailing list