hello,
im having scroll bar troubles and have searched these forums and google several times over and have yet to find a solution
i have all of the scroll bar pieces contained within one own movie clip. in this movie clip there is another movie clip for the text that contains the dynamic text box. the bit of code i posted is what i am using to load the external text file and resize the dynamic text box and movie clip holding it. only problem is no resizing ever happens.
does any one know why?
loadText = new LoadVars();
loadText.load("example.txt");
//creating the LoadVarsText function
loadText.onLoad = function() {
contentMain.projectText.multiline=true;
contentMain.projectText.wordWrap = true;
contentMain.projectText.autoSize=true;
contentMain.projectText.html=false;
contentMain.projectText.text = this.exampletext;
var fieldheight=contentMain.projectText._height;
contentMain._height=fieldheight;
}
this code is placed on the first frame of the movie clip that contains all of the scroller objects. below it is all the code for the scrolling.
thanks in advance.