1 person found this helpful
What's wrong with the method you linked to?
Apparently, the correct way is: FlexGlobals.topLevelApplication
(it seems like FB has some problems with both com.adobe.photoshop.Application and mx.core.Application.application in the same class - at least it fired a bunch of weird errors to me)
AFAIK, that's Flex 4.x only...