Andy_Fran
12-04-2003, 09:10 PM
Hi everyone,
I have a bit of a prob but i dont know if im just messing up my addressing.
I have followed one of the scoll button tutorials to create a dynamic text box with a scroller up and down. This works great with any text that i input to it.
However, i need to insert values from an array into it in a list form. I have done so using this code which is attached to the movie clip:
onClipEvent (load){
for (i=0; i<44; i++){
fulllisting = _root.slangArray[i] + " translates to " + _root.engArray[i] + <BR>;
}
}
This only produces the last entry in the array so im assuming that it is ignoring the break and just overwriting the previous one. I have tried putting the break in quotes like Javascript but no joy.
Any ideas?
Andy
I have a bit of a prob but i dont know if im just messing up my addressing.
I have followed one of the scoll button tutorials to create a dynamic text box with a scroller up and down. This works great with any text that i input to it.
However, i need to insert values from an array into it in a list form. I have done so using this code which is attached to the movie clip:
onClipEvent (load){
for (i=0; i<44; i++){
fulllisting = _root.slangArray[i] + " translates to " + _root.engArray[i] + <BR>;
}
}
This only produces the last entry in the array so im assuming that it is ignoring the break and just overwriting the previous one. I have tried putting the break in quotes like Javascript but no joy.
Any ideas?
Andy