Open URL in a new window is not working

Get help using Construct 2

Post » Thu Mar 24, 2016 9:44 pm

I have a button that is set up to open a URL in a new window but it isn't doing anything when clicked on.

CODE:

on left button click on button --> Go to "URL" in a new window ("NewWindow")


Is there something I am missing?
Thanks
B
29
S
9
G
3
Posts: 18
Reputation: 3,267

Post » Thu Mar 24, 2016 9:47 pm

Is your URL in quotes?

Try using the Button object's own "on clicked" condition instead of the Mouse object's "on clicked object" condition.
Mistakes were made.
B
53
S
27
G
114
Posts: 1,697
Reputation: 64,442

Post » Thu Mar 24, 2016 10:29 pm

oosyrag wrote:Is your URL in quotes?

Try using the Button object's own "on clicked" condition instead of the Mouse object's "on clicked object" condition.


I am putting quotes around it and tried your tip, but it still didn't work.
B
29
S
9
G
3
Posts: 18
Reputation: 3,267

Post » Thu Mar 24, 2016 10:32 pm

I figured it out. I just forgot to set the event sheet to the layout. Rookie mistake. lol.
B
29
S
9
G
3
Posts: 18
Reputation: 3,267


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 49 guests