Flex to pdf

hi.. i need to convert my grid and charts from flex to pdf.. how to create pdf template? so that i can import my data set into pdf template?? am using live cycle designer trail version.. or any alternative method to convert flex to pdf????
thanks in advance.

hi, I'm trying to just get this AlivePDF set up to try it out and use.
I am migrating a Flex 2 app to Flex3 specifically in order to use AlivePDF. I downloaded and installed the latest stable build of the Flex 3 SDK and have now compiled the Flex 2 app (of course with some changes).
I have tried to statically load the AlivePDF.swc (both the 0.1.4.9 and 0.1.5 versions). I've used mxmlc with both a command line argument "library-path += " and by modifying the flex_config.xml file adding a new "path-element".
I've had the swc file both in a subdirectory of the application directory and in the same directory as the mxml file.
I keep getting a compile error that it can't open the file "...\AlivePDF.swc".
Help, anybody............

Similar Messages

  • Flex Mobile - PDF not displaying error - "Adobe Reader not found"

    Hi everyone,
    Is viewing PDF documents supported in Flex Mobile projects?  At the moment, I get an error saying:
    "Adobe Reader not found"
    I am converting my Adobe Air Desktop project to a Mobile project with Flashbuilder 4.5.1. Any documentation reference on how to get PDF's to view on Flex Mobile applications would greatly be appreciated.
    Thanks!

    Thankyou. The Central Question over this Lumia 625 inability to open a specific pdf (by Lonely Planet) remains:-I could uninstall this Adobe Reader app but think this is not the problem as this app does indeed open all other pdf's on my phone successfully, e.g. the Lonely Planet Invoice!
    On the other hand, this particular downloaded & installed pdf can be read on my home PC, my Macbook & my IpodTouch so I can't attribute fault to the filename.
    The basic Troubleshoot step of a "soft reset"  is NOT described in the Lumia 625 User Guide & I'm pessimistic this arbitrary step will bear fruit. I have come to the conclusion that no matter what I do, this Lumia model using the MIcrosoft OS has a system flaw that is unable to read the file (a file that other devices & another OS can read) & I will not waste time with ad hoc actions such as resets as this is not a hobby for me.
    The pdf in question (88Mb, Lumia free space is >3Gb)  is a travel guide I'd like to use on my next trip & this Lumia 625 is proving not worthy of coming with me. I am disappointed at the lack of "Customer Support" shown by the Nokia Company & I hope this is relayed as some "friendly feedback". Thank you for your own assistance, though.
    I invite correction if this assessment is mistaken.

  • Flex to pdf and jpg

    I want to convert different parts of my flex dashboard to jpg
    or pdf. I am using CF in server
    Please help
    Anz

    http://weblog.cahlan.com/2006/10/save-out-bitmapdata-to-jpg.html

  • Flex SDK pdf class and ColdFusion 9

    Regarding the Pdf class (which is wrapper for ColdFusion 9's cfpdf).
    I am trying to determine if it is worth upgrading to Flash Builder 4, just
    to use the Pdf class.
    How well does the Pdf class work?
    When generating thumbnails, does the Pdf class rasterized pdf page?
    Does Pdf class require an image object to display the Thumbnail page?
    Any opinions?

    This blog post is pretty close to what I want:
    http://justinjmoses.wordpress.com/2008/10/10/flex-dynamic-bindable-value-objects/
    So there are the dynamic value objects I was looking for.  But the blog-poster is using LINQ and .Net 3.5.  I'm using ColdFusion9.
    So, how do I get ColdFusion9 to deal with that?  How do you get CF9 to recognize the fact that you've changed the VO, and deal with it appropriately?
    Thanks,
    L.

  • How does Flex cache PDF files??

    I need to prevent my Flex application to cache PDF files... We are using LiveCycle8.2 and Flex 3.2. Does anybody may help me??

    Sorry for being newbie obtuse but are you saying that FP (Flex Project I assume)'s are an Active X (application) and thus IE does utilize its cache for all HTTP based communications???
    If so then as I understand it, the typical Flex Project has an HTML wrapper which then loads the Flex App (I assume using HTTP).  Subsequent Flex<--->Server communications can be HTTP or other format (AMF which I believe BenForta indicated was HTTP "wrapped" as well but at the moment I am less concerned with this).
    As such is the following correct?
    1.)  IE Browser hits HTML page (url) ----> IE checks its cache; If exists compares vs current version on server; If different download from server else load from cache
    2.)  HTML page calls Flex App (using HTTP???) ----> IE again compares Flex App in cache (if exists) vs. server and if same load else download
    3.)  Flex App retrieves image file names via <mx:RemoteObject> ----- I don't see how browser cache can be used here as results not known until after dbase query completes
    4.)  Flex App uses <mx:RemoteObject> results to retrieve large .jpg files  ---- do these "pass through" the browser (and therefore load and/or store in cache) or are they purely "Flex contained" (and if so does flex have any automatic cache or do I have to perhaps store the jpgs in a shared object if I hope to reuse them without a download)???

  • [FLEX] ARCHIVOS PDF

    HOLA, ESTOY TRABAJANDO CON FLEX 2.0 Y QUISIERA SABER SI
    ALGUIEN SABE QUE
    COMPONENTE PUEDO UTILIZAR PARA MOSTRAR EL CONTENIDO DE
    ARCHIVOS PDF, HE
    ESTADO BUSCANDO PERO SOLO HE ENCONTRADO EL RICH TEXT, PERO
    DICE QUE CON EL
    SOLO PUEDO MOSTRAR ARCHIVOS .DOC Y HTML, SI ALGUIEN ME
    PUDIERA AYUDAR SE LOS
    AGRADECERIA MUCHISIMO

    Una posible solución sería convertir sus PDFs con
    Flash Paper 2 a SWF.
    Salu2
    "Israel Goytia Castro" <[email protected]>
    escribió en el mensaje
    news:f06adu$54m$[email protected]..
    > HOLA, ESTOY TRABAJANDO CON FLEX 2.0 Y QUISIERA SABER SI
    ALGUIEN SABE QUE
    > COMPONENTE PUEDO UTILIZAR PARA MOSTRAR EL CONTENIDO DE
    ARCHIVOS PDF, HE
    > ESTADO BUSCANDO PERO SOLO HE ENCONTRADO EL RICH TEXT,
    PERO DICE QUE CON EL
    > SOLO PUEDO MOSTRAR ARCHIVOS .DOC Y HTML, SI ALGUIEN ME
    PUDIERA AYUDAR SE
    > LOS AGRADECERIA MUCHISIMO
    >
    >

  • Flex and pdf

    Hi All,
    How can I create a PDF file from my flex app data?
    Can i display the content of the pdf file in a window panel
    or something similar?
    Any ideas? Help will be appreciated.
    Rgds
    JFB

    jfb00, I do all of my PDF creation in PHP using the FPDF
    Library (
    http://www.fpdf.org/). I send
    whatever data is needed from my Flex app to PHP via a HTTPService
    request and then build the PDF. I haven't tried this yet but I
    would think that once the PDF has been created the name of the PDF
    file can be sent back to Flex so you can open it as you would a
    link to any external website.

  • Adobe flex on pdf forms

    Hi
    I want to implement a floating menu on the pdf forms developed using livecycle.
    As I have soem buttons at the end of the form(Which consists of  10 pages). Instead of user going all the way downa nd clcik any of the button
    I want to implement a floating menu on left hand side which will move as the user changes pages
    Is it possible , if so can somebody give me an example or a  location where i can find some tutorials.
    thanks

    Hi,
    Yes there is Javascript in the mouseEnter event of each textField on the master page:
         var mouseY = 823.89 - event.target.mouseY; // working from top of page..
         var newY = (mouseY + "points").toString();
         indexSubform.y = newY; // sets position of subform
         this.access = "protected"; // to prevent the user inputting data
    You need an event to capture the current mouse position. I cannot work out a way for a numericField to constantly update the current mouse position (in real time).
    I don't think that there is an equivalent of pageY or screenY in LC Designer, so I don't know how to track page views.
    Good luck,
    Niall

  • Generating PDF from Flex BarChart

    Hello,
    I am new to Flex. Have been playing with creating Advanced
    Data Grid and Bar Charts for our application prototype and would
    like to explore how to create a PDF file of the BarChart or other
    charting components.
    The requirement is simple. We show the BarChart and a button
    to view it as a PDF. When the user presses the button, the PDF
    viewing dialog should come up and the user can opt to save the PDF
    or view it (the standard way a browser deals with the PDF).
    Have read blogs, this forum and LiveCycle docs but don't
    understand clearly how Flex communicates with
    LiveCycle ES (or PDF Generator) to display the PDF. Any ideas
    or tutorials that does this would be appreciated.
    Thanks,
    Kannan

    In order to generate a PDF document, you have to call a
    method on a Java remote object that uses the XFAHelper and pass it
    some arguments.
    I modified the PDFService example in the documentation so I
    can:
    1- specify any document as opposed to hardcoding the PDF
    template name
    2- write the PDF to a file as opposed to writing it in the
    user's session
    Here is the source:
    package com.mycompany.flex.remoteObjects;
    import java.io.File;
    import java.io.IOException;
    import org.w3c.dom.Document;
    import flex.acrobat.pdf.XFAHelper;
    import flex.messaging.FlexContext;
    import flex.messaging.util.UUIDUtils;
    public class PDFService
    public PDFService()
    public Object generatePDF(Document dataset, String
    PDFdocument) throws IOException
    // Open shell PDF
    String source =
    FlexContext.getServletContext().getRealPath("/pdfgen/" +
    PDFdocument);
    int index = source.indexOf("./");
    if(index != -1 )
    // Remove the ./ added by UNIX
    source = source.substring(0, index) + source.substring(index
    + 2, source.length());
    XFAHelper helper = new XFAHelper();
    helper.open(source);
    // Import XFA dataset
    helper.importDataset(dataset);
    // Create a unique ID
    String uuid = UUIDUtils.createUUID(false);
    source =
    FlexContext.getServletContext().getRealPath("/dynamic-pdf/" + uuid
    + "_" + PDFdocument);
    index = source.indexOf("./");
    if(index != -1 )
    // Remove the ./ added by UNIX
    source = source.substring(0, index) + source.substring(index
    + 2, source.length());
    // Create the file object
    File file = new File(source);
    // Save the file
    helper.save(file);
    // Close any resources
    helper.close();
    return (uuid + "_" + PDFdocument);
    pdfgen is the folder where my PDF template resides.
    dynamic-pdf is the folder where the generated PDF are saved.
    These two folders are located under flex.war at the first
    level.
    In Flex, I wrote a Cairngorm command that calls this remote
    object and displays the generated PDF:
    package com.mycompany.core.commands
    import com.adobe.cairngorm.commands.ICommand;
    import com.adobe.cairngorm.control.CairngormEvent;
    import com.adobe.cairngorm.business.Responder;
    import
    com.mycompany.core.business.GenerateAndOpenPDFDelegate;
    import
    com.mycompany.core.control.event.GenerateAndOpenPDFEvent;
    import com.mycompany.core.model.ModelLocator;
    import flash.net.navigateToURL;
    import flash.net.URLRequest;
    import mx.rpc.events.ResultEvent;
    import mx.rpc.events.FaultEvent;
    import mx.collections.*;
    import mx.core.Application;
    import mx.controls.Alert;
    public class GenerateAndOpenPDFCommand implements ICommand,
    Responder
    [Bindable]
    private var model:ModelLocator = ModelLocator.getInstance();
    public function GenerateAndOpenPDFCommand():void
    public function execute(event:CairngormEvent):void
    trace("Executing GenerateAndOpenPDFCommand...");
    var delegate : GenerateAndOpenPDFDelegate = new
    GenerateAndOpenPDFDelegate( this );
    var generateAndOpenPDFEvent : GenerateAndOpenPDFEvent =
    event as GenerateAndOpenPDFEvent;
    delegate.generateAndOpenPDF( generateAndOpenPDFEvent.pdfVO
    public function onResult( event : * = null ) : void
    var item:Object;
    var result:String = (event as ResultEvent).result as String;
    trace("GenerateAndOpenPDFCommand::onResult\n\n" + result);
    if (result)
    // Open the generated PDF in a new window
    navigateToURL(new URLRequest(ModelLocator.FLEX_URL +
    "dynamic-pdf/" + result), "_blank");
    // Hide the progress bar overlay
    Application.application.requestProgressBar.visible = false;
    Application.application.requestProgressBar.progressBar.source =
    null;
    Application.application.requestProgressBar.progressBar.label
    = this.model.languageDictionary["000012"];
    public function onFault( event : * = null ) : void
    // Hide the progress bar overlay
    Application.application.requestProgressBar.visible = false;
    Application.application.requestProgressBar.progressBar.source =
    null;
    // Debug
    Alert.show("GenerateAndOpenPDFCommand:\n\n" + (event as
    FaultEvent).message);
    FLEX_URL is created in this way some place else in the
    application:
    // Get the server URL from the Application's
    var server:String = Application.application.url;
    var index:uint = server.indexOf("Shell"); // Shell is the
    name of my app folder
    server = server.substring(0, index);
    // This is the flex.war/ URL
    ModelLocator.FLEX_URL = server;
    Of course, it would be better to save the PDF in the user's
    session as Adobe suggests, but I couldn't figure out how they use
    the PDFResourceServlet. First of all, I had to get its code.
    I had to decompile the java class files in the samples to get
    the source of the PDFResourceServlet as it is not in the
    documentation. Here it is:
    package com.mycompany.flex.remoteObjects;
    import java.io.IOException;
    import javax.servlet.ServletException;
    import javax.servlet.http.HttpServlet;
    import javax.servlet.http.HttpServletRequest;
    import javax.servlet.http.HttpServletResponse;
    import javax.servlet.http.HttpSession;
    public class PDFResourceServlet extends HttpServlet
    public PDFResourceServlet()
    protected void doGet(HttpServletRequest req,
    HttpServletResponse res)
    throws ServletException, IOException
    doPost(req, res);
    protected void doPost(HttpServletRequest req,
    HttpServletResponse res)
    throws ServletException, IOException
    String id = req.getParameter("id");
    if(id != null)
    HttpSession session = req.getSession(true);
    try
    byte bytes[] = (byte[])(byte[])session.getAttribute(id);
    if(bytes != null)
    res.setContentType("application/pdf");
    res.setContentLength(bytes.length);
    res.getOutputStream().write(bytes);
    } else
    res.setStatus(404);
    catch(Throwable t)
    System.err.println(t.getMessage());
    private static final long serialVersionUID =
    0x7180e4383e53d335L;

  • Flex PDF Printing too small need 8 1/2 x 11

    I am using Adobe Flex with  IBI's WebFOCUS Enable. Once I export my SWT file to Adobe Flex in PDF format works fine on the screen until I print. Printing on 8 1/2 x 11 paper shows up in the lower left hand bottom about 4 times too small. I heard it has to fit Adobe flex pallet or be shrunk. Is there some conversion software to remedy this? Please adivse. Joe

    Quick look at the "save as" feature has a list a mile long, including vector, autocad, xml, and more. Personally, I haven't used the program beyond playing with it and researching to discover it cannot do dates with the time period I need (though I imagine there might be a way to manually create the dates).
    I've found Timeline Maker, and it looks like it can do what I need without a large learning curve. However, I would very much like to learn how to work most effectively in InDesign (rather than spread my learning across several programs). I do have a subscription to Lynda.com, and I have worked through a few tutorials, but I didn't apply what I learned immediately thereafter...and it seems I've forgotten much of what I learned!
    If you have any recommendations for a novice working with InDesign CS5 who is trying to make a print book with maps, timelines, and perhaps an ebook with animations, I'd be grateful.
    Presently, I'm setting up files to correspond with my outline. (Trying to manage chaos.) Any input in that regard would be appreciated. Since I'm working alone, I don't have the benefit of seeing any "industry standards".)
    Thanks again,
    Stacy

  • SAP and Adobe (Flex)

    Hello ,
    I would like to know how to start working with SAP BW and Adobe  ( Flex).
    Is needed that Java Engine to be installed for the server? Is there a document how to link the 2 worlds (SAP , Adobe - Flex) ?
    I would like to know what resources are needed (license, hardware, software, settings) for this connection to work.
    The final purpose would be to try testing is a SAP BW query content could be transferred to some Adobe Flex form / layout / etc, in order for the report to look nicer, to be more user friendly , etc .
    Any help / link/ advice would be appreciated !
    Thank you in advance ,
    A.

    Hi Ariana,
    Hope these below links will provides some idea for you:
    http://www.adobe.com/kr/products/flex/whitepapers/pdf/sap_flex.pdf
    http://www.sugmena-event.com/sponsors/Flex%20Interface%20with%20BI%20Queries%20using%20Web%20Template.pdf
    Regards,
    RajK

  • Flex 3 Livedocs location

    For some reason I need to refer to Flex 3 lvedocs and I think Adobe have removed it completely from its resources. Any idea from where can I download/refer them?

    Yes, it appears that Adobe has completely removed the Flex 3 documentation.  I encountered this a few weeks ago.  In case you didn't see it - have a look at this forum thread: http://forums.adobe.com/message/5943888.  There are some links to downloads of the Flex 3 PDF documentation.  I have not seen or heard of any mirrors or downloadable versions of the HTML version of the Flex 3 docs.  Hope that helps.

  • Generate PDF from template

    Hi,
    How do I create in Flex a PDF document from an existing PDF template?

    For a open source system, you could look at a combination of TCPDF (http://www.tcpdf.org) and FPDI (http://www.setasign.de/products/pdf-php-solutions/fpdi/)

  • Sap and flex

    Hello,
    We want for our companies an web solution for personnel planning to use so that every employee has the possibility to see his plan everywhere, without in the SAP system must log on.
    Webtechnick the aim of the SAP can connect data and can fetch.
    What is the best way?
    is Adobeflex a good alternative?how it will be cost? if we want to develop with Flex?

    Hi Ariana,
    Hope these below links will provides some idea for you:
    http://www.adobe.com/kr/products/flex/whitepapers/pdf/sap_flex.pdf
    http://www.sugmena-event.com/sponsors/Flex%20Interface%20with%20BI%20Queries%20using%20Web%20Template.pdf
    Regards,
    RajK

  • Design view in FB 4.5 not working

    I have multiple projects that when viewed in FB 4, show in design view perfectly. I have custom skinning and it all looks like it should.
    I moved these projects over to FB 4.5, and they all look terrible. It basically makes the design view unusable.
    I have a Flex 4 project with spark components and spark skinning which shows up correctly, but all my mx projects with classic mx skinning does not show up at all.
    Suggestions?

    Thanks for the info rangora!
    I am trying to work with a tutorial creating a mobile twitter app
    (http://wwwimages.adobe.com/www.adobe.com/content/dam/Adobe/en/devnet/flex/articles/twitter -trends/build-first-mobile-flex-app.pdf)
    Following the tutorial:..
    Trying to connect  the data service with the url he gives (http://search.twitter.com/trends.json)
    returns 404 not found... URL changed since tutorial was made maybe? I dont know?
    So went to twitter here (https://dev.twitter.com/docs/api/1/get/trends) and used this
    (http://api.twitter.com/1/trends.json)
    and was connected via flashbuilder test. ok good.
    The tutorial has me set the name of the app in the properties dialouge under common as "twitter trends" then
    continue on,  and set debug configurations then run.
    The app never connects..... and allways shows.. "Home View" as the title.??( I named the app twitter trends in the wizaed setup and in properties )
    I am sure you can tell by now I am new to  flash builder!
    Also Red Circle with X in gutter.. shows within the view file's source page,  (not the application File) stating---   "Cannot resolve attribute 'viewActive' for component type spark.components.View". this occurs after trying to insert  viewActive="refresh()"  into the <s:view> tag,  in which the tutorial calls for this to be done to refresh the page view when using the "back control" in the app.(switching views)
    4.5 returns red X error saying.. parse error.. must be inside <fx:declaration> tag...  so I put it in there,  and
    4.5  returns error ... cannot follow <s: callresponder>.(which is inside the declaration tag) so I moved it between the </fx:script tag>
    and the <fx:Declarations> tag> and still the same error statement....huh...it is not inside the declarations tag anymore and still in the s:view tag's scope, just lower in the page.
    hoping to find some kind of answer to this.
    "just trying to learn"
    Thanks

Maybe you are looking for