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

Get help using Construct 2

Post » Sat Dec 19, 2015 9:33 am


I want to open a local html file in a browser window on the click of a button.
I have tried run JavaScript "myFunction('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.
Posts: 57
Reputation: 1,289

Return to How do I....?

Who is online

Users browsing this forum: urkokan and 9 guests