One of the more sophisticated example is in my TranspiledActionScript repository [1].
[1] https://github.com/piotrzarzycki21/TranspiledActionScript/blob/examples/Examples/PureMVCEmployeeAdminBasic/src/com/transpiledactionscript/puremvc/royale/employeeadmin/view/components/RolePanel.mxml Thanks, Piotr On Fri, Aug 17, 2018, 8:37 AM Alex Harui <aha...@adobe.com> wrote: > Answers inline. > > > > *From: *芋頭爛 <yest...@gmail.com> > *Reply-To: *"users@royale.apache.org" <users@royale.apache.org> > *Date: *Thursday, August 16, 2018 at 10:10 AM > *To: *"users@royale.apache.org" <users@royale.apache.org> > *Subject: *Tour of Heroes(Angular) of Royale version > > > > Hello, > > > > I use royale 0.9.3(nightly) to implement Tour of Heroes(Angular). > > here is live demo > > https://z3idxk1hh5asgqpvhvftra-on.drv.tw/royale-heroes/# > <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fz3idxk1hh5asgqpvhvftra-on.drv.tw%2Froyale-heroes%2F%23&data=02%7C01%7Caharui%40adobe.com%7C1307f5f7d07e47811b7208d6039b1fea%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636700362124341273&sdata=myI18GVVTH6RxVKye1gNdOzO9NZ6RwcwR7Uh5Midc%2Fg%3D&reserved=0> > > > > It runs on Chrome well, but IE 11 no good... > > > > I find some issue when develop the tour of heroes. > > 1. Does royale have something like mx:Repeater or s:DataGroup, now I > always use j:List, but the UI does not need rollover, selected....etc > > Try DataContainer. I think it is used in the ASDoc example. > > > > > > 2. [Bindable] > > private var static ary:ArrayList = new ArrayList(["AA","BB","CC"]); > > That will cause page blank....because "static" > > If I must use static, the ArrayList construct must be empty. > > private var static ary:ArrayList = new ArrayList(); // this work well > > > > I thought this was working. I will look more into it this weekend. Did > you try public vs private static var? > > > > 3. When call ArrayList.removeAll(), the j:List does not refresh. Must call > ArrayList.removeItemAt() for each. > > Looks like Piotr answer this. > > 4. Seems Royale has no VectorList, So I can't use Vector.<> for databinding > > Can you show us in code what you want to do? Keep in mind that Vector > doesn’t really exist in JS so will be implemented as an Array. > > > > 5. j:TextInput change event will trigger after typed, but also triggered > when focus out > > Is this the way it is working now or the way you want it to work? I don’t > know that we have focus events working properly, but this sort of question > is one reason where there are beads in Royale. One kind of TextInput > view/controller can dispatch change events on each change and another can > dispatch change events only when focus out. > > > > 6. j:HGroup itemsVerticalAlign not worked > > 7. j:List use beands j:HorizontalLayout itemsExpand, not worked and cause > page blank. > > 8. How to use org.apache.royale.routing, does it use with j:Navigation > > > > There is to “automatic” routing. We have classes that you can use to > determine the route, but currently there is no code that knows what to do > with the route. What do you want to happen if there is a route specified? > > > > 9. If use typeNames attribute, compile debug is ok, but compile release > will miss it. > > I think that should work, although we do not recommend altering typeNames > in application code. Use className instead. TypeNames is intended for > component development. > > > > HTH, > > -Alex > > > > >