Previous Document Next Document

Web Integration > Exporting parameters

Exporting parameters


You can export AXEL parameters to a button on your web page. Exported parameters can also be manipulated by scripts embedded in the web page.


Note: The Export Parameter feature is not supported by Internet Explorer on Macintosh, which does not allow plugins scripted with JavaScript.

To export a parameter:
  1. In the World Explorer, select the parameter. You can select a parameter under any WebCam, object, material, or geometry.
  2. Choose Web Integration > Export Parameter.
  3. In the World Explorer, expand Resources / Web Parameters to display the exported parameters.
  4. Rename the parameter to give it the name that you want to display on the web page. You can also edit the parameter name in a web editor after you publish the World.
  5. Publish the World, then open the web page in a web editor, or right-click a viewport and turn on Host Web Page.
  6. The web page contains controls to change the parameter. Depending on the parameter, the surfer might have to type a number or select it from a selection of box.

    The parameter controls are provided as an example. They can be connected to other parts of the web page using JavaScript.

    Note: The host web page communicates with the AXEL player through the exported web parameters. JavaScript finds the AXEL object through the id value in the <object> tag or the name value in the <embed> tag. When you modify the host web page htm file, make sure the name matches the name your JavaScript functions use to call SetWebParam() and GetWebParam().

Previous Document Next Document