Approximate example

[Embed(source="images/myphoto.png")]
[Bindable]
public var MyPhoto:Class;

var myImage:Image = new Image();
myImage.source = MyPhoto;
trace(myImage.width);

For whatever reason, I just get "0". I've tried contentWidth,
maxWidth, explicitWidth.

I've tried callLater and then attempted to get the width.

Any advice or guidance would be greatly appreciated!

- Jason


Reply via email to