Re: how to get url ?

2022-08-09 Thread Harbs
Just remember: When all is said and done it’s all just plain old javascript... > On Aug 9, 2022, at 6:46 PM, Harbs wrote: > > http://ns.adobe.com/mxml/2009; > xmlns:j="library://ns.apache.org/royale/jewel" > xmlns:js="library://ns.apache.org/royale/basic" >

Re: how to get url ?

2022-08-09 Thread Harbs
http://ns.adobe.com/mxml/2009; xmlns:j="library://ns.apache.org/royale/jewel" xmlns:js="library://ns.apache.org/royale/basic" initialize="initialize()" > > On Aug 9, 2022, at 6:44 PM, cont...@cristallium.com wrote: > > Thanks for your

Re: how to get url ?

2022-08-09 Thread contact
Thanks for your quick reply. No way. Perhaps I do something wrong. It's working when I run in local (return "file:///D:/dev/Royale/MyProject/bin/js-debug/index.html"), but it return empty string on production server. Here is my code : http://ns.adobe.com/mxml/2009;

Re: how to get url ?

2022-08-09 Thread Harbs
just use “window.location”. Make sure to use a JS block if you’re compiling to something other than JS too... > On Aug 9, 2022, at 5:31 PM, cont...@cristallium.com wrote: > > Hi all, > > I'm struggle on getting browser full url. (sdk 0.9.10) > > I tried this : > > var browserUrl:String =

how to get url ?

2022-08-09 Thread contact
Hi all, I'm struggle on getting browser full url. (sdk 0.9.10) I tried this : var browserUrl:String = ExternalInterface.call("eval", "window.location.href"); Unfortunately this doesn't work in my case. Is there another way to get it ? I know ApplicationParametersCaseInsensitive as a beads