cancel
Showing results for 
Search instead for 
Did you mean: 

Is this normal? Document Preview is constantly scrolling

kenmanwong
Champ in-the-making
Champ in-the-making
Hi, new here to the forum. I've been evaluating Alfresco Community 3.2r2 for some time I have a problem withe Preview window when looking at documents in the Document library. The document preview window loads properly and the SWF preview starts but if the doc is more than a single page long, the flash preview will "play" this like some kind of movie, constantly scrolling through the pages at very fast speed. This happens for any type of document I have tried so far (ppt, doc, txt, odp, pdf). Truly annoying.

My Alfresco server is running on Ubuntu 8.04 LTS. The pdf2swf (0.8.1) and Openoffice (3.0) are both installed from Ubuntu's own repo. The client is running Windows XP Pro and I have tried this using IE 8 and FF 3.5/3.0. They all have Adobe Flash 10 installed.

Does anyone have idea as to why this occurs? Anyone else have this problem?
11 REPLIES 11

mikeh
Star Contributor
Star Contributor
It's a known issue with pdf2swf 0.8.1. Replace it with 0.9 instead.

Thanks,
Mike

kenmanwong
Champ in-the-making
Champ in-the-making
Thank you. That was the fix I was looking for. I removed the old swftools package and compiled version 0.9.0 from source. The preview no longer plays everything in a constant loop.

xeeen
Champ in-the-making
Champ in-the-making
moin moin,

resurrecting this thread cause having same issue with latest developement snapshot swftools-2010-02-06-1900.

As soon as the preview of a multipage document has been loaded, I'm not able to go through the document site by site because it scrolls all pages of the document automatically very fast!

what's been happening till now:

- successfully installed from file 'Alfresco-Community-3.2r2-Linux-x86-Install' on Fedora Core 12 Kernel 2.6.31.5-127.fc12.i686
- successfully tested my installation, I'm definitely able to use Alfresco with
     – swftools 0.8.1 or
     – swftools-2010-02-06-1900 (currently in use)
   
Installing 0.9.0 fails! Please see the make log below. (configure succeeded)
Maybe that's the problem?

I'm using FF3.6 w Shockwave Flash 10.0 r45 / IE 8 w Shockwave Flash 10.0 r32

Thanks a lot for your help!


