hi there,
I have made some changes to kirupa’s thumbnail gallery, so instead of loading thumbnails into the scroller, I’d like it to load TextInput from a Node in the XML.
what I’ve come up with so far (simplified):
function numbering_fn(k) {
numbers_mc.createTextField("t"+k, numbers_mc.getNextHighestDepth(),20*k, 0,10,10);
numbers_mc.t[k].text = numbering[k] ;
numbers_mc.t[0].textColor = 0xFFffff;
trace (numbers_mc.t[0].text );
};
where:
*k *= argument passed to the function from the loadXLM function…
numbers_mc = empty movieclip in my scene.
in my understanding, since the loadXML function is still looping, it should create an empty TextField and then assign a .text Value to it.
Aparently it creates the required number of empty TextFields, but the “numbers_mc.t[k].text = “whatever Text”;” -bite doesn’t do the trick…:puzzled:
could some one please help me out here or explain why this doesn’t work?
any help would be appreciated.
best regards, chris