I'm having this error with a scroll pane I added to my stage. The scrollPane element is dynamically created through some lines of code. At the end of the movieClip contained in the scrollPane, though, a blank space appears.
This is some of the code I'm working with:
var spH:int = 307;
var spW:int = 700;
var spX:int = 0;
var spY:int = 80;
var sp:ScrollPane = new ScrollPane();
var totalMC:MovieClip = new MovieClip();
sp.x = spX;
sp.y = spY;
sp.horizontalScrollPolicy = "off";
//totalMC is at this point builded and defined
//add scrollPane to the scene
sp.source = totalMC;
If I only add the totalMC movie clip to the stage, the gap doesn't show, so I figured it must be an issue related to the scrollPane properties themselves.
Can anybody out there help me out?
that looks like a code problem with your mc build. trace the height and confirm.