Hi everyone, for the flex-iframe project (http://code.google.com/p/flex-iframe/), we use Application.application to get the current URL (here: http://code.google.com/p/flex-iframe/source/browse/trunk/flexiframe/src/com/google/code/flexiframe/IFrame.as?spec=svn89&r=87#252). But this is deprecated in Flex 4, and we should use "FlexGlobals.topLevelApplication as spark.components.Application". I really don't want to create and maintain a Flex 4 branch only for this...
Does anyone see how to get this URL in a way that would be both Flex 3 and Flex 4 compatible ? Cheers, Julien Nicoulaud