0 Replies Latest reply on Mar 6, 2007 10:18 PM by Sphereus

    shape object with eventlistener

      Hi all,

      does anyone know why a shpe object won't respond to an action listener? If I create a simple application with one child object of type shape and add an eventlistener to it and another one to the stage e.g for a mosue click event - if i run the program and click the shape, target and currentTarget will be stage. If I change the shape to type Sprite, I will get Sprite for both, target and currentTarget for the evenListener on the Sprite oject (whicht was Shape before) and another output telling me target is Sprite, currentTarget is stage. BUT, this will only apply if I have added a Sprite object to the stage and add the listeners to stage and the object. Changing the Sprite to Shape will have the above effect. Any ideas?