My favorites | Sign in
Project Logo
                
New issue | Search
for
| Advanced search | Search tips
Issue 2: PDF will not load
2 people starred this issue and may be notified of changes. Back to list
Status:  New
Owner:  ----
Type-Defect
Priority-Medium


Sign in to add a comment
 
Reported by retrogamer4ever, Aug 30, 2007
Hello, I came across a little problem, the pdf will not generate...  I
placed the create.php file in the webserver folder which is running php
version 5.2.3 and ran the demo swf file that was is the folder (after
changing the URL the swf file sends the data to inside the flash project)
tried to run it and nothing happens, just a blank page that seems to load
but nothing appears...  Although the URL is HUGE
http://cgi.ctrlzsc.com/create.php?name=generated.pdf?%PDF-1.31%200%20obj%3C%3C/Type%20/Pages/Kids%20[3%200%20R5%200%20R7%200%20R9%200%20R11%200%20R13%200%20R15%200%20R17%200%20R]/Count%208%3E%3Eendobj3%200%20obj%3C%3C/Type%20/Page/Parent%201%200%20R/MediaBox%20[0%200%20595.28%20841.89]/Resources%202%200%20R/Annots%20[%3C%3C/Type%20/Annot%20/Subtype%20/Link%20/Rect%20[198.42519685039372%20785.1970866141731%20368.503937007874%20830.5514173228346]%20/Border%20[0%200%200]%20/A%20%3C%3C/S%20/URI%20/URI%20(http://www.bytearray.org)%3E%3E%3E%3E]/Rotate%200/Dur%203/Contents%204%200%20R%3E%3Eendobj4%200%20obj%3C%3C/Length%202648%3E%3Estream2%20J0.57%20w0%20Tr0%20Tw%200%20Tc%20100%20Tz%200%20TL%20BT%20/F1%2012.00%20Tf%20ETBT%20/F1%2020.00%20Tf%20ETq%201%200.39215686274509803%200%20rg%20BT%20226.77%20807.87%20Td%20(AlivePDF)%20Tj%20ET%20Q0.23368796706199646%200.9398626163601875%200.41074018087238073%20RG2.83%20w[]%200%20d1%20J0%20j3%20M0.9579293262213469%200.30494560534134507%200.9262860114686191%20rg28.35%20768.19%20141.73%20-70.87%20re%20bBT%20/F1%2013.00%20Tf%20ET0%20Tr0%20Tw%200%20Tc%20100%20Tz%200%20TL%20q%200%200%200%20rg%20BT%20198.43%20714.33%20Td%20(A%20rectangle%20with%20CapsStyle.ROUND%20and%20JointStyle.MITER)%20Tj%20ET%20Q0.4652064465917647%200.8187421546317637%200.8579700319096446%20RG2.83%20w[]%200%20d2%20J0%20j3%20M0.7717766682617366%200.12862815987318754%200.10128108225762844%20rg62.36%20671.81%20m136.06%20671.81%20l154.85%20671.81%20170.08%20656.58%20170.08%20637.80%20c%20170.08%20634.96%20l170.08%20616.17%20154.85%20600.95%20136.06%20600.95%20c%2062.36%20600.95%20l43.58%20600.95%2028.35%20616.17%2028.35%20634.96%20c%2028.35%20637.80%20l28.35%20656.58%2043.58%20671.81%2062.36%20671.81%20c%20b0%20Tr0%20Tw%200%20Tc%20100%20Tz%200%20TL%20q%200%200%200%20rg%20BT%20198.43%20572.60%20Td%20(A%20rounded%20rectangle%20with%20angle%20radius%20of%209)%20Tj%20ET%20Q0.8828571941703558%200.9731736006215215%200.027838857378810644%20RG2.83%20w[]%200%20d0%20J2%20j3%20M0.3678827118128538%200.8673644568771124%200.3797314004
I would assume thats the pdf data being transferred?  
Comment 1 by thibault.imbert, Aug 30, 2007
Hi,

Make sure you generate the PDF when the SWF is running in the browser. When the SWF
is running in the Flash IDE preview, the player is not able to send some data in the
POST buffer but only in the GET buffer. That's the reason why you see a string
description of the PDF in the browser URL.

let me know,

cheers,

Thibault
Comment 2 by retrogamer4ever, Aug 31, 2007
Yah problem fixed, I was running the swf from the player, it wasn't embedded in the
actual application.  
Comment 3 by dan...@shimmerphase.com, Jan 29, 2008
I saw this same URL issue when trying to run some AlivePDF sample code to send the
PDF to a remote URL from within an AIR application. I saw this when I was testing
from within Flex Builder. I've not yet tested on an installed AIR application.

Should I take this thread to mean that we should test the PDF creation in a "live"
AIR application? Or is there a way to force a testing AIR application to use the POST
method all the time?
Sign in to add a comment

Hosted by Google Code