# Target movieclip inside of movieclip class with event

**URL:** https://forum.kirupa.com/t/target-movieclip-inside-of-movieclip-class-with-event/313123
**Category:** Uncategorized
**Created:** [August 20, 2010, 7:50pm UTC](https://forum.kirupa.com/t/target-movieclip-inside-of-movieclip-class-with-event/313123 "2010-08-20T19:50:10Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![phastings](https://avatars.discourse-cdn.com/v4/letter/p/e9bcb4/32.png) [@phastings](https://forum.kirupa.com/u/phastings)
#### Post date: [August 20, 2010, 7:50pm UTC](https://forum.kirupa.com/t/target-movieclip-inside-of-movieclip-class-with-event/313123/1 "2010-08-20T19:50:10Z")

</div>

i have a series of movieclips(profileHolder) added in a loop from the library:

var profileholder:profileHolder = new profileHolder;

in that loop i also define the eventlistener for the over and out states. also inside each profileHolder movieclip there is another movieclip with an instance name of infoBtn. What i want to do is perform and action on infoBtn(set the alpha to 1) from the mouse over event listener of profileholder. here is what i’ve tried:

function profileholderOver(e:Event){  
e.target.infoBtn.alpha=1;  
//var item:profileHolder=e.target as profileHolder;  
[//item.infoBtn.alpha=1](https://item.infoBtn.alpha=1);  
}
