Try to getIt using Application.application.url
it just get me the swf name, it doesnt give me the url :/
any other ideas?
var fullUrl:String = ExternalInterface.call('eval','document.location.href');
Two people beat me to this, but the short answer is that you can't.
As you discovered, Application.application.URL gives you the URL of the swf, but not the URLof the enclosing page.
This is a "Limitation" (or security measure?) of the browser and how plugins interact with it.
Have you tried this?
var bm:IBrowserManager = BrowserManager.getInstance();
Alert.show("URL : " + bm.url );