I'm not sure of this one bcoz i have not worked much on images but
this is what I found after a little bit of googling.

It seems that u can get the properties of the image when the init
event is called (after creation complete u get the properties of the
image control rather than the image itself). So what i suggest is that
u call a function on the init event and check the height & width of ur
image there. If it is acceptable then continue or else reject the
image.

Also refer this link from where i got the idea. They have used a
Loader to get the image properties.

http://www.actionscript.org/forums/showthread.php3?t=139092

Hope this works :)

On Apr 4, 10:17 pm, sandeep reddy <[email protected]> wrote:
> Hi ,
>
> I am currently working on a application to upload images from the file
> system.
>
> My requirement is like  not allow the images to uploaded with height and
> width more than 50X50 pixel.
>
> I know how to do the filtering  based on type and file size but not the
> height and width limitations ....please let me know if any one have worked
> on it earlier or has some idea on it.
>
> --
> Thanks
> Sandeep

-- 
You received this message because you are subscribed to the Google Groups "Flex 
India Community" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en.

Reply via email to