flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex Harui <aha...@adobe.com>
Subject Re: [FlexJS|Image] Missing properties in created Image
Date Wed, 07 Dec 2016 06:28:37 GMT


On 12/6/16, 9:53 PM, "piotrz" <piotrzarzycki21@gmail.com> wrote:

>Hi,
>
>In one of the MDL component I've created org.apache.flex.html.Image. I see
>in code that this image has
>
>"imageElement" property and "applyImageData", but I don't see them in
>compiled swc. If I use them simply
>
>var image:Image = new Image();
>image.applyImageData("image.png");
>
>compilation failing.
>
>They are compiled in JS sight, so probably in order to see them I need to
>add also SWF sight. Is it something what was missed or there wasn't plan
>to
>add those properties as visible ?

If it isn't in the SWF side, it probably wasn't required to make it work
in a SWF and so there is no plan for it to be a common API. Since MDL is
currently JS-only, you have the option of using the HTMLJS.swc instead of
HTML.swc.

HTH,
-Alex

Mime
View raw message