Copy link to clipboard
Copied
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?
Copy link to clipboard
Copied
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?