Skip to main content
Inspiring
November 1, 2006
Question

Flashpaper Question

  • November 1, 2006
  • 2 replies
  • 472 views
Anyone ever thrown form elements to a Flashpaper document? When I use the
following code inside of a cfdocument, it acts like it's processing, but
nothing displays. If I right-click, it shows the "About Macromedia Flash"
stuff, but there's nothing there:

<cfdocument format="flashpaper"><table width="69" border="1" align="center"
cellpadding="1" cellspacing="1" bordercolor="#000000">
<tr>
<td><table width="600" border="0" cellpadding="5" cellspacing="0"
bordercolor="#000000">
<tr>
<td width="590"><table width="600" border="0" align="center"
cellpadding="5" cellspacing="0">
<tr>
<td><div align="center" class="blkbigbig">Composing Time Off
Request </div></td>
</tr>
</table></td>
</tr>
<tr>
<td><table width="624" border="0" align="center" cellpadding="5"
cellspacing="1" bgcolor="#000000">
<tr>
<td width="274" bgcolor="#FFFFFF"
class="zones2"><strong>NAME: <cfoutput>#form.thename#</cfoutput></td>
<td width="162" bgcolor="#FFFFFF"
class="zones2"><strong>DEPT: </strong></td>
<td width="154" bgcolor="#FFFFFF"
class="zones2"><strong>DATE: </strong><cfoutput>#todaysdate#</cfoutput></td>
</tr>
</table></td>
</tr>
<tr>
<td>I would like the following time off for the pay period dated:
   TO: </td>
</tr>
<tr>
<td><table width="600" border="0" align="center" cellpadding="5"
cellspacing="1" bgcolor="#000000">
<tr>
<td width="122" bgcolor="#003366"
class="whsmlbld2"><strong>DATES (from/to) </strong></td>
<td width="94" bgcolor="#003366" class="whsmlbld2"><strong>#
of HOURS </strong></td>
<td width="102" bgcolor="#003366"
class="whsmlbld2"><strong>TYPE:</strong></td>
<td width="53" bgcolor="#003366"
class="whsmlbld2"><strong>PAID? </strong></td>
<td width="84" bgcolor="#003366"
class="whsmlbld2"><strong>REASON:</strong></td>
</tr>
<tr>
<td bgcolor="#FFFFFF"><cfoutput><span
class="blksmaller">#form.daysoff#</span></cfoutput></td>
<td bgcolor="#FFFFFF"><cfoutput><span
class="blksmaller">#form.numberofhours#</span></cfoutput></td>
<td bgcolor="#FFFFFF"><cfoutput><span
class="blksmaller">#form.whattype#</span></cfoutput></td>
<td bgcolor="#FFFFFF"><cfoutput><span
class="blksmaller">#form.paidorunpaid#</span></cfoutput></td>
<td bgcolor="#FFFFFF"><cfoutput><span
class="blksmaller">#form.thereason#</span></cfoutput></td>
</tr>
<tr>
<td bgcolor="#FFFFFF"> </td>
<td bgcolor="#FFFFFF"> </td>
<td bgcolor="#FFFFFF"> </td>
<td bgcolor="#FFFFFF"> </td>
<td bgcolor="#FFFFFF"> </td>
</tr>
<tr>
<td bgcolor="#FFFFFF"> </td>
<td bgcolor="#FFFFFF"> </td>
<td bgcolor="#FFFFFF"> </td>
<td bgcolor="#FFFFFF"> </td>
<td bgcolor="#FFFFFF"> </td>
</tr>
<tr>
<td bgcolor="#FFFFFF"> </td>
<td bgcolor="#FFFFFF"> </td>
<td bgcolor="#FFFFFF"> </td>
<td bgcolor="#FFFFFF"> </td>
<td bgcolor="#FFFFFF"> </td>
</tr>
<tr>
<td bgcolor="#FFFFFF"> </td>
<td bgcolor="#FFFFFF"> </td>
<td bgcolor="#FFFFFF"> </td>
<td bgcolor="#FFFFFF"> </td>
<td bgcolor="#FFFFFF"> </td>
</tr>
</table></td>
</tr>
<tr>
<td><div align="center" class="blksmaller"></div></td>
</tr>
<tr>
<td><table width="600" border="0" align="center" cellpadding="5"
cellspacing="1" bgcolor="#000000">
<tr bordercolor="#000000">
<td width="236" bgcolor="#FFFFFF" class="blksml">Requested
By: </td>
<td width="341" bgcolor="#FFFFFF" class="blksml">Approved
By: </td>
</tr>

</table></td>
</tr>
</table></td>
</tr>
</table></cfdocument>


    This topic has been closed for replies.

    2 replies

    Inspiring
    November 2, 2006
    Maybe, but the pdf generation works fine. I should add that the flashpaper
    generation isn't viewable on my PC, but on my Mac, with the same code, I see
    it just fine. I'm able to convert other documents to Flashpaper and view
    them on the PC fine.



    No registration req'd for free content
    "Dan Bracuk" <webforumsuser@macromedia.com> wrote in message
    news:eidddm$c7b$1@forums.macromedia.com...
    > You can output any type of variable with cfdocument. I'm guessing your
    problems are css/class related.


    Inspiring
    November 3, 2006
    quote:

    Originally posted by: Newsgroup User
    Maybe, but the pdf generation works fine. I should add that the flashpaper
    generation isn't viewable on my PC, but on my Mac, with the same code, I see
    it just fine. I'm able to convert other documents to Flashpaper and view
    them on the PC fine.


    Well in that case it's not css related. I don't remember the details, but I know that flashpaper does not always play nicely with certain versions of Flash Player. That might be it.
    Inspiring
    November 2, 2006
    You can output any type of variable with cfdocument. I'm guessing your problems are css/class related.