2 Replies Latest reply on Jul 17, 2008 2:54 AM by Newsgroup_User

    Cannot set Flash button properties from sprite behaviour

    Level 7
      I'm puzzled...

      I'd like to set Flash button properties from behaviors on the sprite
      itself (unselect all buttons with a sendAllSprites, for example) but
      only this sample script works :

      on mouseEnter me
      sprite(spriteNum).selected = true
      end

      those ones won't:

      on mouseEnter me
      me.selected = true
      end

      on mouseEnter me
      selected = true
      end

      It must but obvious but I can't get it to work...

      Thanks.

      PJ