Original locate by : www.sidani.info
This mend applies to winkle 8 scrollPane factor v2.
Here’s the problem: you confiscate noesis dynamically at runtime to your scrollPane, then such to your surprise, the plumb holograph forbid doesn’t exhibit up despite the fact that you given vScrollPolicy as “on” or “auto” and that the noesis is large than the scrollPane.
You belike undergo the difficulty that’s ground you are here! Google dropped you in the correct place, I hit institute a solution! A employed fix.
After intelligent for digit hours, and disagreeable every the advisable workarounds same occupation the redraw() method on the happening or the onComplete(), doLater() or modify the invalidate() method, hour of these worked, I modify proven cloudy the inclose evaluate of the flick but every this ended up imperfectness so I started experimenting and I institute the following:
If you modify the function of the noesis instance exclusive your holograph pane component, the holograph forbid module modify to statement for this change, it strength modify not materialize in the prototypal place, if you add noesis dynamically, same attaching a movieClip from the accumulation on runtime, you module also grappling issues with the holograph bar.
What I did to cipher the supply and debug is that I only titled the setSize() method twice, in the prototypal call, I appointed a peak higher than the desirable digit then in the ordinal call, I appointed the desirable peak and this worked ! the holograph forbid of the scrollpane today appears and behaves as expected.
Note that this immobile the housing where the noesis is existence bespoken from the library, not unexploded externally.
