I've tried many things which don't work, among them:
var box = sym.$("box");
How does one get the opacity of a symbol?
Your code is correct.
Is "box" within a symbol?
OK, I click the button this morning without changing anything and it works fine. I am going to suggest it's because you bestowed your approval on the script. Double-checking the browser's cache would be too mundane to consider.
Edit: What is odd, however, is that I have a button that fades out the box. The opacity is 1 before starting but after I've faded out the box, the object still registers with opacity 1, though even without glasses I can see it's gone. Any suggestions there?
Message was edited by: John Hall