|
-
Client Software Programmer
instead of a bunch of event listener you can also use one for all 3 buttons like
addEventListener(MouseEvent.CLICK, appExecute);
function appExecute(e:MouseEvent){
if(e.target.name=="workWindow"){
trace("work window clicked");
}else if(e.target.name=="desklet"){
trace("desklet clicked");
}else if(e.target.name=="LD2nd"){
trace("LD2nd clicked");
}
}
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|