[Laszlo-dev] For Review: Change 20080514-maxcarlson-Q Summary: Use setTimeout() instead of setInterval() in LzTimer.

André Bargull a.bargull at intensis.de
Wed May 14 14:29:16 PDT 2008


The call to "LzTimeKernel.clearTimeout(..)" in 
"LzTimerService#removeTimerWithID(..)" can be omitted, because we're now 
using "setTimeout" instead of "setInterval". And 
"LzTimeKernel.clearTimeout" also needs to be defined for swf7, see Jim's 
comment at JIRA.
Otherwise approved!


On 5/14/2008 10:22 PM, Max Carlson wrote:
> Change 20080514-maxcarlson-Q by maxcarlson at Roboto on 2008-05-14 
> 13:18:43 PDT
>     in /Users/maxcarlson/openlaszlo/trunk-clean
>     for http://svn.openlaszlo.org/openlaszlo/trunk
>
> Summary: Use setTimeout() instead of setInterval() in LzTimer.
>
> New Features:
>
> Bugs Fixed: LPP-2270 - Timers should use setTimeout on Flash8 & DHTML
>
> Technical Reviewer: a.bargull at intensis.de
> QA Reviewer: promanik
> Doc Reviewer: (pending)
>
> Documentation:
>
> Release Notes:
>
> Details: LzTimeKernel.as - Use setTimeout() and clearTimeout() instead 
> of set/ClearInterval().
>
> swf/LzTimeKernel.as - Add setTimeout implementation for swf7.
>
>
> Tests: 
> http://localhost:8080/trunk-clean/examples/components/style_example.lzx?lzr=swf7 runs, 
> focus rectangles disappear after a short delay.
>
> Files:
> M      WEB-INF/lps/lfc/kernel/swf/LzTimeKernel.as
> M      WEB-INF/lps/lfc/services/LzTimer.lzs
>
> Changeset: 
> http://svn.openlaszlo.org/openlaszlo/patches/20080514-maxcarlson-Q.tar
>


More information about the Laszlo-dev mailing list