3 Replies Latest reply on Dec 19, 2006 8:07 AM by artcoder

    What is syntax for onMouseOver?

      I have an object instance called thumbnail1 with the following code...

      this["thumbnail1"].onPress = function() { // code here works perfect; }
      this["thumbnail1"].onMouseOver = this["thumbnail1"].displayHoverState();

      When user hovers over my object, I want my object to invokes its displayHoverState() function. Why it is not working?

      I think the syntax "onMouseOver" is incorrect. Since it is not highlighting the correct color in the code panel.