I'll add that I'd prolly return the filename from this CFC, let the caller,
Flex in this case, do whatever with it.  eg, open a URLRequest using it.

DK

On Fri, Mar 7, 2008 at 1:25 PM, Douglas Knudsen <[EMAIL PROTECTED]>
wrote:

> try using filename instead of saveAsName
>  <cfdocument format="PDF" filename="test">
>
> saveAsName is what is going top be sent to the browser where hopefully the
> browser can prepop the save dialog.  Omition of filename sends the ouput to
> the caller which would freak Flex out in normal circumstances.
>
> DK
>
>
> On Fri, Mar 7, 2008 at 12:19 PM, Scott McAllister <[EMAIL PROTECTED]>
> wrote:
>
> > Thanks for the suggestion, Mark.  Your idea about the control going to
> > the pdf plugin gave me the idea to try to output FlashPaper from the
> > cfdocument.  But, that produced the same DeliveryInDoubt error.
> >
> > I would have also thought the same thing about the returning value if I
> > had not started with returning nothing.  Originally, my RemoteObject was not
> > expecting anything in return and the CFC wasn't passing anything back to
> > Flex.  I was simply calling the function from Flex with the idea that it
> > would run and output a PDF.  Doing that is how I came to the DeliveryInDoubt
> > error.
> >
> > The CFC works perfectly if called from a cfm, it's only when calling it
> > from Flex that it errors.
> >
> > You mentioned that you ran into this before.  What are your plans for
> > working around it?
> >
> > -Scott
> >
> >
> > 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: http://www.houseoffusion.com/groups/Flex/message.cfm/messageid:5074
Subscription: http://www.houseoffusion.com/groups/Flex/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.37

Reply via email to