I created hotspot with uch an attribute:
|
Quellcode
|
1
|
onhover = "showtext(get(version));"
|
just to start my investigation.
So it succesed. Then I replace it by that:
|
Quellcode
|
1
|
onhover = "showtext(get(mytext));"
|
What I wanted to get was to change the mytext variable in actions and make showtext display new message. And it did not worked. :(
One of hotspot's attribute was:
|
Quellcode
|
1
|
onclick = "myaction();"
|
Action myaction was defined in another xml file and included before definitions of the hotspot. In myaction was such a line:
|
Quellcode
|
1
|
set(mytext, "Hello");
|
Thank you in advance