also - have you set mouseChildren = false on the items that fire the event
if you don't need mouseevents from the children

On 11 June 2010 15:12, allandt bik-elliott (thefieldcomic.com) <
[email protected]> wrote:

bugger

e.target.name <http://e.target.name.name/>

not

e.target.name.name

On 11 June 2010 15:11, allandt bik-elliott (thefieldcomic.com) <
[email protected]> wrote:

things to trace

this

e.currentTarget.name

e.target.name.name

(e.currentTarget as DisplayObject).name

best

a

On 11 June 2010 15:06, Henrik Andersson <[email protected]> wrote:

 Cor wrote:

 Not sure what or how your object which fires the event looks like?
But try:
 ["details"+e.currentTarget.name].visible=true;

Or

this.["details"+e.currentTarget.name].visible=true;

  Both of those are syntax errors. The original code was fine.

_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to