(moving to dev list) Hi I think this is a good tip that we can add to our Royale Blog in the "Examples" category. And respect the user (ni this case Peter) as the poster.
What do you think? 2018-02-06 15:06 GMT+01:00 Peter Ent <[email protected]>: > 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: > > <js:Group> > <js:beads> > <js:BasicLayout /> > </js:beads> > <!‹ place your elements here using x, y, width, height attributes ‹> > </js:Group> > > If you do need scrolling, then you would use: > > <js:Container> > <js:beads> > <js:BasicLayout /> > <js:ScrollingViewport /> > </js:beads> > <!‹ place your elements here using x, y, width, height attributes ‹> > </js:Container> > > Regards, > Peter Ent > Adobe Systems/Apache Royale Project > > > On 2/6/18, 4:46 AM, "Alina Kazi" <[email protected]> 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 > > > > > > > > -- Carlos Rovira http://about.me/carlosrovira
