in as3 if you sign an object to an int an error is thrown. in js the
variable would be assigned to the object and would no longer be an int. so
maybe, when the time comes, simply casting it as int would be enough.
On Jul 3, 2016 1:50 AM, "Alex Harui" <aha...@adobe.com> wrote:

>
>
> On 7/1/16, 1:44 PM, "jude" <flexcapaci...@gmail.com> wrote:
>
> >ihzi is correct. to clarify, the compiler should initialize integers to
> >zero when they are defined. and it should probably wrap any code that
> >assigns a value to an int with parseInt().
>
> IMO, it should be easy to initialize integers to zero, but I'm concerned
> about the overhead of having to do all of the automatic type conversions
> that AS does and JS doesn't, so injecting code like parseInt will probably
> have to wait.
>
> -Alex
>
>

Reply via email to