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
359
S
214
G
72
Posts: 22,952
Reputation: 178,600

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: No registered users and 26 guests