approved! I would have been tearing my hair out trying to figure out how to
get rid of that movieclip!

On Mon, Oct 5, 2009 at 5:15 PM, AndrĂ© Bargull <[email protected]> wrote:

> Change 20091005-bargull-D7q by barg...@dell--p4--2-53 on 2009-10-05
> 23:02:20
> in /home/Admin/src/svn/openlaszlo/trunk
> for http://svn.openlaszlo.org/openlaszlo/trunk
>
> Summary: remove lzpreloader._heartbeat movieclip properly
>
> New Features:
>
> Bugs Fixed: LPP-8530 (swf8 preloader continues to call preloader
> 'heartbeat' on every frame, during app execution)
>
> Technical Reviewer: henry
> QA Reviewer: (pending)
> Doc Reviewer: (pending)
>
> Documentation:
>
> Release Notes:
>
> Details:
> lzpreloader.as:
> removeMovieClip() doesn't work for movie clips added with the authoring
> tools resp. in our case with JGenerator, because these movieclips are added
> at a negative depth. So, call swapDepths() before removeMovieClip() to get
> rid of the _heartbeat clip. And call another time removeMovieClip() to
> remove the second _heartbeat movieclip (remember the movieclip reference
> voodoo [1]!).
>
> LzKeyboardKernel:
> Fixed typo.
>
> build.xml:
> Compile preloader as swf8 movie.
>
> [1] http://moock.org/asdg/technotes/movieclipDatatype
>
>
> Tests:
> Evaluate the following statement in the debugger, prior to this change
> "yada yada" was printed infinitely
> lzx> lzpreloader.heartbeat=function(){Debug.write("yada yada")}
>
> Files:
> M WEB-INF/lps/lfc/kernel/swf/LzKeyboardKernel.as
> M WEB-INF/lps/lfc/lzpreloader.as
> M WEB-INF/lps/lfc/build.xml
>
> Changeset:
> http://svn.openlaszlo.org/openlaszlo/patches/20091005-bargull-D7q.tar
>
>


-- 
Henry Minsky
Software Architect
[email protected]
_______________________________________________
Laszlo-reviews mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-reviews

Reply via email to