Thank you barend.
But I can't get that to work. What I want to do, is the following:
I'm importing an swf-File with an Ok-Button into a CL-Slide.
After import, I'm running the Slide/Module. Now, if I click the button in the swf:
- The content of variable 'xyz' in the swf is set from 0 to 1.
- Content of xyz (equals 1 now) should be put in a CL-variable #xyz.
So I could set the completion status, add it to the score, move to the next slide and so on.
If this would succeed vice versa, so that I could set a CL-Variable in Flash, this would make up many interesting possibilities for me and others who use Flash.
The example in the thread 'Accessing a score through javascript' respectively 'random question test' shows me, that there is an internal CL-Function called OpenSlideByID. For I'm no good javascript-programmer I see no possibility to store a Flash/Javascript-Variable in a CL-Variable.
Perhaps I've overseen CL-Issues or I'm totally wrong, so you can put me in the right direction, please.
Greetings,
Egon
Thank you barend.
But I can't get that to work. What I want to do, is the following:
I'm importing an swf-File with an Ok-Button into a CL-Slide.
After import, I'm running the Slide/Module. Now, if I click the button in the swf:
- The content of variable 'xyz' in the swf is set from 0 to 1.
- Content of xyz (equals 1 now) should be put in a CL-variable #xyz.
So I could set the completion status, add it to the score, move to the next slide and so on.
If this would succeed vice versa, so that I could set a CL-Variable in Flash, this would make up many interesting possibilities for me and others who use Flash.
The example in the thread 'Accessing a score through javascript' respectively 'random question test' shows me, that there is an internal CL-Function called OpenSlideByID. For I'm no good javascript-programmer I see no possibility to store a Flash/Javascript-Variable in a CL-Variable.
Perhaps I've overseen CL-Issues or I'm totally wrong, so you can put me in the right direction, please.
Greetings,
Egon