Dynamic preloading

Hi all,
I’m trying to dynamically preload images - without success (-:

The Scenario:
I’m passing a string to the swf from the web site - image path

i want the preloader get the TotalByts of the image, preload it and disply it

is it possible?

thanks!