Calling preloader at runtime?

Hi,

i am working on a personal project gallery. I am using Zoompane Component. Currently iam able to load images in to the srollpane but stuck up with preloader for scrollpane. That is each time a image link is clicked a preloader gets enabled until the image loads.

I have a preloader animation in the library.

Clear my doubt:

Will this work: loadBar_mc.setEnabled(true);

i am calling this when ever the image link is clicked, but the preloader always shows up on the screen.

Should i use a linkage ID for the preloader?? Please help me out of this mess!

Thanks