States - EnterState event?

2021-02-23 Thread Bilbosax
In Flex, states had an enterState event that allowed you to react to the state change. Does Royale offer this in a bead or something I'm not seeing? -- Sent from: http://apache-royale-users.20374.n8.nabble.com/

Re: WebBrowser vs IFrame

2021-02-23 Thread Piotr Zarzycki
Bill, This is the case exactly! I catch myself many times with the Flex way of thinking, but HTML/JS world is very different. :) Thanks, Piotr wt., 23 lut 2021 o 19:53 Bilbosax napisał(a): > Harbs, this worked brilliantly! My problem is solved. Thank you for your > feedback. > > With Royale,

Re: WebBrowser vs IFrame

2021-02-23 Thread Bilbosax
Harbs, this worked brilliantly! My problem is solved. Thank you for your feedback. With Royale, I think I need to stop thinking so much like a Flex developer and realize that this all HTML/Javascript/CSS in the end. I am just so used to the constructs of Flex after all of these years. Probably

Re: WebBrowser vs IFrame

2021-02-23 Thread Harbs
The issue is that you’re attaching the event listener to the component or the element. postMessage is always fired on a Window object and you need to listen to the Window you are posting the message to. If you are in an iframe, window.parent is the immediate parent Window which holds the ifram

Re: Getting Started with Crux

2021-02-23 Thread David Slotemaker de Bruine
Hi Carlos, OK, I created everything you said, a new: ServicesConfig.mxml in the config folder and pointed to it in Then I created: UsuarioController UsuarioEvent UsusarioService for my "usuario" needs. The thing is, It does seem that the new controller is being referenced during compile time

Re: MaterialIcon binding

2021-02-23 Thread David Slotemaker de Bruine
Hi Carlos, What user should I use? I can't see on the apache website how to create a user. I have reduced the example file greatly, I will paste it below: http://ns.adobe.com/mxml/2009"; xmlns:js="library://ns.apache.org/royale/basic" xmlns:j="library://ns.apache.o