|
What problem are you having with clone()?
Here's a sample of how we override it in ListEvent, and it doesn't require any
coercion. override public function clone():Event { return new ListEvent(type,
bubbles, cancelable, columnIndex, rowIndex, reason, itemRenderer); } Are you calling clone() yourself? If so,
why? It's intended to be called indirectly by the Player when you re-dispatch
an event; i.e. you call dispatchEvent() on an Event instance which has already
been dispatched and which you are handling. In this case, a clone of the
original event is redispatched. - Gordon From: Hello, On 3/6/06, Gordon
Smith <[EMAIL PROTECTED]>
wrote: I think there's general agreement here that we want to do
this in a future release, but that the schedule doesn't allow it for this
release. There are quite a few other things that people want as well --
strongly-typed array, enums, inner classes, etc. -- but we can't open up the
feature set again this late in the cycle (nearly Beta 2). - Gordon From: [email protected]
[mailto:[email protected]]
On Behalf Of Johannes Nel hi all, especially Adobe dudes working on ze language. -- |
- RE: [flexcoders] polymorphic interfaces Gordon Smith
- RE: [flexcoders] polymorphic interfaces Matt Chotin
- Re: [flexcoders] polymorphic interfaces Michael Schmalle
- RE: [flexcoders] polymorphic interfaces Gordon Smith
- Re: [flexcoders] polymorphic interfaces Peter Hall
- RE: [flexcoders] polymorphic interfaces Matt Chotin

