In my experience this metadata was almost useless since as Clint said is
only MXML,
but you should get remote data 99% of the times, so in the end you end not
using it
for the few cases that you could have declared in code (that should be
typical hello worlds
basic examples that doesn't match real world at all)

2017-03-02 17:49 GMT+01:00 Alex Harui <aha...@adobe.com>:

>
>
> On 3/2/17, 8:11 AM, "Harbs" <harbs.li...@gmail.com> wrote:
>
> >Interesting.
> >
> >So this only works with MXML or with ActionScript too?
>
> Just MXML.  We could try to get the compiler to use it when checking
> assignments in ActionScript, but I think that there would be cases where
> it wouldn't do the right thing since AS allows some forms of automatic
> type conversion.  And still, that would only be compile-time.  The Flash
> runtime does not use Metadata to guide runtime behavior.  Vector was
> introduced to provide runtime support for typed arrays.
>
>
> >
> >I’m wondering if we can use this for typed arrays in externs compiled
> >using compc.
>
> ExternC will emit ArrayElementType for certain patterns, but not currently
> for the one you ran into.
>
> Thanks,
> -Alex
>
>


-- 

Carlos Rovira
Director General
M: +34 607 22 60 05
http://www.codeoscopic.com
http://www.avant2.es

Este mensaje se dirige exclusivamente a su destinatario y puede contener
información privilegiada o confidencial. Si ha recibido este mensaje por
error, le rogamos que nos lo comunique inmediatamente por esta misma vía y
proceda a su destrucción.

De la vigente Ley Orgánica de Protección de Datos (15/1999), le comunicamos
que sus datos forman parte de un fichero cuyo responsable es CODEOSCOPIC
S.A. La finalidad de dicho tratamiento es facilitar la prestación del
servicio o información solicitados, teniendo usted derecho de acceso,
rectificación, cancelación y oposición de sus datos dirigiéndose a nuestras
oficinas c/ Paseo de la Habana 9-11, 28036, Madrid con la documentación
necesaria.

Reply via email to