[prev in list] [next in list] [prev in thread] [next in thread]
List: mono-list
Subject: [Mono-list] Embedding Mozilla in GTKSharp + javascript
From: Jorge Gonzalez <jorge.unal () gmail ! com>
Date: 2005-12-29 15:52:36
Message-ID: 61d77c580512290752x5af679b4v () mail ! gmail ! com
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
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
[Attachment #5 (text/html)]
<span class="gmail_quote"></span>hi,<br><br>I'm working with an example of \
navigator,<br>in c#, it runs fine but i've got only one problem....<br><br>I have a \
page made in html that have a javascript code and one flash<br> movie, this is the \
code:<br><br>_____________________________________________________________________________<br><br><br><a \
href="http://www.monohispano.org/ejemplos/gtksharp/editor/">http://www.monohispano.org/ejemplos/gtksharp/editor/
</a><br><br>_____________________________________________________________________________<br><br><body \
bgcolor="#ffffff" ><br><embed src="peliculaFlash.swf" \
quality="high" bgcolor="#ffffff" <br>width="500" \
height="250"<br>name="peliculaFlash" \
swLiveConnect="true" \
align="middle"<br>allowScriptAccess="sameDomain" \
type="application/x-shockwave-flash" <br>pluginspage="<a \
href="http://www.macromedia.com/go/getflashplayer">http://www.macromedia.com/go/getflashplayer</a>" \
/><br><br><br><form name="form1" ><br> <input \
type="text" name="sendText" maxlength="45" > \
<br></form><br><br><br><form \
name="form2"><br> <input type="text" \
name="sendText" \
maxlength="45"<br>onChange="Cargar(this);"><br></form><br>
</body><br>_____________________________________________________________________________<br><br><script><br>function \
Cargar(args){<br> variable = \
document.forms[0];<br> variable[0].value=args.value;<br> for( \
i in document.embeds){<br> if( \
document.embeds[i].name=="peliculaFlash" \
){<br> variable \
= document.forms [0];<br> document.embeds[i].SetVariable("entrada" \
, args.value);<br> } \
<br> }<br>}<br></script><br>_____________________________________________________________________________<br><br>The \
flash movie have a text box with the name "entrada" \
only,<br>_____________________________________________________________________________
<br><br><br>...Mozilla FireFox (1.5) and IE (6.0) runs the example but in the \
c#<br>navigator it does'nt load the data in the flash movie<br><br>Could you please \
help me to solve this?<br>thanks.<br><br clear="all"><br>-- <br><br>JAG<br>Jorge \
González<br>jorge.unal (at) <a \
href="http://gmail.com">gmail.com</a><br>Bogotá - \
Colombia - Sur América<br><br>
_______________________________________________
Mono-list maillist - Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic