aribert888
Programmer
My array is loading images and it does. It is situated on the timeline:
_root.num=0;
_root.arrayname=new Array(‘image1’,’image2’,’image3’);
Instead of feeding the array with these variables I have created a textfield from which the ar-ray should get its variables.
It is called: ‘text1.txt’
As the textfield contains the variables I wrote in it:
num.field1=’image1’,’image2,’image3’
Now I tried everything to make the array get its variables from the textfield, but it does not work.
For instance I tried:
situating the script on the holder:
onClipEvent(enterFrame){
_root.loadVariables('tex1.txt',0);
_root.code=_root.num.field1;
}
and situating the script on the timeline:
_root.num=0;
_root.arrayname=new Array(code);
This as well as other scripts I tried don’t work.
I would be very glad if somebody would help me with a solution.
Aribert
_root.num=0;
_root.arrayname=new Array(‘image1’,’image2’,’image3’);
Instead of feeding the array with these variables I have created a textfield from which the ar-ray should get its variables.
It is called: ‘text1.txt’
As the textfield contains the variables I wrote in it:
num.field1=’image1’,’image2,’image3’
Now I tried everything to make the array get its variables from the textfield, but it does not work.
For instance I tried:
situating the script on the holder:
onClipEvent(enterFrame){
_root.loadVariables('tex1.txt',0);
_root.code=_root.num.field1;
}
and situating the script on the timeline:
_root.num=0;
_root.arrayname=new Array(code);
This as well as other scripts I tried don’t work.
I would be very glad if somebody would help me with a solution.
Aribert