# Question about using Events and 'target'

**URL:** <https://forum.kirupa.com/t/question-about-using-events-and-target/263256>\
**Category:** Uncategorized\
**Created:** [June 13, 2008, 6:49pm UTC](https://forum.kirupa.com/t/question-about-using-events-and-target/263256 "2008-06-13T18:49:24Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![dpcdpc11](https://avatars.discourse-cdn.com/v4/letter/d/cc9497/32.png) [@dpcdpc11](https://forum.kirupa.com/u/dpcdpc11)\
**Post date:** [June 13, 2008, 6:49pm UTC](https://forum.kirupa.com/t/question-about-using-events-and-target/263256/1 "2008-06-13T18:49:24Z")

</div>

[FONT=Calibri]i’ve just started learning AS3… i’m reading a book actually and i’ve arrived at the Events chapter… so in order to play around with Events i’ve challenged myself in making 2 buttons using Movie Clips, Events and the target or currentTarget. So the idea is:1. the buttons should have an Over state(done that); 2. the buttons should have a down state(done that); 3. the button that i click should stay down and when i click the other one it should pop right up again(done that too)… but here’s my problem: in the 3rd stage of my idea i can’t make the button that is up to have it’s over state.[/FONT]  
[FONT=Calibri]i mean i did it using code that specifies each buttons state separately but i want to make a general code using ‘target’ or ‘currentTarget’.[/FONT]  
[FONT=Calibri]here is a link to the .as i’ve been playing with:[/FONT]  
[FONT=Calibri][http://www.filesend.net/download.php?f=a26b4813c6a6168d5ac08423f71287fc[/FONT]](http://www.filesend.net/download.php?f=a26b4813c6a6168d5ac08423f71287fc%5B/FONT%5D)  
[FONT=Calibri] [/FONT]  
[FONT=Calibri]hope you can help me on this one![/FONT]  
[FONT=Calibri] [/FONT]  
[FONT=Calibri]thanks in advanced.[/FONT]
