[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]
[FONT=Calibri] [/FONT]
[FONT=Calibri]hope you can help me on this one![/FONT]
[FONT=Calibri] [/FONT]
[FONT=Calibri]thanks in advanced.[/FONT]