Flex 3 newbie here with a problem I can't seem to solve by myself. 

I've been unable to set a backgroundElement bitmap with an image 
loaded at runtime. 

I can accomplish it without problem using either:

1) an mx:Image with a predefined @Embed source property within 
mx:backgroundElements tags   (as is well documented)

  and/or

2) AS3 code to explicitly push an Embed'd image (also well 
documented).

But - I can't seem to set an image that I load at runtime. I load the 
image and (to test it) display it in an mx:Image object that I create 
at the same time. Then, either I don't know exactly what type of 
object to push into the backgroundElements array, or Flex doesn't 
support this. I've tried using bitmaps, images, etc, but nothing 
seems to work.  I also can't find any documentation for this method.

Can anyone point me to either a reference, or suggest a way to 
accomplish this? 
Much appreciated.
-Eddie

Reply via email to