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
378
S
220
G
84
Posts: 23,863
Reputation: 188,019

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: AekiroStudio, AllanR, RageByte, Rotgut and 10 guests