RE: Variable Reference

2020-05-24 Thread Yishay Weiss
I had a look and FlexGlobals.topLevelApplication is an Object in Royale, so you’re not obliged to cast it. From: Yishay Weiss Sent: Sunday, May 24, 2020 12:02 PM To: dev@flex.apache.org Subject: RE: Variable Reference Hi Mike, That shou

RE: Variable Reference

2020-05-24 Thread Yishay Weiss
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 Sent: Friday, May 22, 2020 6:27:23 PM To: dev@flex.apache.org Subject: Variable Reference

Variable Reference

2020-05-24 Thread MikeH
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.247.n4.nabble.com/