Hi list,
I am trying to use the getPropertyAsArray function with my applet as the 
following:

var bleh = applet.getPropertyAsArray("boundboxInfo");
alert(bleh.length);
alert(bleh.center[0]);

But the above code does not work because no alerts are raised. However, if it 
works if I try:

var bleh = applet.getPropertyAsString("boundboxInfo");
alert(bleh);

Also works for: 
var bleh = applet.getPropertyAsJSON("boundboxInfo");

alert(bleh);

Now I am convinced that this is an user error, so what am I doing wrong? I 
could write a parsing function I suppose but pretty sure I don't need to 
re-invent the wheel here, just need to learn how to use the wheel properly. 
Thanks again.

- Rob


_________________________________________________________________

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to