View Full Version : Accessing objects in one State from another
05-12-2008, 10:21 AM
How do I access objects in a child State from the parent State and vice-versa?
05-12-2008, 11:22 AM
Incase anyone should want to do something similar in future:
I was looking for something like Application.application.states('haha').my_object, but doesn't work that way.
So I have resolved to this: Application.application.my_object
Before you do that, import mx.core.Application
05-12-2008, 05:06 PM
If you need to reference something in a child state from a parent state, don't you think it should be part of the parent state in the first place?
vBulletin® v3.8.5, Copyright ©2000-2014, Jelsoft Enterprises Ltd.