Skip to main content
September 22, 2006
Answered

Dynamic Flash Paper?

  • September 22, 2006
  • 4 replies
  • 673 views
Does Flash Paper support dynamically generating a flash paper from Cold Fusion queries? If so, how is it done and what tools do you need to do it? I want the user to select records they wish to assemble on the fly into printable flash paper. I'm hoping that a flash paper template (header graphics, etc.) could reside on the server and query could populate the body.

Imagine select blog entries and assembling them into a printable flash paper to get an idea of what I'd like to do.

I'm new to Flash Paper and I'm just trying to assess CF integration capability at this point. If someone has a demo example of a form generating a flash paper, that would be cool.

Thanks!
Don

    This topic has been closed for replies.
    Correct answer
    Thanks to all of you. This will be a big help on my NASA project.

    Don

    4 replies

    Inspiring
    September 22, 2006
    version 7.0 only allows HTML/CFML code to be renderred to Flashpaper.

    <cfdocument format="flashpaper">
    <!-- CFML & HTML TO GENERATE CONTENT -->
    </cfdocument>


    version 7.0.1/7.0.2 adds some new attributes like src,srcfile,mimetype using
    which we can render .doc / .xls /.pdf to Flashpaper.

    <cfdocument format="flashpaper" src=" http://localhost/pdf.pdf" mimetype =
    "application/pdf">
    </cfdocument>


    Also .doc / .xls /.pdf to Flashpaper. can be done through a com object
    FlashPaperConnect.dll, provided that macromedia contribute is installed on
    cf server and that dll is registered successfully.
    <cfobject type="com" name="FlashPaper" class="FlashPaperConnect2.object.2"
    action="create">
    <cfset FlashPaper.BeginConversion('D:\doc.doc','doc.swf',0,210,297)>


    Darshan Oza.
    Technical Associate Automated Workflow Pvt. Ltd. 14/1, MEG Officers' Colony,
    Banaswadi Main Road, Bangalore - 56 00 33. ) : +91 93438 68628 ( : 080 2546
    7241 Ê : 080 2549 0576 * : darshan@aworkflow.com Transforming the Way People
    Work.


    Inspiring
    September 22, 2006
    To elaborate on Ian's answer, you can only do this on version 7 or higher,
    Inspiring
    September 22, 2006
    The tools that you will need to generate dynamic flash paper with the
    current versions of CF.

    <cfdocument type="flashpaper">
    <!-- CFML & HTML TO GENERATE CONTENT -->
    </cfdocument>
    Correct answer
    September 23, 2006
    Thanks to all of you. This will be a big help on my NASA project.

    Don
    September 22, 2006
    One other thing. Can CF pull in images into flash paper too? In short, I guess I'm asking if a Cold Fusion template (.cfm) can pull content in and be output as dynamic flash paper.