[Mapserver-users] Flash Capabilities
Vincent Schut
schut at sarvision.com
Mon Jun 16 06:40:54 PDT 2003
Steve,
this is what I have in my mapserver-flash interface generating php script.
AFAIK this works for all browsers it was tested on: IE, moz/netscape,
konqueror, opera. Maybe IE is tricky about how you define your object/embed
tags?
You could try this, simply change swf/flams-indo.swf with your php syntax to
get the url to your swf file.
<HTML>
<BODY>
{... php to generate swf file and save this as swf/flams-indo.swf }
<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://active.macromedia.com/flash2/cabs/swflash.cab#version=4,0,0,0"
ID=objects WIDTH=<?php echo $movie_width ?> HEIGHT=<?php echo $movie_height
?>>
<!-- <OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://active.macromedia.com/flash2/cabs/swflash.cab#version=4,0,0,0"
ID=objects WIDTH=800 HEIGHT=500 > -->
<PARAM NAME=movie VALUE="swf/flams-indo.swf">
<EMBED src="swf/flams-indo.swf" WIDTH=<?php echo $movie_width ?> HEIGHT=<?php
echo $movie_height ?> TYPE="application/x-shockwave-flash"
PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash">
</OBJECT>
</BODY>
</HTML>
--
______________________________________
Vincent Schut
Sarvision B.V.
Wageningen, The Netherlands
www.sarvision.com
More information about the MapServer-users
mailing list