AS 3.0 textField
Thank you always for your sincere answers
This is a question about AS3.0 textfield
-------------------------------------------------- --------------------
var n:Number;
var sm:Array; (sound list)
var completed:Array; (sound completed list)
1. textbox draw (width 200, height 400)
fieldType - dynamic
instance - textList
2. When the sound ends
completed. push(sm[n]);
3. When the button is clicked
completedList();
function completedList():void {
var tx:String;
var addTx:String;
for (var i:uint=0; i<completed.length; i++) {
tx = (i<9) ? String(" "+(i+1)) : String(i+1);
addTx = tx+ " - "+completed[i]+"\n";
if (i==0) textList.appendText("----- Music Played List ----- \n");
textList. appendText(addTx);
}
}
-------------------------------------------------- --------------------------
Click on one of the rows to play that list song again.
4. How can I select one of each row of the textList in this case
5. How to scroll when the number of rows is out of range of the textbox
Politely contact us to solve the problem
thank you
