5 Replies Latest reply on Jun 10, 2010 2:23 PM by mxvx

    Setting icons at runtime

    mxvx

      Hi,

       

      Is it possible to set icons at run time without embedding images.

       

      [

      Embed(source="/../images/image.png")]

       

      private var img1:Class;

       

      b2.setStyle(

      "icon", img1);

       

      IN this case, the image is embedded. If I change a new image it doesn't reflect.  Is there any way to get it reflected.

       

      Thanks & Regards

      mxvx