views:

28

answers:

1

Hi!
I'm working with actionscript 3 and have a trouble.
I need to write player where users will see text on the front of the movie.
The text is text field of type "Dynamic text".
The problem is that I need to make this text object transparent for mouse move and clicks.
I tried:

.mouseEnabled=false;
.selectable=false;

... but it does not help - when I click on it - it does not pass clicks through it.

A: 

You cannot pass mouse events through the application applicable to a selected item.

The only thing you can do it use the DisplayObjectContainer.getObjectsUnderPoint() method and see what 'could' have been selected... the point being the X Y of the mouse.

Adobe Help for display object container

I know it sucks but - I have never ever ever found, or know someone who has passed click event through an object. You can of course re dispatch an event, but the reference to what has been click is no longer applicable.

Glycerine
ehm... I do not understand terminology a bit. There is one applications :) Or you mean application == DisplayObject However, thank you for your help..
rshmelev