I am trying to implement a custom ‘broken image’ icon to appear if I cannot load an image. To accomplish this, I used the brokenImageSkin parameter, but it renders the image at its true resolution, which ends up cutting off the image if the size of the control is constrained.
<mx:Image brokenImageSkin='@Embed('/assets/placeholder.png')' source='http://www.example.com/bad_url.png'/>
How can I scale the brokenImageSkin to a custom width and height?
I see that in this example, http://blog.flexexamples.com/2008/03/02/setting-a-custom-broken-image-skin-for-the-image-control-in-flex/#more-538, there is an IO error event where you could set the width and height of the image.