FWIW this duplicates the current design (in SWF) which sends the onidle event regardless of if there are listeners.
What do you think is the best way to find out that someone has registered for the event? I would just override Lzidle.addDelegate() to turn the idle timer back on, but the event isn't created until the first delegate is attached... -Max P T Withington wrote: > Do we have a separate bug that LzIdle should clear the interval timer > when there are no listeners? > > On 2006-06-30, at 00:50 EDT, Max Carlson wrote: > >> Summary: LzIdle uses setInterval() instead of a movieclip >> >> New Features: >> >> Bugs Fixed: LPP-2269 - LzIdle should use setInterval() instead of a >> movieclip >> >> Technical Reviewer: jim >> QA Reviewer: henry >> Doc Reviewer: (pending) >> >> Documentation: >> >> Release Notes: >> >> Details: >> >> >> Tests: >> >> Files: >> M WEB-INF/lps/lfc/services/LzIdle.as >> M WEB-INF/lps/server/src/org/openlaszlo/compiler/SWFFile.java >> --Regards, >> Max Carlson >> OpenLaszlo.org >> <patch.mcarlson.1764.tgz> >> _______________________________________________ >> Laszlo-dev mailing list >> [email protected] >> http://www.openlaszlo.org/mailman/listinfo/laszlo-dev > > _______________________________________________ Laszlo-dev mailing list [email protected] http://www.openlaszlo.org/mailman/listinfo/laszlo-dev
