FWIW, the swf kernel is optimized to not actually do any drawing until stage "refresh" (equivalent of drawing in the v-blanking interval), so it probably would not hurt to trigger off of any change to the shadow parameter.
On 2011-06-07, at 07:35, [email protected] wrote: > (I am checking this change in.) > > Change philip-20110607-CwL by philip@PHILIP-I7 on 2011-06-07 10:25:19 EDT > in /cygdrive/c/clients/laszlo/svn/openlaszlo/trunk > for http://svn.openlaszlo.org/openlaszlo/trunk > > Summary: Add drawshadaw() method to lz.view > > New Features: > > Bugs Fixed: LPP-9951 > > Technical Reviewer: (pending) > QA Reviewer: [email protected] > Doc Reviewer: (pending) > > Documentation: > > Release Notes: > > Overview: > > > Details: > The shadow is only redrawn when the sprite is redrawn. Rather than adding > code to redraw the view when shadowcolor, shadowdistance, shadowangle, or > shadowblurradius is changed, I added a new method, drawshadow(), that is > called to redraw the view with the latest shadow properties. You do not need > to call drawshadow() if you intend to resize the view. > > > Tests: > Test app in bug reports works correctly. > > Files: > M WEB-INF/lps/lfc/views/LaszloView.lzs > > > Changeset: > http://svn.openlaszlo.org/openlaszlo/patches/philip-20110607-CwL.tar
