thatrenowned
MIS
I have an instance of the listbox component in my library and I use the following code to put it on the stage
For some reason, its stretching the list box instead of just resizing it normally like if I drag it onto the stage and set its properties. Any idea why its doing this and is there any way to get round it? I plan to use several list boxes throughout the movie but they need to be dynamic so manually placing them on the stage isnt really an option...
thanks
Code:
_root.attachMovie("List","myList",1);
_root.myList._width = 325;
_root.myList._height = 500;
_root.myList._x = 100;
_root.myList._y = 50;
For some reason, its stretching the list box instead of just resizing it normally like if I drag it onto the stage and set its properties. Any idea why its doing this and is there any way to get round it? I plan to use several list boxes throughout the movie but they need to be dynamic so manually placing them on the stage isnt really an option...
thanks