s@yahoogroups.com
Subject: [flexcoders] Re: Add property to an object at run time
I probably could while I haven't done that yet.
The reason I was asking this question is:
Let's say I want to a Timer:
timer:Timer = new Timer(1000);
timer.addEventListener(TimerEvent.TIMER,
Couldn't you just extend the timer class and just add a new property?
--- In flexcoders@yahoogroups.com, "markgoldin_2000"
<[EMAIL PROTECTED]> wrote:
>
> I probably could while I haven't done that yet.
> The reason I was asking this question is:
> Let's say I want to a Timer:
> timer:Timer = new
I probably could while I haven't done that yet.
The reason I was asking this question is:
Let's say I want to a Timer:
timer:Timer = new Timer(1000);
timer.addEventListener(TimerEvent.TIMER, processSomething);
private function processSomething(event:TimerEvent):void
{
// do some processing
}
3 matches
Mail list logo