Caching images in flash

In my application I am using two images one for mouse over and one inactive button.

Both are loading from XML. But while mouse over it taking some delay to show the mouse over image.

Is there anyway of cache the image or temperorily store the image in flash and then displays on mouse over. which will avoid the delay(jerking).

Please anybody have an idea about it please help me.