Dynamic JPEGs

I was wondering if there was a way to dynamically load JPEGs and read their width/ height attributes before they actually land on stage.
I have tried it once wherein I hide the targetted movie clip and try to utilize the INIT functin to check for initialize. This works pretty good except that a little dynamic animation I need tends to act a little later than it should creating a bug if u proceed immediately.