Hi,

I have the pdf stored as a binary file in the database. So when I call
for any pdf, I write it to a file on my backend server. Then I return
the path of the file to the flex front end.

>From the flex end all I have to do is

urlrequest = new URLRequest(path);         /// path is the destination
of the file that was written on the server.
navigateToURL(urlrequest,"_blank");

This should be enough to display ur pdf. See if this helps.

On Apr 27, 12:10 pm, kapilan Thangalakshmi <[email protected]>
wrote:
> Hi Kronos,
>   Thank u,,,,
>              Nw i m using navigateToURL
> examinationService.getConsldMarksSheetDetails(studentRollNumber.id,request);
> //// Here in this method ,to request some event should be there na,wat event
> shoul i use...or can u pls giv some exampl code wat u hav dne!! because i m
> gettin pdf file in backend.hw to get pdf as a string in flex!!!!
>
> *var* request:URLRequest = *new* URLRequest();
> *
>
>  request.url = "C:/gmweb/web/Iso.pdf";
> *
>
> request.method = URLRequestMethod.POST;
>
> *navigateToURL(request,"_self");
> *
>
> On Wed, Apr 27, 2011 at 12:27 PM, Kronos <[email protected]> wrote:
> > Or if u dont want too much hassle u can throw the pdf at the browser
> > with the navigateToURL and let the browser render the PDF. That way no
> > extra code is necessary.
>
> > On Apr 26, 6:02 pm, naveen SR <[email protected]> wrote:
> > > Hi Kapil,
>
> > > You can use Flex Paper component -->  http://flexpaper.devaldi.com/.
> > There
> > > is already a thread opened in the forum about the same. Please have a
> > look
> > > and write back for more details.
>
> > > Thanks,
> > > Naveen
>
> > > On Tue, Apr 26, 2011 at 2:46 AM, kapilan Thangalakshmi <
>
> >  > [email protected]> wrote:
> > > > Hi frnds,
> > > >         I would like to display PDF in flex 3..is it possible? i m
> > using
> > > > java,spring in backend... pls give some ideas....
>
> > > >  Thanks & Regards
> > > >  Kapilan.A
>
> > > > --
> > > > 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.
>
> > --
> > 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.

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