[Laszlo-dev] Does the compiler transform swf9 constructs for swf/dhtml?
Donald Anderson
dda at ddanderson.com
Tue Feb 12 09:01:40 PST 2008
Phil,
We don't yet support varargs or default args for SWF8 or DHTML.
This is LPP-5273. It looks to me that I could implement these in DHTML
by using the implicit 'arguments' array, right?
- Don
On Feb 12, 2008, at 10:52 AM, Philip Romanik wrote:
> Hi Tucker,
>
> Am I ahead of the curve on this? I've ported the data files to use
> the swf9 constructs but I'm having problems in dhtml.
>
> For example, does the compiler transform this to an appropriate
> dhtml format?
>
> function LzDatapath ( v , args:* = null, children:* = null,
> instcall:* = null ){
> super(v, args, children, instcall);
> ...
> }
>
> In trunk, this code looks like,
>
> function construct ( v , args ){
> super.construct.apply(this, arguments);
> ...
> }
>
>
> Thanks!
>
> Phil
>
--
Don Anderson
Java/C/C++, Berkeley DB, systems consultant
voice: 617-547-7881
email: dda at ddanderson.com
www: http://www.ddanderson.com
More information about the Laszlo-dev
mailing list