Heh, well doesn't that just suck.
MX2004 apparently lost the ability to manually create a dynamic textbox at a fixed height so that the excess text past that height can get be hidden and scrolled.
Why on earth would they do something so retarded?
This means to have any scrolling text, it has to be generated dynamically, or through actionscript.
So you can either change your one set of actions to look like this
this.onEnterFrame = function() {
myTextBox.scroll = mySlider.ratio;
};
myTextBox.text = "test test test test test test test test test test test";
- this.onEnterFrame = function() {
- myTextBox.scroll = mySlider.ratio;
- };
- myTextBox.text = "test test test test test test test test test test test";
changing the tests to your text... which will be EXTREMELY annoying. Or you can load it from an external text file by changing the actions to look like this...
this.onEnterFrame = function() {
myTextBox.scroll = mySlider.ratio;
};
myText = new LoadVars();
myText.onLoad = function(success) {
if (success) {
myTextBox.text = this.myWords;
} else {
myTextBox.text = "Failed to Load Data";
}
};
myText.load("myTextFile.txt");
- this.onEnterFrame = function() {
- myTextBox.scroll = mySlider.ratio;
- };
- myText = new LoadVars();
- myText.onLoad = function(success) {
- if (success) {
- myTextBox.text = this.myWords;
- } else {
- myTextBox.text = "Failed to Load Data";
- }
- };
- myText.load("myTextFile.txt");
and having a textfile in the same directory named myTextFile.txt with this in it
myWords=test test test test test test test
[edit]
Oh yeah, and as for your current myTextBox instance... clear all the text out from inside it, and drag the resize handle (lower right corner) to resize the textbox to the size you want it to be.
after all that, everything should work peachy
[/edit]