Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Scrolling Text Widget - HTML5 - CP8

Engaged ,
May 30, 2015 May 30, 2015

I am having problems with the variable data populating in the Scrolling Text Widget when publishing as HTML 5. It works with SWF.

The HTML5 is not showing it as unsupported. I've done some searching and found Javascript code for scrolling text (my way of determining if it would work with HTML5).

Any thoughts on what could be going on?

Thanks.

Dave

435
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
May 30, 2015 May 30, 2015

Can you explain more in detail? How did you check the value of the

associated variable to the Learning interaction (suspect you are not using

the older TextArea widget)?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
May 30, 2015 May 30, 2015

Yes, I'm using the Learning Interaction and putting the variable in the variable box of the Interaction. I have it down to the basics and just trying to get the variable in there by clicking a button and assigning the variable with a new value.

I have confirmed it works if I publish and test with SWF.

Thanks.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
May 30, 2015 May 30, 2015

I will double check tomorrow. Only latest version allows to control the

display if the variable.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
People's Champ ,
Jun 01, 2015 Jun 01, 2015

It's because there is no listener on the text area widget for the variable change. Once the text area is drawn, it's basically static.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Jun 01, 2015 Jun 01, 2015
LATEST

What's strange is that it appears to be listening for any input in the text area. If you put a variable in the variable name and then display it on the screen, as you type in the text area, the variable updates.

Also, the way I want to use it works in SWF.

Thanks.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Help resources