I've created a movie with a scroll area for text. Upon publishin the movie, the bottom few lines of the text is not displaying. The length of the scrollbar seems to be pre-set, can anyone pls advice on where goes wrong here? Tx.
The length of the scrollbar is pre-set,but you can modify it in "button" MovieClip in Library. It is easy to change it's length.
And in my computer the bottom few lines displays well.
The text content is static text.
I have seen a fla,that loads data from external file,and it scrollbar can change with the text contents.Sounds good.
Hi, i think the scroll content in the attached file is pre-set to auto. And i cant find the settings under the "button" movieClip. Could u pls advice in more details? Tx alot!
yup.. found it! But the actions on the 'button' says:
onClipEvent (load) {
_parent.mc2.mc2.mc2.autoSize = false;
//so that the textbox autoresize itself
_parent.mc2.mc2._y = -_parent.mc2.mc2._height/2;
//_parent.mc2.mc2.m2._y = -_parent.mc2.mc2.m2._height/2;
//once the textbox autoresized itself this will replace it on the center
this._x = Math.round(this._x);
//this roundup the position of the button on the x-axis. Thanks Chris!
a = this._x;
b = this._y;
}
on (press) {
this.startDrag(false, a, b, a, _parent.mask._height-this._height);
//when pressed, the button can be draged in the mask
}
on (release) {
this.stopDrag();
}
// These following lines are just to make sure IE don't bug
on (releaseOutside) {
this.stopDrag();
}
I don't understand which part to edit so that the last few sentences will show. tx again.
I think it's to do with the size of the text instance.
If you go into the mc2 movie clip and scroll the stage down all the way to the bottom you'll see that the Flash window won't let you go any further down than "New Zealand" - which is where the swf scroll finishes for me.