[Laszlo-dev] [Laszlo-checkins] r7816 - in openlaszlo/branches/devildog/WEB-INF/lps/lfc: kernel/swf9 views
P T Withington
ptw at pobox.com
Mon Jan 14 04:37:23 PST 2008
I wonder if as allows you to override a property with a setter and
getter? Are you allowed to say:
function set width (...) { ... }
in a subclass that defines a width property?
Probably not (only Dylan seems to get this right), but it's worth
trying.
OTOH, are we sure we want to subclass the flash sprite, rather than
just have a flash sprite (as we have a movie clip in swf8).
On 2008-01-13, at 22:46 EST, hqm at openlaszlo.org wrote:
> Have to be careful now; 'height' and 'width' are native properties
> of flash.display.Sprite,
> which LzSprite is a subclass of. Have to make sure to change
> references to 'lzwidth' and 'lzheight'
> when copying code from swf8 kernel.
More information about the Laszlo-dev
mailing list