Hi,

After browsing the file, from the FileRefrrence variable assign image
object's source i.e,

*img.source = fileRef.data;*

This should do the trick..

Cheers!!
Raghavendra.


On Wed, Feb 3, 2010 at 11:50 AM, Venkat Viswanathan
<[email protected]>wrote:

> Hi,
>
> Is it a normal web application or an AIR application? If it is web
> application, it is not possible to show the image before upload. If it
> is AIR, the you can do it.
>
> Regards,
> Venkat
>
> On Feb 2, 6:15 pm, Guilherme Utrabo <[email protected]> wrote:
> > The user selects an image through FileReference.browse().
> > Before I upload it to the server I want to show a preview of that image
> to
> > the user.
> > The question is: How can I show this preview to the user, based on my
> > FileReference in Flex 3?
> >
> > On 2 February 2010 10:46, Arindam Mojumder <[email protected]
> >wrote:
> >
> >
> >
> > > please explain clearly brother.
> >
> > > On 2 February 2010 15:34, Guilherme Utrabo <[email protected]> wrote:
> >
> > >> Hello there,
> >
> > >> How can I show a client-side image preview based on the FileReference
> > >> using Flex 3?
> >
> > >> Thank you!
> > >> Guilherme
> >
> > >> --
> > >> 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]<flex_india%[email protected]>
> <flex_india%2bunsubscr...@googlegrou ps.com>
> > >> .
> > >> For more options, visit this group at
> > >>http://groups.google.com/group/flex_india?hl=en.
> >
> > > --
> > > With best regards
> > > @rindam
> >
> > >  --
> > > 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]<flex_india%[email protected]>
> <flex_india%2bunsubscr...@googlegrou ps.com>
> > > .
> > > For more options, visit this group at
> > >http://groups.google.com/group/flex_india?hl=en.
>
> --
> 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]<flex_india%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/flex_india?hl=en.
>
>

-- 
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