Page 1 of 1

Flash animations not appearing?

Posted: Mon 13. Oct 2008, 12:28
by powlido
Hi All,

Wonder if anyone can help...

I have uploaded a Flash (.swf) animation to a website and for some reason it doesn't appear when I drop it into a media content part.

Stranger still the Flash icon doesn't appear when I locate it in the File Center area of phpwcms (see attached).
Image

Is this an update script thing? - I only encountered the problem on upgrading to the latest release.

Any advice please?

Many thanks,

Paul

Re: Flash animations not appearing?

Posted: Wed 15. Oct 2008, 10:16
by jsw_nz
Hi powlido

Not sure about your setup (JW MEDIA? or Multimedia CP?)but it sometimes seems
- to depend on the version of php you are running
- that on occasion the standard swf gets interpretted as a swc
- and is stored as such - to check - go to the filearchive directory
- and check extensions

(if swc - then you might need a hack of these files)

(a)
include/inc_lib/backend.functions.inc.php
function check_image_extension()
changed swc to swf
so line 120 should be: $result = (strtolower(which_ext($file)) == 'swf') ? 'swf' : 'swf';

(b)
include/inc_lib/general.inc.php
line 1760 approx.
changed 13=>swc to 13=>swf in
$exif_imagetype = array(
1=>'gif', 2=>'jpeg', 2=>'jpg', 3=>'png', 4=>'swf', 5=>'psd',
6=>'bmp', 7=>'tif', 8=>'tiff', 9=>'jpc', 10=>'jp2', 11=>'jpx',
12=>'jb2', 13=>'swf', 14=>'iff', 15=>'wbmp', 16=>'xbm' );

just a :) guess - if so you will have to re-upload the swf again...
might be something else as well (javascript). - just my 2 cents