Re: Canvas

2018-02-06 Thread Peter Ent
Hi,

Thanks for looking into Apache Royale!

As you know, mx:Canvas lets you place items using (x,y) positioning. You
can do the same thing using either js:Group or js:Container with
js:BasicLayout.

js:Group is much lighter in weight then js:Container when running the app
in the Flash Player; in the browser they are equivalent. js:Container can
be made to scroll and js:Group cannot.

If you do not need scrolling, use js:Group:








If you do need scrolling, then you would use:









Regards,
Peter Ent
Adobe Systems/Apache Royale Project


On 2/6/18, 4:46 AM, "Alina Kazi"  wrote:

>Hi,
>
>I am using mx:Canvas and porting my app to Apache Flexjs/Royale I can't
>find
>any substitute of it.
>
>Kindly let me know if there is any other alternate for similar
>functionality.
>
> 
>
>Aleena
>
> 
>



Re: Canvas

2018-02-06 Thread Piotr Zarzycki
Hi Alina,

I believe js:Group and js:Container is close to that container, but do not
search to much similarities. js:Group -> is converted to Div in HTML. Maybe
describe what you wanted to achieve.

Thanks, Piotr

2018-02-06 10:46 GMT+01:00 Alina Kazi :

> Hi,
>
> I am using mx:Canvas and porting my app to Apache Flexjs/Royale I can't
> find
> any substitute of it.
>
> Kindly let me know if there is any other alternate for similar
> functionality.
>
>
>
> Aleena
>
>
>
>


-- 

Piotr Zarzycki

Patreon: *https://www.patreon.com/piotrzarzycki
*