Sorry if there is an answer out there somewhere but i have not been able to find it.
I am using Flex SDK 4, and I am trying to dynamically load images into an <s:Image> component. My strings come from an xml file. I thought i found the answer at: http://help.adobe.com/en_US/flex/using/WS2db454920e96a9e51e63e3d11c0bf69084-7f9d.html#WS2d b454920e96a9e51e63e3d11c0bf63b33-7fb2 which has an example for just this case. However, I copied the code straight from the site and it still didnt work. Then i view the example on the actual page from Adobe, and theres doesnt work either. Please help. This is the last thing i thought would have created a problem on my project.
i figured it out. I forgot for a loaded asset, i have to include the asset in the bin folder where i publish the swf to.