[Laszlo-dev] For Review: Change 20080902-bargull-VIW Summary: LzSprite cleanup

André Bargull andre.bargull at udo.edu
Tue Sep 2 13:50:56 PDT 2008


Change 20080902-bargull-VIW by bargull at dell--p4--2-53 on 2008-09-02 22:12:56
in /home/Admin/src/svn/openlaszlo/trunk
for http://svn.openlaszlo.org/openlaszlo/trunk

Summary: LzSprite cleanup

New Features:

Bugs Fixed: LPP-5551 (part 2 - cleanup)

Technical Reviewer: max
QA Reviewer: (pending)
Doc Reviewer: (pending)

Documentation:

Release Notes:

Details:
Next part of cleanup.
LzSprite:
- removed out commented debug-code
- added "__setAAProperty": setAAActive, setAAName, setAADescription, 
setAASilent where almost identically, so merged into a single function
- removed aactive, aaname, aadescription, aasilent, aatabindex from 
LzSprite, they belong to LzView
- removed focusable, framesloadratio, loadratio, __LZisView, mask, 
clickable, all those properties belong to LzView
- removed getWidth and getHeight, both are functions from LzView
- removed all @event-docs, all events are documented in LzView
- removed references to "__LZrightmenuclip", no where defined
- removed "makeMasked", inlined relevant code into "setClip"
- removed "mc.but.__lzview" (see __gotFocus, __lostFocus), can be 
replace with _parent.myView
- inlined and removed "__LZFinishDestroyOnIdle"
- changed "queuedplayaction", so it won't use an extra array for every 
queued-action
- removed Flash ContextMenu bwcomp-mode, was already deprecated in LPS3.x
- removed warning if "setContextMenu", will never happen since we create 
an invisible background-clip


Tests:

Files:
M WEB-INF/lps/lfc/kernel/swf/LzSprite.as

Changeset: 
http://svn.openlaszlo.org/openlaszlo/patches/20080902-bargull-VIW.tar




More information about the Laszlo-dev mailing list