Dear Jmolers,
I am working with the signed applet. I have set up a message call back and a 
load structure call back. They work as expected as long as I load files with a 
"load ?" command for example.
But, I tried to load a file by dragging a png file created by Jmol from a 
previous scene. The structure loads perfectly and the script runs itself as it 
should. But after that I can't get the messages from the applet, neither can I 
have access to the information that a new file has been loaded. I suspected 
that the state script embedded in the PNG file was to blame, so I tried to load 
a state script in my page with the "script ?" command, and it indeed gave the 
same result.
The PickCallBack is not affected.

I did not find any reference to a "set messageCallBack" function in the state 
file, so I don't know which piece of code might cause this. But I cannot 
envision neither a workaround, that is to say : how can I have access to the 
information that a state script has been loaded (or a png jmol file has been 
dragged on to the applet) ?

Thanks
-Paul

------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to