Ask a Question related to Macromedia ColdFusion, Design and Development.
-
jkgiven #1
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
-
-
jkgiven #3
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
-
PaulH #4
Re: dwg to swf to cfm to pdf
just eliminating things. possibily silly question, but did you wrap that bit in cfoutput?
PaulH Guest
-
jkgiven #5
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
-
PaulH #6
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



Reply With Quote

