2 Replies Latest reply on May 6, 2008 9:27 PM by bhudfsfdf

    A question about Image size

    bhudfsfdf
      Hello guys:

      I have a question here, I have a <MX:httpservice> and a <MX:Image> tag, the image tag get source url from the httpservice.

      On page load, I can see the image is displayed but I cannot find a proper image event to call my actionscript function to get the height or width of the image. So far I have tried events: init, initialize,complete, creationComplete, they all return 0 for the size. If I use mouseover event, I can get the correct image size, But I don't want to introduce this extra step (you have to move your mouse over the flash object).

      Can someone tell me what is the event should I use?


      Thanks a lot