Hi all !!

I've been testing the loading of Java3D models. I usually work with OBJ and 3DS files.
Now I'm trying to load a j3d applet in an HTML page, and call it to re-load different 
models according to the link I push (passing the filename and the scale as parameters 
from the link call). I've found this has to be done from Javascript:

          <a href="javascript:document.myApplet.doSomething('filename.3ds', '0.5')">

where myApplet is the applet name given in the HTML file, and doSomething() is the 
applet method that has to reload a file.
I've found examples of calling an appletmethod from HTML and they work, but in them, 
the applet is loaded with <APPLET> tag.
My example gives a javascript error: "document.myApplet has no properties".
Is the error given because I try to call a converted applet (into <OBJECT> tag) ?
Has anybody been working with this ?

Any help would be appreciated.
Thanks in advanced !!

Dani



--

Diese E-Mail enth�lt vertrauliche und/oder rechtlich gesch�tzte Informationen. Wenn 
Sie nicht der richtige Adressat sind oder diese E-Mail irrt�mlich erhalten haben, 
informieren Sie bitte sofort den Absender und vernichten Sie diese Mail. Das 
unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail ist nicht gestattet.

This e-mail may contain confidential and/or privileged information. If you are not the 
intended recipient (or have received this e-mail in error) please notify the sender 
immediately and destroy this e-mail. Any unauthorised copying, disclosure or 
distribution of the material in this e-mail is strictly forbidden.

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to