SSN Support Forums/Help from the Community/Community Help

Answered

How do I launch my application from Direct

Jeleyman
asked this on July 15, 2010 21:19

I see the play button, but how do I get the play button call my game client exe file?

 

Comments latest first

User photo
Jason Eley
Solid State Networks
Ajax_loader_small 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.

July 26, 2010 08:41.