Nargis, this did work! However, I'm trying to find the URL where the swf was embedded, not where it's located on the server. What do you think?
Venkat, I think I'm using IE8. On Feb 9, 12:09 pm, Venkat Viswanathan <[email protected]> wrote: > Surprising... coz it worked for me on all browsers... anyways try what > Nargis has suggested. I am sure that will work! > > Regards, > Venkatwww.venkatv.com > > On Mon, Feb 9, 2009 at 3:46 PM, Nargis <[email protected]> wrote: > > > in your Flex code try below code > > > Application.application.url.toString(); > > > this will give you the application url string. > > > -Nargis Himani > > > On Feb 8, 5:13 am, dostro <[email protected]> wrote: > > > I have been looking for a way to get the URL on which my swf file is > > > embedded into my application. This function works fine everywhere but > > > IE. Could you please help me out and provide some code for me to fix > > > this? It would be greatly appreciated! Thank you. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Flex India Community" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/flex_india?hl=en -~----------~----~----~----~------~----~------~--~---

