I see the play button, but how do I get the play button call my game client exe file?
Comments latest first
Jason Eley
Solid State Networks
Answer
In the launcher.config.xml file set the <LaunchApplication><AppName> value to the name of the file that you want to launch. Then, somewhere in your HTML, call the SSN.defaultLauncherApplication(); method. This is most often done from within the onclick event of an element such as an image or a div. (in your case. the Play button)
You need to make sure you reference the ssn.js file in the head of your HTML in order to utilize the global SSN object.
Comments latest first
In the launcher.config.xml file set the <LaunchApplication><AppName> value to the name of the file that you want to launch. Then, somewhere in your HTML, call the SSN.defaultLauncherApplication(); method. This is most often done from within the onclick event of an element such as an image or a div. (in your case. the Play button)
You need to make sure you reference the ssn.js file in the head of your HTML in order to utilize the global SSN object.