How do I Open a local html file using browser object?

Get help using Construct 2

Post » Sat Dec 19, 2015 9:33 am

Hi,

I want to open a local html file in a browser window on the click of a button.
I have tried run JavaScript "myFunction(window.open('run.html'));"

I want to be able to do this when exporting C2 to a nodejs file type. This is so that my user is choosing a local html5 file they want to run locally.
It would be kind of like a html5 player utilizing the nodejs runtime like a virtual server.
B
10
S
2
Posts: 50
Reputation: 1,100

Return to How do I....?

Who is online

Users browsing this forum: ketramtu18 and 1 guest