Application Execution Path (HTML5 or Flash)
Monkey Forums/Monkey Beginners/Application Execution Path (HTML5 or Flash)
| ||
Hi, I would like to get the absolute execution path in HTML5 or Flash in a Monkey app. It's probably very simple but i did'nt find how to do. (Maybe a system variable appdata field or an httprequest ? or a Java extension with getPathInfo() ? getRequestURI() ?) For exemple, if the link to execute the HTML5 application is : http://www.mywebsite.com/monkeygame.html i would like to get the string "http://www.mywebsite.com/monkeygame.html" or similar. Thank you Golomp |
| ||
This should do the job for html: |
| ||
Thank you a lot Pharmhaus, it do exactly the job ! I did not think it was so complicated. Sorry Pharmaus but thank you for the work you have done. (Plus : I didnt know i had a "dom" library availaible in Monkey.) Best regards, Golomp |