6 Replies Latest reply on Mar 30, 2010 1:51 AM by smon_ed

    Dynamic image loading

    smon_ed Level 1

      Is it possible to use BitmapImage to load an image dynamically?


      myBitmapImageComponent.source = myImageRef;


      I thought I should be able to just set the source for the image but it seems to silently fail.


      Can someone help me?  It's such a basic thing to want to do - load an image dynamically from a var image source - but I can't find any Adobe documentation on how to do it in actionscript. 


      Do I need to create a Loader and set that as the source in actionscript?