This content has been marked as final. Show 4 replies
u can use
parentApplication.functionName(); to call parent data
nah, I can't use parentApplication... these static functions are in the component itself.
I suppose I might try parentDocument... but I think that will only work in MXML components. Ultimately I wanted to move these functions to an AS utility class and I don't think parentDocument will work there (a utility class is independent of the UI framework).
Man, I can't see any way to do this. There's no context information to be had. And AS3 removed the arguments.caller property, so you can't even find out who's calling the function. Sorry, I think you' might be out of luck here.
Well, thanks for trying... I wanted to get a second opinion at least before giving up. Guess I will have to rethink the application architecture. I'm a little disappointed there is no reference to the parent. It seemed to me like an obvious thing to include.