making all in m4…
cd m4;make all
make[1]: Entering directory `/home/alfresco/Downloads/swftools-0.9.0/m4'
make[1]: Leaving directory `/home/alfresco/Downloads/swftools-0.9.0/m4'
making all in lib…
cd lib;make all
make[1]: Entering directory `/home/alfresco/Downloads/swftools-0.9.0/lib'
gcc -c -DHAVE_CONFIG_H   -I/usr/include/freetype2 -I/usr/include/fontconfig -fPIC -Wparentheses -Wimplicit -Wreturn-type -O -fomit-frame-pointer  modules/swfaction.c -o modules/swfaction.o
gcc -c -DHAVE_CONFIG_H   -I/usr/include/freetype2 -I/usr/include/fontconfig -fPIC -Wparentheses -Wimplicit -Wreturn-type -O -fomit-frame-pointer  modules/swfbits.c -o modules/swfbits.o
gcc -c -DHAVE_CONFIG_H   -I/usr/include/freetype2 -I/usr/include/fontconfig -fPIC -Wparentheses -Wimplicit -Wreturn-type -O -fomit-frame-pointer  modules/swfbutton.c -o modules/swfbutton.o
gcc -c -DHAVE_CONFIG_H   -I/usr/include/freetype2 -I/usr/include/fontconfig -fPIC -Wparentheses -Wimplicit -Wreturn-type -O -fomit-frame-pointer  modules/swfcgi.c -o modules/swfcgi.o
gcc -c -DHAVE_CONFIG_H   -I/usr/include/freetype2 -I/usr/include/fontconfig -fPIC -Wparentheses -Wimplicit -Wreturn-type -O -fomit-frame-pointer  modules/swfdraw.c -o modules/swfdraw.o
gcc -c -DHAVE_CONFIG_H   -I/usr/include/freetype2 -I/usr/include/fontconfig -fPIC -Wparentheses -Wimplicit -Wreturn-type -O -fomit-frame-pointer  modules/swfdump.c -o modules/swfdump.o
gcc -c -DHAVE_CONFIG_H   -I/usr/include/freetype2 -I/usr/include/fontconfig -fPIC -Wparentheses -Wimplicit -Wreturn-type -O -fomit-frame-pointer  modules/swffilter.c -o modules/swffilter.o
gcc -c -DHAVE_CONFIG_H   -I/usr/include/freetype2 -I/usr/include/fontconfig -fPIC -Wparentheses -Wimplicit -Wreturn-type -O -fomit-frame-pointer  modules/swffont.c -o modules/swffont.o
gcc -c -DHAVE_CONFIG_H   -I/usr/include/freetype2 -I/usr/include/fontconfig -fPIC -Wparentheses -Wimplicit -Wreturn-type -O -fomit-frame-pointer  modules/swfobject.c -o modules/swfobject.o
gcc -c -DHAVE_CONFIG_H   -I/usr/include/freetype2 -I/usr/include/fontconfig -fPIC -Wparentheses -Wimplicit -Wreturn-type -O -fomit-frame-pointer  modules/swfrender.c -o modules/swfrender.o
gcc -c -DHAVE_CONFIG_H   -I/usr/include/freetype2 -I/usr/include/fontconfig -fPIC -Wparentheses -Wimplicit -Wreturn-type -O -fomit-frame-pointer  modules/swfshape.c -o modules/swfshape.o
gcc -c -DHAVE_CONFIG_H   -I/usr/include/freetype2 -I/usr/include/fontconfig -fPIC -Wparentheses -Wimplicit -Wreturn-type -O -fomit-frame-pointer  modules/swfsound.c -o modules/swfsound.o
gcc -c -DHAVE_CONFIG_H   -I/usr/include/freetype2 -I/usr/include/fontconfig -fPIC -Wparentheses -Wimplicit -Wreturn-type -O -fomit-frame-pointer  modules/swftext.c -o modules/swftext.o
gcc -c -DHAVE_CONFIG_H   -I/usr/include/freetype2 -I/usr/include/fontconfig -fPIC -Wparentheses -Wimplicit -Wreturn-type -O -fomit-frame-pointer  modules/swftools.c -o modules/swftools.o
gcc -c -DHAVE_CONFIG_H   -I/usr/include/freetype2 -I/usr/include/fontconfig -fPIC -Wparentheses -Wimplicit -Wreturn-type -O -fomit-frame-pointer  rfxswf.c -o rfxswf.o
gcc -c -DHAVE_CONFIG_H   -I/usr/include/freetype2 -I/usr/include/fontconfig -fPIC -Wparentheses -Wimplicit -Wreturn-type -O -fomit-frame-pointer  drawer.c -o drawer.o
gcc -c -DHAVE_CONFIG_H   -I/usr/include/freetype2 -I/usr/include/fontconfig -fPIC -Wparentheses -Wimplicit -Wreturn-type -O -fomit-frame-pointer  MD5.c -o MD5.o
MD5.c: In function âfinish_md5â:
MD5.c:193: warning: implicit declaration of function âfreeâ
MD5.c:193: warning: incompatible implicit declaration of built-in function âfreeâ
gcc -c -DHAVE_CONFIG_H   -I/usr/include/freetype2 -I/usr/include/fontconfig -fPIC -Wparentheses -Wimplicit -Wreturn-type -O -fomit-frame-pointer  h.263/dct.c -o h.263/dct.o
gcc -c -DHAVE_CONFIG_H   -I/usr/include/freetype2 -I/usr/include/fontconfig -fPIC -Wparentheses -Wimplicit -Wreturn-type -O -fomit-frame-pointer  h.263/h263tables.c -o h.263/h263tables.o
gcc -c -DHAVE_CONFIG_H   -I/usr/include/freetype2 -I/usr/include/fontconfig -fPIC -Wparentheses -Wimplicit -Wreturn-type -O -fomit-frame-pointer  h.263/swfvideo.c -o h.263/swfvideo.o
gcc -c -DHAVE_CONFIG_H   -I/usr/include/freetype2 -I/usr/include/fontconfig -fPIC -Wparentheses -Wimplicit -Wreturn-type -O -fomit-frame-pointer  action/assembler.c -o action/assembler.o
gcc -c -DHAVE_CONFIG_H   -I/usr/include/freetype2 -I/usr/include/fontconfig -fPIC -Wparentheses -Wimplicit -Wreturn-type -O -fomit-frame-pointer  action/compile.c -o action/compile.o
gcc -c -DHAVE_CONFIG_H   -I/usr/include/freetype2 -I/usr/include/fontconfig -fPIC -Wparentheses -Wimplicit -Wreturn-type -O -fomit-frame-pointer  action/lex.swf4.c -o action/lex.swf4.o
gcc -c -DHAVE_CONFIG_H   -I/usr/include/freetype2 -I/usr/include/fontconfig -fPIC -Wparentheses -Wimplicit -Wreturn-type -O -fomit-frame-pointer  action/lex.swf5.c -o action/lex.swf5.o
gcc -c -DHAVE_CONFIG_H   -I/usr/include/freetype2 -I/usr/include/fontconfig -fPIC -Wparentheses -Wimplicit -Wreturn-type -O -fomit-frame-pointer  action/libming.c -o action/libming.o
gcc -c -DHAVE_CONFIG_H   -I/usr/include/freetype2 -I/usr/include/fontconfig -fPIC -Wparentheses -Wimplicit -Wreturn-type -O -fomit-frame-pointer  action/swf4compiler.tab.c -o action/swf4compiler.tab.o
gcc -c -DHAVE_CONFIG_H   -I/usr/include/freetype2 -I/usr/include/fontconfig -fPIC -Wparentheses -Wimplicit -Wreturn-type -O -fomit-frame-pointer  action/swf5compiler.tab.c -o action/swf5compiler.tab.o
gcc -c -DHAVE_CONFIG_H   -I/usr/include/freetype2 -I/usr/include/fontconfig -fPIC -Wparentheses -Wimplicit -Wreturn-type -O -fomit-frame-pointer  action/actioncompiler.c -o action/actioncompiler.o
gcc -c -DHAVE_CONFIG_H   -I/usr/include/freetype2 -I/usr/include/fontconfig -fPIC -Wparentheses -Wimplicit -Wreturn-type -O -fomit-frame-pointer  as3/abc.c -o as3/abc.o
gcc -c -DHAVE_CONFIG_H   -I/usr/include/freetype2 -I/usr/include/fontconfig -fPIC -Wparentheses -Wimplicit -Wreturn-type -O -fomit-frame-pointer  as3/pool.c -o as3/pool.o
gcc -c -DHAVE_CONFIG_H   -I/usr/include/freetype2 -I/usr/include/fontconfig -fPIC -Wparentheses -Wimplicit -Wreturn-type -O -fomit-frame-pointer  as3/files.c -o as3/files.o
gcc -c -DHAVE_CONFIG_H   -I/usr/include/freetype2 -I/usr/include/fontconfig -fPIC -Wparentheses -Wimplicit -Wreturn-type -O -fomit-frame-pointer  as3/opcodes.c -o as3/opcodes.o
gcc -c -DHAVE_CONFIG_H   -I/usr/include/freetype2 -I/usr/include/fontconfig -fPIC -Wparentheses -Wimplicit -Wreturn-type -O -fomit-frame-pointer  as3/code.c -o as3/code.o
gcc -c -DHAVE_CONFIG_H   -I/usr/include/freetype2 -I/usr/include/fontconfig -fPIC -Wparentheses -Wimplicit -Wreturn-type -O -fomit-frame-pointer  as3/registry.c -o as3/registry.o
gcc -c -DHAVE_CONFIG_H   -I/usr/include/freetype2 -I/usr/include/fontconfig -fPIC -Wparentheses -Wimplicit -Wreturn-type -O -fomit-frame-pointer  as3/builtin.c -o as3/builtin.o
as3/builtin.c:3105: warning: initialization from incompatible pointer type
as3/builtin.c:4542: warning: initialization from incompatible pointer type
gcc -c -DHAVE_CONFIG_H   -I/usr/include/freetype2 -I/usr/include/fontconfig -fPIC -Wparentheses -Wimplicit -Wreturn-type -O -fomit-frame-pointer  as3/parser.tab.c -o as3/parser.tab.o
gcc -c -DHAVE_CONFIG_H   -I/usr/include/freetype2 -I/usr/include/fontconfig -fPIC -Wparentheses -Wimplicit -Wreturn-type -O -fomit-frame-pointer  as3/tokenizer.yy.c -o as3/tokenizer.yy.o
gcc -c -DHAVE_CONFIG_H   -I/usr/include/freetype2 -I/usr/include/fontconfig -fPIC -Wparentheses -Wimplicit -Wreturn-type -O -fomit-frame-pointer  as3/scripts.c -o as3/scripts.o
gcc -c -DHAVE_CONFIG_H   -I/usr/include/freetype2 -I/usr/include/fontconfig -fPIC -Wparentheses -Wimplicit -Wreturn-type -O -fomit-frame-pointer  as3/compiler.c -o as3/compiler.o
gcc -c -DHAVE_CONFIG_H   -I/usr/include/freetype2 -I/usr/include/fontconfig -fPIC -Wparentheses -Wimplicit -Wreturn-type -O -fomit-frame-pointer  as3/import.c -o as3/import.o
gcc -c -DHAVE_CONFIG_H   -I/usr/include/freetype2 -I/usr/include/fontconfig -fPIC -Wparentheses -Wimplicit -Wreturn-type -O -fomit-frame-pointer  as3/expr.c -o as3/expr.o
gcc -c -DHAVE_CONFIG_H   -I/usr/include/freetype2 -I/usr/include/fontconfig -fPIC -Wparentheses -Wimplicit -Wreturn-type -O -fomit-frame-pointer  as3/common.c -o as3/common.o
gcc -c -DHAVE_CONFIG_H   -I/usr/include/freetype2 -I/usr/include/fontconfig -fPIC -Wparentheses -Wimplicit -Wreturn-type -O -fomit-frame-pointer  as3/initcode.c -o as3/initcode.o
ar r librfxswf.a modules/swfaction.o modules/swfbits.o modules/swfbutton.o modules/swfcgi.o modules/swfdraw.o modules/swfdump.o modules/swffilter.o modules/swffont.o modules/swfobject.o modules/swfrender.o modules/swfshape.o modules/swfsound.o modules/swftext.o modules/swftools.o rfxswf.o drawer.o MD5.o  h.263/dct.o h.263/h263tables.o h.263/swfvideo.o action/assembler.o action/compile.o action/lex.swf4.o action/lex.swf5.o action/libming.o action/swf4compiler.tab.o action/swf5compiler.tab.o action/actioncompiler.o as3/abc.o as3/pool.o as3/files.o as3/opcodes.o as3/code.o as3/registry.o as3/builtin.o as3/parser.tab.o as3/tokenizer.yy.o as3/scripts.o as3/compiler.o as3/import.o as3/expr.o as3/common.o as3/initcode.o
ar: creating librfxswf.a
ranlib librfxswf.a
cd pdf;make libpdf
make[2]: Entering directory `/home/alfresco/Downloads/swftools-0.9.0/lib/pdf'
g++ -c -DHAVE_CONFIG_H   -I/usr/include/freetype2 -I/usr/include/fontconfig -fPIC -fPIC -Wparentheses -Wimplicit -Wreturn-type -O -fomit-frame-pointer  -I ./ -I xpdf GFXOutputDev.cc -o GFXOutputDev.o
GFXOutputDev.cc: In function âvoid addGlobalFont(const char*)â:
GFXOutputDev.cc:2507: error: invalid conversion from âconst char*â to âchar*â
GFXOutputDev.cc:2508: error: invalid conversion from âconst char*â to âchar*â
make[2]: *** [GFXOutputDev.o] Error 1
make[2]: Leaving directory `/home/alfresco/Downloads/swftools-0.9.0/lib/pdf'
make[1]: *** [libpdf.a] Error 2
make[1]: Leaving directory `/home/alfresco/Downloads/swftools-0.9.0/lib'
make: *** [all] Error 2

