Problem with the ScrollPane Component [FMX2004Pro]

Hi,

I’m using Flash MX 2004 Pro. I’m facing a problem with the ScrollPane Component (Flash UI Components).

I’m trying to load a movie clip from the library into the ScrollPane by using the contentPath property of the ScrollPane. Normally this works fine, but the catch is that the contents of MC I’m trying to load is generated at runtime from an external XML document. The MC itself is empty in the beginning and the code to generate the contents of the MC is present in the first frame of this clip.

The problem is that the contents of the movie clip get generated correctly and it gets loaded into the ScrollPane too. But the Scrollbars don’t work!

I’ve been playing around with this for a couple of days now and I can’t seem to figure out why the scrollbars wont work.

If you guys know a solution to this I’ll be a really happy man!

Thanks in advance!