0 Replies Latest reply on Oct 26, 2007 1:03 AM by Viktor_Chernomirdyn

    Working with images

      I have one simple question: as a novice with flex i don't know how to determine that file is image so it can be displayed by component Image. For example in Java if i set incorrect file to ImageIcon i'll see that height and width for created image equal to -1, so i'll know that data doesn't represent dysplayable content, but in Flex the area occupied by Image component will be blank without any hints. Is there any ability in Flex to know that file is image (of course comparing its extension to *.jpeg, *.bmp etc. isn't solution)?