a7mdfm / flexpaper

Automatically exported from code.google.com/p/flexpaper
1 stars 0 forks source link

Issue while using Flexpaper-1.2.4 #70

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.Using pdf2swf generating swfs with version 9.In flexpaper viewer for
loading swfs I given flash version 9.But the swfs are not loading in
viewer.When I drag the swf directly inthe browser itis playing without any
issues.Is there is any issues while displaying the swfs in flexpaper viewer

What is the expected output? What do you see instead?
expected:
swfs needs to view inthe viewer instead it is not displaying generated swf.

What version of the product are you using? On what operating system?
Iam using flexpaper-1.2.4.

Overview of problem
We have a requirement in our company to convert all the uploaded documents
into swfs to display in slideshow for the endusers.
Iam using openoffice and swf tools for the conversion of all the document
formats into pdfs and from pdfs to swf

Iam using pdf2swf for generation of swf files using

pdf2swf inputlocation -o outputlocation -T 9 -f

swfs are generating with the version 9.In flexpaper document I set flex
version is 9 to load swfs.Most of the documents are loading without any
issues.I faced an issue in some special cases
1.After converting ppts or pps into pdfs then pdf to swf itis not loading
inthe viewer with 9 version
solution:
If I convert ppts or pps into pdfs then pdftoswf with flash version 6
instead of 9.Then change the flexviewer version 6.It is displaying all the
converted swfs for ppts and pps.But at this time itis not loading generated
swfs for other formated swfs(means doc,xls converted pdf2swf)

conclusion
It is loading for some swfs with 9 version and rest with 6.But if I convert
all the pdfs with 9 version and displayed directly inthe browser.It is
loading all the swfs without any issue.It is having the problem
particularly when I tried to load swfs with flexpaperviewer instead of
default browser display.

Please provide any additional information below.

Original issue reported on code.google.com by nareshch...@gmail.com on 14 May 2010 at 4:18

GoogleCodeExporter commented 8 years ago
could you provide some examples of swfs which are not loading in flexpaper?

Original comment by erik.eng...@gmail.com on 14 May 2010 at 9:33

GoogleCodeExporter commented 8 years ago
Due to the weekend I am not in office to provide the swf files.Monday I will 
upload
the issued swf files. Thanks for your immediate response.

Original comment by nareshch...@gmail.com on 15 May 2010 at 4:36

GoogleCodeExporter commented 8 years ago
I am uploading two swf files with the names "CONfettiCONRAD-2_version9.swf" and
CONfettiCONRAD-2.swf.

I converted swf files using pdf2swf 
1. First file (CONfettiCONRAD-2_version9.swf) I converted with version 9 using 
the
command
/usr/bin/pdf2swf -s poly2bitmap locationofpdf -o swffilelocation -T 9 -f

After conversion I used flexpaper to display the generated swf file using 9 
version.
It is not displaying inthe flexpaper but the same file displaying in browser

2.Second file(CONfettiCONRAD-2.swf) I converted with 6 version using the command
/usr/bin/pdf2swf -s poly2bitmap locationofpdf -o swffilelocation -T 6 -f

At this time itis displaying in the flexpaper with version 9.

Original comment by nareshch...@gmail.com on 17 May 2010 at 11:56

Attachments:

GoogleCodeExporter commented 8 years ago
We are planning to purchase the license once the above issue is resolved.Have 
an urgent 
deployment, hope I will get the immediate support.

Thanks in advance to all supported members.

Original comment by nareshch...@gmail.com on 17 May 2010 at 2:11

GoogleCodeExporter commented 8 years ago
I get an error message from flash when displaying your converted document 
(CONfettiCONRAD-2_version9.swf) 
in flash player 10 even without FlexPaper "Cpool entry 2  is wrong type" 
indicating that Flash Player thinks there is 
something wrong with the actionscript code inside that SWF. 

Unfortunately I won't be able to resolve this. The SWF needs to be a valid SWF 
for FlexPaper to load it properly. 
You will have to go back to PDF2SWF and query why your converted document is 
throwing these errors.

Original comment by erik.eng...@gmail.com on 17 May 2010 at 5:57

GoogleCodeExporter commented 8 years ago
just out of curiosity, which version of PDF2SWF are you using?

Original comment by erik.eng...@gmail.com on 17 May 2010 at 5:57

GoogleCodeExporter commented 8 years ago
pdf2swf - part of swftools 0.8.1

Original comment by nareshch...@gmail.com on 18 May 2010 at 4:03

GoogleCodeExporter commented 8 years ago
why are you not using version 0.9?

Original comment by erik.eng...@gmail.com on 18 May 2010 at 4:07

GoogleCodeExporter commented 8 years ago
Any how it is not an issue what version of swftools we are using.Itis 
successfully
converting all the documents into swf files and all the swffiles are loading in 
the
browser.

We have an issue only while displaying them in flexpaper.

We already tried with the swftools > 0.9 version in our environment.But after
installation of this version itis having some issues in jpeg library.

Original comment by nareshch...@gmail.com on 18 May 2010 at 4:13

GoogleCodeExporter commented 8 years ago
Ok,  I would recommend running at least version 0.9. Your SWF might display in 
the 
browser but it is actually broken. If you install a debug version of the flash 
player 
you will see that there are errors thrown by your converted SWF if you open it 
in the 
browser.

Original comment by erik.eng...@gmail.com on 18 May 2010 at 4:18

GoogleCodeExporter commented 8 years ago
Is there any alternative other than up-gradation of swftools

Original comment by nareshch...@gmail.com on 18 May 2010 at 4:28

GoogleCodeExporter commented 8 years ago
Issue is resolved following are the changes required

Architecture details
Red Hat Enterprise Linux Server release 5.1 (Tikanga)
pdf2swf - part of swftools 0.8.1
Open-Office-3.1.0
flexpaper-1.2.4.

Solution
1. Install swftools from yum instead of package(tar)
2. use the following command to generate swf files
/usr/bin/pdf2swf pdffilelocation -o swffilelocation(targetlocation) -f -T 9 -t 
-G

cheers

Limitation
It wont display the swf files having 1page ( this is known issue of 64 )

When we did bulk swf file generations it is not possible to check the document
contains one page or multiple pages to change the flexpaper version.

Any how 90% of my problem is resolved..... hope it wont create additional 
issues in
future

Original comment by chilukur...@gmail.com on 19 May 2010 at 3:31