Recently I was working on a Flex project and realize upon having my project on the live server , I couldn’t retrieve the height and width property of my loaded image by doing below var img:Image = new Image(); img.source = "image.jpg" trace(img.height); trace(img.width); The trace statement above will just show 0 for both width [...]

Width and Height for Dynamic Image in Flex
July 16th, 2008 · No Comments · Flash, Flex
Tags:dynamic image·Flex·Height·Image·Width