xeeen
Champ in-the-making
Champ in-the-making
ok fine, after some little hacks in the sources before compiling version 0.9.0 is running properly I guess.

BUT: PDF Preview still loops throug the document with highspeed…

I'm on the verge of giving up. No one any idea?? Can hardly imagine I'm the only one having this issue.
thx

xeeen
Champ in-the-making
Champ in-the-making
hi it's me again.  :roll:

solved it by myself now.

the problem were the PDF Flash Previews created with the old version of swftools (8.1) installed. After installing 0.9.0/2010-02-06-1900 and updating the documents (delete and upload again) the preview seems to work fine.

regards

merisiop
Champ in-the-making
Champ in-the-making
Hi,

I have same issue with alfresco share 3.4d and sfwtool 0.9.0 or 0.9.1 .
I think is not a client problem because I try from different client, different OS and different Browser.

Please, can someone help me?

Thanks

PS: I've already do:

- install sfwtool 0.9.0, verify install, verify pdf2swf command,
- ./alfresco stop, restart server, ./alfresco start,
- delete/add PDF from library, upload new pdf in library
- install sfwtool 0.9.1, verify install, verify pdf2swf command,
- ./alfresco stop, restart server, ./alfresco start,
- delete/add PDF from library, upload new pdf in library

merisiop
Champ in-the-making
Champ in-the-making
UP

:roll:

amgohan
Champ in-the-making
Champ in-the-making
Hi,

I have the same problème, for some pdf and not all the flash web preview scroll pages very fast.

I have installed sfwtool 0.9.1 (which works fine using console command)
the version of alfresco i use is 3.4d
I have specified the version 11 of flashVersion in the file : tomcat/webapps/alfresco/WEB-INF/classes/alfresco/thumbnail-service-context.xml

can u suggest me a solution.

thanks for ur help

amgohan
Champ in-the-making
Champ in-the-making
hi,

after installing the new version of swftools, u must delete and upload again all document which have the problem, it work fine.

thnks xeeen
Getting started

Tags


Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.