dwg to swf to cfm to pdf

Ask a Question related to Macromedia ColdFusion, Design and Development.

  1. #1

    Default dwg to swf to cfm to pdf

    So I'm taking an AutoCAD drawing and converting it to a swf file
    Then take the swf and embed it into a cfml document (within CFDOCUMENT)
    Next, try to create the pdf, however I get "document has no pages"

    If I remove the lines of code that call the swf file, everything else converts
    to the pdf file fine.

    these are the lines of code pertaining to the swf file:

    <object
    classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
    width="500" height="550"

    codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab##v
    ersion=5,0,0,0">
    <param name="movie" value="#drawing#.swf">
    <param name="play" value="false">
    <param name="loop" value="false">
    <param name="quality" value="high">
    <embed src="#drawing#.swf" width="500" height="550" loop="false" play="false"
    quality="high"

    pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Vers
    ion=ShockwaveFlash">
    </embed>
    </object>

    jkgiven Guest

  2. #2

    Default Re: dwg to swf to cfm to pdf

    does it work w/flashpaper?

    PaulH Guest

  3. #3

    Default Re: dwg to swf to cfm to pdf

    I've never looked at FlashPaper before so not sure what I should have seen.
    I got to a flashpaper screen without error, but also without any content.
    jkgiven Guest

  4. #4

    Default Re: dwg to swf to cfm to pdf

    just eliminating things. possibily silly question, but did you wrap that bit in cfoutput?
    PaulH Guest

  5. #5

    Default Re: dwg to swf to cfm to pdf

    There are no silly questions at this point. I am stumped and appreciate the help.

    To answer you - yes it is wrapped in a cfoutput
    jkgiven Guest

  6. #6

    Default Re: dwg to swf to cfm to pdf

    i tried & failed several times to get flash content into a cfdocument before i
    bothered to read the
    [url]http://livedocs.macromedia.com/coldfusion/7/htmldocs/wwhelp/wwhimpl/common/html/[/url]
    wwhelp.htm?context=ColdFusion_Documentation&file=p art_dev.htm:

    The cfdocument tag supports all HTML and CFML tags, with the following
    exceptions:

    * cfchart
    * Macromedia Flash content
    * Interactive tags, such as form, cfform, and cfapplet
    * JavaScript that dynamically modifies elements or element positions

    proably have to shovel that autocad drawing into an image instead.

    PaulH Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139