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

