Sending commands from the url.

Get help using Construct 2

Post » Thu Aug 23, 2012 9:26 pm

Hi! How do I create a loading commands from an address?

example:

http://mygamewebpage.com/game.html&name=ABCDE

then
     TextBox set text to parameter "name"


Is it possible without editing the JS code?szukasz2012-08-23 21:27:39
B
6
Posts: 10
Reputation: 872

Post » Thu Aug 23, 2012 9:48 pm

You can access the query string with the Browser object.
Scirra Founder
B
366
S
217
G
82
Posts: 23,257
Reputation: 183,563

Post » Thu Aug 23, 2012 9:55 pm

Yes, thank you. I am a bit tired lately.
B
6
Posts: 10
Reputation: 872


Return to How do I....?

Who is online

Users browsing this forum: lamar and 0 guests