Scrolling works only once
Hi,
I made a scrolling text box that I feed xml into.
The only thing is when I scroll down or up I can only get it to work once.
PHP Code:
on (press) {
_root.scrollingText_mc._y = - 10;
}
I want it so that every time I that I press the button that I scrolls down.
Can anyone tell me where I've gone wrong.
Thanks,
Bmcc
That works but it scrolls the MC, but inisde the MC I have a createTextField which...
That works but it scrolls the MC, but inisde the MC I have a createTextField which that needs to scroll.
This is my created text field which gets populated by XML
PHP Code:
function fnCreateText() {
// trace('arr: '+ arPokerDates);
this.createTextField('tourny_txt',0,5,0,200,165);
var myTextFormat:TextFormat = new TextFormat();
myTextFormat.size = 10;
myTextFormat.font = "Arial"
myTextFormat.color = 0xFFFFFF;
for (i=0; i<arPokerDates.length; i++) {
_root.scrollingText_mc.tourny_txt.text = tourny_txt.text+arPokerDates[i][13]+' - '+arPokerDates[i][1]+newline;
this.tourny_txt.setTextFormat(myTextFormat);
}
}
How do I scoll that text now?
Thx,