The reason I ask is we have some functionality like this in the existing .as3
var bmpData:BitmapData = ImageSnapshot.captureBitmapData(some obj as mx.Containers.ViewStack);
do we have an equivalent class in Royale for this implementation
Thank you very much Piotr.. This is what I was looking for.. will explore and post questions as I go through the conversion exercise
To addition of what Harbs provided I would like to answer to your question about list of components. We don't have anywhere documented it straightforward. However you can look into ASDoc app  and search there. Another option is just take a look into the Royale code where there is sort of a list what has been emulated.
MX components 
Spark components 
I hope it helps.
śr., 24 cze 2020 o 08:39 Harbs <[hidden email]> napisał(a):
Not emulation of that yet, as far as I know.
At some level this requires the ability to draw DOM elements to a canvas element. There are some (at least one) native js libraries that do this, so it might be a case of having to wrap the API of one of those. From what I recall it is quite a bit more complicated to do this in html5 compared to how easy it was to do that in swf. I think the way I remember it needed to be done some capture and repeating of styling in the drawing commands as part of the 'capture' process, but I am just going from memory of having looked at this in the past. Others may know of better (or newer) options.
You may want to join and discuss this on the [hidden email] mailing list, it does sound like something that would be useful to solve in collaboration.
|Free forum by Nabble||Edit this page|