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

HTML5 Canvas - Clickable records from MySQL database

Engaged ,
Apr 01, 2022 Apr 01, 2022

I have a dynamic text field populated from a MySQL database.

 $.ajax({
        url: "scripts/get_patients.php"
    }).then(function(data) {
        root.patients.text = data;
    })

I now want to make the records returned from the database clickable.  The number of records will also need to be scrollable.  The clickable records are patient names.

 

Would would be the best method of presenting this data to achieve the above?  A list instead of a text field comes to mind.  If so, how would that be implemented?

 

257
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 ,
Apr 01, 2022 Apr 01, 2022
LATEST

A better way might be to dynamically create movieclips for each returned record and display these inside another movieclip (or some other container) which is scrollable. 

 

How would I do that?

 

Other suggestions?

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