Hey J3D
 
ive  been trying to understand the communication between html an an applet for some time now,
im trying to interface to an applet through an html page , specifically , calling some public methods in my applet from the html page.
now, when i used the <APPLET> tag and then referenced the applet like:
        AppletName.MethodName();
 
it worked out fine but i didnt manage to do the same using the <OBJECT> and <EMBED> tags,
even when i used the htmlConverter1.3 to convert the former html version (using APPLET tag)
which created an htm file with OBJECT / EMBED tags but it didnt work, whenever i tried to call a method in my applet i got a message "Error in page" from the browser.
 
now, i know that my applet is recognised in that html file , the following line printed the applet name:
document.write(document.Applets[0].name) so.. what could be the problem ?
 
is there a problem with using OBJECT tag and connecting to the applet ?
if you have an html page using OBJECT / EMBED tags and that "talks" to some public methods / properties in applet its initializing then dont be ashamed to also send it along,,
 
Ben Arbel
Comsoft Technologies, Inc.
[EMAIL PROTECTED]
ICQ: 86004063

Reply via email to