Sun 26 Feb 2006
execute function comes from http://blog.fuelindustries.com/archives/cat_jsfl.html
the trace function is just a rework of theirs to use esacpe and unescape.
-
public static function executeJSFL()
-
{
-
var file = arguments.shift();
-
var func = arguments.shift();
-
var result;
-
if( arguments.length> 0 )
-
{
-
var arg = arguments.join( "\',\'" );
-
result = MMExecute(((((("fl.runScript(fl.configURI+\'WindowSWF/" + file) + "\',\'") + func) + "\',\'") + arg) + "\');");
-
}
-
else
-
{
-
result = MMExecute(((("fl.runScript(fl.configURI+\'WindowSWF/"+ file) + "\',\'") + func) + "\');");
-
}
-
-
return( result );
-
}
-
-
public static function flTrace(str){
-
-
MMExecute("fl.trace(unescape(\""+ escape(str)+"\"));");
-
-
}