October 7, 2019
Multiplication in columns with Captivate (1)
Comments
(0)
October 7, 2019
Multiplication in columns with Captivate (1)
I'm a former teacher (and headmaster) in french primary schools. Now I work as a freelance on the net as a webmaster. I used to work with Flash for many years, but now I'm starting to discover Captivate and find it amazing !...
Master 64 posts
Followers: 21 people
(0)

Hello Captivaters !…

This time I work with multiplications in columns… General style is “Nombre_A” x “Nombre_B” = “Nombre_C”

Play

I define the numbers with JavaScript. They are randomized.

window.cpAPIInterface.setVariableValue(“Nombre_A”, Math.floor(Math.random()*900)+100);
window.cpAPIInterface.setVariableValue(“Nombre_B”, Math.floor(Math.random()*90)+10);

And use Expression to define Nombre_C (Expression => Nombre_C = Nombre_A * Nombre_B)

I use the “scrolling text” widget to display the answers, as we can’t align the text in the TEB to the right.

I control the results with conditional actions.

Happy Captivating !…

0 Comments
Add Comment