[flexcoders] Programming 101: event target
Hi, I am just wondering why, in ActionScript, the subject of an event is called a target? Is it kind of counter intuitive? In Java, it is called source, which sounds much more understandable to me. Thanks.
RE: [flexcoders] Programming 101: event target
Yeah, this bothered me to start with too. I have gotten over it. They are just words, after all. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of gwangdesign Sent: Wednesday, September 24, 2008 4:08 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Programming 101: event target Hi, I am just wondering why, in ActionScript, the subject of an event is called a target? Is it kind of counter intuitive? In Java, it is called source, which sounds much more understandable to me. Thanks.
Re: [flexcoders] Programming 101: event target
I am just wondering why, in ActionScript, the subject of an event is called a target? Is it kind of counter intuitive? In Java, it is called source, which sounds much more understandable to me. Best I can figure is it came from some events like mouse clicks which are targets, but that's certainly outnumbered by events that don't fit that mold. Troy.