I am attempting to load images from another domain within my
Flex application. The problem occurs when I try to obtain the width
and height of the Image after I have created it. The width and
height properties are zero when the Image is first created and
added to a canvas, so I have to add them to a container and wait
before being able use the width and height properties. I cannot use
events since the properties are still zero when the Complete event
I found a workaround to this issue online where
image.content.height/width is used as opposed to
image.height/width. When I use this, I get security sandbox
violations (but not consistently). Can anyone help?
Actually, that was the first approach I tried. It *always*
ends up with security exceptions. For now at least the problem
appears to have disappeared. Time to stick this project into source
control, I think!