Animate CC HTML5 Canvas - Add vertical scrollbars to a dynamic text field


hi guys,

 

i wondering if out noob.

 

in old flash project able use ui scrollbar component whilst linking dynamic text box being populated external text files. (whenever button clicked, relevant text file shown).

 

i'm transitioning on html5 canvas , have read in other posts scrollbar component no longer available.

 

i able find code allows me pull in external text files , have adapted project (this works btw):

 

sethelpfile = function() {

  var req = new xmlhttprequest(); 

  req.open("get", helpfile, true); 

  req.addeventlistener("load", transfercomplete); 

  req.send(); 

  

  function transfercomplete(e) { 

  var rawxml = e.target.response;

  screen.help.txt.text = rawxml;

  }

}

sethelpfile();

 

 

i've masked dynamic text field , created scrollbar symbol. i'm trying work out how work whenever text long text field.

 

bearing in mind i'm complete coding noob can please advice or point me bit of code?

 

many thanks!



More discussions in Adobe Animate CC - General


adobe

Comments

Popular posts from this blog

Soustraire une selection

After Effects: could not find dvaeve_dialogs.txt

Illustrator cs6 "Invalid Serial Number"