1 Reply Latest reply on Nov 19, 2009 10:46 AM by Flex harUI

    is it possible for <mx:image> to load new image over exist image?

    Einherz

      hi, i think this is the simplest question ever for flex but i can't find anywhere else and don't know what keyword to use for google

       

      it's very simple i have tag image and when i load new image i'm still want old image still be there until it's done loading new image.

       

       

      <mx:image id="test"/>

       

      in as3

       

      test.load("a.jpg");

       

       

      when i want to do

       

      test.load("b.jpg");

       

      do u have any idea that a.jpg is still exist until b.jpg is loading?

       

      the idea is i don't want a.jpg to disappear while loading b.jpg. in flash is very easily, but in flex it should be easy also just on propertie that i miss. but i read it 3-4 times i coudn't find anything like that. anyone has any idea?

       

      thanks