I had a look and FlexGlobals.topLevelApplication is an Object in Royale, so you’re not obliged to cast it.
From: Yishay Weiss<mailto:yishayj...@hotmail.com> Sent: Sunday, May 24, 2020 12:02 PM To: dev@flex.apache.org<mailto:dev@flex.apache.org> Subject: RE: Variable Reference Hi Mike, That should work. I don’t remember if Flex required you to cast FlexGlobals.topLevelApplication to your specific app class, but I think you would need to do that in Royale. Yishay From: MikeH <mikehort...@googlemail.com.INVALID> Sent: Friday, May 22, 2020 6:27:23 PM To: dev@flex.apache.org <dev@flex.apache.org> Subject: Variable Reference Hi I am looking at converting a Flex application over to Royale. In Flex I can use FlexGlobals.topLevelApplication.myVar to reference data set in the main application. Does Royale have an equivalent th this? Thanks MikeH -- Sent from: http://apache-flex-development.2333347.n4.nabble.com/ From: MikeH<mailto:mikehort...@googlemail.com.INVALID> Sent: Sunday, May 24, 2020 10:01 AM To: dev@flex.apache.org<mailto:dev@flex.apache.org> Subject: Variable Reference Hi I am looking at converting a Flex application over to Royale. In Flex I can use FlexGlobals.topLevelApplication.myVar to reference data set in the main application. Does Royale have an equivalent th this? Thanks MikeH -- Sent from: http://apache-flex-development.2333347.n4.nabble.com/