In first keyframe in main Scene i put this code:
In the HTML I have following statement in tag:
<param name="allowScriptAccess" value="always" />
And my function is:
Whole solution does not work. Has anyone idea what this issue occurs?