Hallo Klaus,
i ran into the following situation:
A help-box describing basic usage of the app was defined somewhere and is shown up / hidden by user (clicking the help button).
The plugin "HelpBox" and the corresponding actions "showHelp" and "hideHelp" already worked fine.
All easy, all worked...
...until i decided to show this box at startup too. In the main xml-definition there is a plugin "myVar", only carrying certain vars (maincolor of my tour elements, showMapAtStart, ...) i defined a new var >HelpAtStart = "true"< for it.
And the "HelpBox" additionally now recieved an "onloaded=action(askforhelp)".
This shoud work as following:
...but does not.
i also tried quoted true:
<action name="askforhelp">
if(plugin[myvar].HelpAtStart == "true", action(showHelp));
</action>
...nothing.
When i test the following, i get results:
<action name="askforhelp">
trace(plugin[myvar].HelpAtStart); // ---> traces true
action(showHelp); // ---> and runs the expected action
</action>
al last i tried this and succeeded(!):
Is this normal to the "if( , ,)" command or a bugy (mis)interpretation of >true< in this case??