RE:RE:SVGTimer complaints

>Hmm, one problem with this approach is that adding
the >event listener after
>the createAndStart is a bit of a pain.

I agree.


> window.dispatchEventDelayed(myEvt, 500);

= 

createAndStartTimer(500).addEventListener({handleEvent:function(evt){
  document.dispatchEvent(evt);
   //or window or whatever you like
})

or just have the timer by default dispatch the event
to the window or document obj

window.addEventListener(l);
createAndStartTimer(500);


Jan




__________________________________
Do you Yahoo!?
Yahoo! Search - Find what you’re looking for faster
http://search.yahoo.com

Received on Sunday, 7 March 2004 15:51:19 UTC