TQS Home
Trivia Quiz Shell Version 2.8 Now Available!Bot Productions Home
TQS 2.6

Back to Reference

EMBEDROOT Dynamic Value

Specifies the URL prefix that must be used to reference embedded files.

Syntax
EMBEDROOT
Remarks

Files embedded in a TQS application are accessed via a special URL protocol and a path containing a unique identifier. In order for HTML and custom locations to correctly refer to these files, they must be able to prefix the file names with the necessary URL protocol and path. The EMBEDROOT dynamic value contains this path, with a trailing slash.

Examples

<LOC TYPE="HTML">
  <HTML SUBST="%EMB%,EMBEDROOT">
    <IMG SRC="%EMB%img.jpg"/>
  </HTML>
</LOC>

If the EMBEDROOT value is bmwscxml://{D3A89AD6-C02C-4FDB-84C4-30A26F0C4691}/, then TQS will change the HTML code into:

<IMG SRC="bmwscxml://{D3A89AD6-C02C-4FDB-84C4-30A26F0C4691}/img.jpg"/>

©2020 Bot Productions. All rights reserved.Last Updated: May 28, 2004