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;


-----Original Message-----
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Lehr,
Theodore
Sent: vrijdag 11 juni 2010 15:54
To: Flash Coders List
Subject: [Flashcoders] targeting mc

So I am rolling over one mc to impact another and I am trying:

function showDetails(e:Event):void
{
     this["details"+e.currentTarget.name].visible=true;
}

why does this not work?
_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Geen virus gevonden in het binnenkomende-bericht.
Gecontroleerd door AVG - www.avg.com 
Versie: 9.0.829 / Virusdatabase: 271.1.1/2930 - datum van uitgifte: 06/10/10
20:35:00

_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to