On 12/6/16, 9:53 PM, "piotrz" <piotrzarzyck...@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