[Mapserver-users] swf output problems with ms4w 0.6

Pierre GIRAUD pierre.giraud3 at free.fr
Thu Nov 6 03:41:36 EST 2003


Did you install the ming library. It might be as simple as this but I'm sure
you did.
http://www2.dmsolutions.ca/mapserver/dl/FlashMapserverUserDoc.html

Pierre GIRAUD


----- Original Message -----
From: "BAUD remi" <remi.baud at eivd.ch>
To: <mapserver-users at lists.gis.umn.edu>
Sent: Wednesday, November 05, 2003 8:54 PM
Subject: [Mapserver-users] swf output problems with ms4w 0.6


> HI the list,
>
> I'm trying to enable the swf output format for mapserver.
> I currently use the ms4w 0.6 package and wanted to try it for the gmap
> application.
>
> I've seen many discussion, wikis, dmsolutions flash support documentation,
but I did never arrive to
> output swf format.
>
> I've used this config:
>
> In the map file:
>
> IMAGETYPE SWF
>
> OUTPUTFORMAT
>      NAME swf
>      MIMETYPE
>     "application/x-shockwave-flash"
>     DRIVER swf
>     IMAGEMODE PC256
>     FORMATOPTION "OUTPUT_MOVIE=MULTIPLE"
> END
>
> The resulting error is : Call to a member function on a non-object for
$url = $img->saveWebImage();
> and no file is outputed in my tem files.
>
> With the FORMATOPTION "OUTPUT_MOVIE=SINGLE", I got an swf created in the
temp file, but an
> error says strangely "Failing writing Image"
>
> I know that I can use the $gpoMap->SelectOutputFormat("SWF");
> but I got the same problem with it.
>
> I've tried to output other format by changing the "Imagetype"in the  map
files and it goes well for
> JPEG, GIF, PNG.
>
> My version of mapserver & mapscript are 4.0.1.
>
> Do someone can tell me what's wrong?
>
> I've installed the shockwave plugin from macromedia, do I need something
> else more?
>
> That just boring me a little because I've already spend about 3 days to
see what's wrong...
> Any suggestion would be welcome!
>
> cheers
>
> _______________________________________________
> Mapserver-users mailing list
> Mapserver-users at lists.gis.umn.edu
> http://lists.gis.umn.edu/mailman/listinfo/mapserver-users
>




More information about the mapserver-users mailing list