header
ask question
Click here to ask Question Now Its free No registration required. Flash, Flex, Flash Media Server, ActionScript,Adobe Air. Most questions receive a response in an hour.
PRIYA
Points:110
Posts:0
Answered

3/27/2011 10:18:04 PM

Title: How to convert upload file into PDF in FLEX 4


hello everyone,

I have one doubt that how to convert a upload file into pdf in flex 4.If anyone knows plz help me.




Thanks & Regards,
K.priya.





1
Troy
Points: 820
Posts:0
3/27/2011 10:58:54 PM



what kind of files do you want to upload to get them converted to PDF

2
Rayan
Points: 700
Posts:0
3/27/2011 11:02:32 PM



to generate a PDF from inside FLEX the content should be present inside flash file . So if you are creating a webapplication (swf) file then . you first need to upload the image file to server and then load it inside flash and then you can use the free Alive PDF AS3 library to generate PDF files.

http://code.google.com/p/alivepdf/downloads/list

3
Trasan
Points: 0
Posts:0
3/27/2011 11:05:23 PM



you can check the following links to create PDF files using Flex, Flash Builder, Flash or Adobe AIR application

http://lucamezzalira.com/2009/02/28/create-pdf-in-runtime-with-actionscript-3-alivepdf-zinc-or-air-flex-or-flash/

http://www.rogue-development.com/blog2/2007/08/alivepdf-flexair-example/

http://www.themidnightcoders.com/blog/2009/01/generating-pdf-documents-from-flex.html

http://blogs.adobe.com/mikepotter/2006/09/create_pdf_from.html

4
PRIYA
Points: 110
Posts:0
3/27/2011 11:59:32 PM



Thanks for the reply,
i want to upload pdf,doc,txt file formats and then i want to convert it into pdf.Any one have a idea.

5
Rex
Points: 1280
Posts:0
3/28/2011 12:08:44 AM



PDF creating in actionscript is possible as far as the content is available inside flash. The content is converted to bitmap and sent for PDF conversion. Uploading files like DOC, PDF and Text and converting them to PDF can be accomplished using some third party tool on your server. You can just initiate uploading of files to server from flash and your server language like asp,php can do the rest of process to receiver the file save it and then launch the third party tool to convert the files.

Flash cannot read the DOC and PDF files in itself so it cannot convert it to PDF.

6
PRIYA
Points: 110
Posts:0
3/28/2011 12:28:32 AM



Thanks for the reply Rex,
Can u please specify which type of third party tool should by used for the above conversion?

7
Phillipe
Points: 0
Posts:0
3/28/2011 2:28:28 AM



you can find a lot of programs by simple google searching that can convert DOC to PDF.

http://www.google.co.in/search?q=convert+doc+to+pdf

But your choice depends upon the price and the features required. Your developers (asp, php, cgi, java) can decide better by using the trial version and see if they can get it working properly on there server.

8
PRIYA
Points: 110
Posts:0
3/28/2011 3:07:08 AM



Thanks for the reply,
may it possible to convert the uploaded file into pdf without third party involving?any one have an idea means plz suggest me.....

9
Otis
Points: 0
Posts:0
Accepted Answer
4/1/2011 12:16:30 AM



I don't see any any such possibility , reason being the amount of complexity involved into reading and converting different formats. Flash can create client applications which cannot open , load and save files at its own due to security restrictions. So such tasks become difficult.


Post your Reply
Name  

Email

Type your Reply or Answer

Are you human? What is 7+3 



Members Login

Email  
Password
Forgot Password





This website focus on: Flash | Flex | FMS | RED5 | WOWZA | Flash Media Server | Adobe AIR | ActionScript,Flash Solutions | Flash Question | Flash Answers | Flash Developers | Flash Problem, Flash Help, Flash bugs, Flash workaround | Flash Blog | Flex Question Answers | Flash Forum | Flex Development | Actionscript development | Flash development | Adobe AIR development
Copyright © 2008 AskMeFlash.com. All rights reserved. Privacy Policy | Terms & Conditions