Flash animations not appearing?

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Post Reply
powlido
Posts: 29
Joined: Mon 14. Jan 2008, 12:59

Flash animations not appearing?

Post 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
User avatar
jsw_nz
Posts: 907
Joined: Fri 2. Apr 2004, 02:42
Location: New Zealand

Re: Flash animations not appearing?

Post 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
Post Reply