//-----------------------------------------------------------------------------------------------------
// function loadText
//-----------------------------------------------------------------------------------------------------
function loadText(URL) {
myLoadVars = new LoadVars();
myLoadVars.load(URL);
myLoadVars.onLoad = function(success) {
myTextFormat = new TextFormat();
myTextFormat .indent = 0;
TextView.htmlText = myLoadVars.filetext;
TextView.setTextFormat(myTextFormat );
}
}
if (path != undefined) {
loadText(path);
}
//-----------------------------------------------------------------------------------------------------
// Execute function
//-----------------------------------------------------------------------------------------------------
on (release) {
TextViewBox.path = "help.html";
}
//-----------------------------------------------------------------------------------------------------
// html content
//-----------------------------------------------------------------------------------------------------
&filetext=
html
....................................................................................................
&title=help
&textloaded=1