Hi Matt and all,
Thanks for the clarification. I know you guys are busy;)
The DOM thing, target and currentTarget make sense. If a button or
its parent container registers interest in a mouse click event, either
the button or its container becomes currentTarget while the button
is the target at
For the same reason tree structures are upside down, with their roots at the
top. ActionScript
is from the Bizzaro world.
--- In flexcoders@yahoogroups.com, gwangdesign [EMAIL PROTECTED] wrote:
Hi,
I am just wondering why, in ActionScript, the subject of an event is
called a target? Is it
Umm
You have currentTarget and target - most of the time, these return
very different
values depending on what happened ...
On Sep 24, 2008, at 11:14 PM, Chuck Preston Jr. wrote:
For the same reason tree structures are upside down, with their
roots at the top. ActionScript
is from
I just read the documentation for Flex, The Event Flow:
Flash Player or AIR dispatches event objects whenever an event
occurs. If the event target is not on the display list, Flash Player
or AIR dispatches the event object directly to the event target. For
example, Flash Player dispatches the
For one thing, target comes a little bit from the W3C DOM event model. It was
standard naming for that I believe.
Target represents the object on which can be thought of as having originally
broadcast the event. Whomever mentioned the UI part of it is right on. When
you think of the
Matt beat me to it. It's called Target because a belion years ago, back
during the browser wars (grizzled veteran voice) somebody somewhere
(Netscape I'm looking at you) called it Target. And eventually that became a
DOM standard, and DOM's not just for HTML, it's for XML, and tree-like
PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Re: Programming 101: event target
Matt beat me to it. It's called Target because a belion years ago,
back during the browser wars (grizzled veteran voice) somebody somewhere
(Netscape I'm looking at you) called it Target
7 matches
Mail list logo