[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Swftools-common] ActionScript qwerk
From: |
Matthias Kramm |
Subject: |
Re: [Swftools-common] ActionScript qwerk |
Date: |
Sat, 9 Apr 2005 20:03:55 +0200 |
User-agent: |
Mutt/1.5.6i |
On Fri, Apr 01, 2005 at 11:41:41PM -0500, Chris Flowers wrote:
> More on this issue. The AS compiler seems to fail on any
> variable that uses a dot syntax reference:
>
> I commonly clone values from one object to another like this:
>
> for(var i in MySource.ShapeOver[i]){ this.ShapeOver[i] =
> MySource.ShapeOver[i]; }
>
> This workaround was tested and works:
>
> var n = MySource.ShapeOver;
> for(var i in n){ this.ShapeOver[i] = n[i]; }
Thanks for pointing that out.
For 0.7.0, I'll probably update the AS compiler to the latest
Ming/FlashSource version (remains to be seen whether the problem
is fixed there).
Greetings
Matthias