[mapserver-users] SWF output demo site?

Grant, Ryan rgrant at nrcan.gc.ca
Tue Jul 1 13:06:00 EDT 2003


As of Flash v6, you can dynamically load non-interlaced jpg's using
ActionScript. In my testing, if I was only using raster layers I would stick
with straight jpg's, as they tended to be slightly smaller than the raster
swf's (OUTPUT_MOVIE=SINGLE). 

However, if you use the OUTPUT_MOVIE=MULTIPLE, you can create an application
that can turn layers on and off without going back to the server. Plus, the
vectors look a lot better, even at FULL_RESOLUTION=FALSE. And, if you set
FULL_RESOLUTION=TRUE, it is possible to build an application that can zoom
vector layers without going back to the server, but I haven't tested this
yet..  

Cheers,
Ryan


-----Original Message-----
From: Daniel Morissette [mailto:morissette at dmsolutions.ca]
Sent: Tuesday, July 01, 2003 9:27 AM
To: bartvde at xs4all.nl
Cc: mapserver-users at lists.gis.umn.edu
Subject: Re: [mapserver-users] SWF output demo site?


Bart van den Eijnden wrote:
> 
> I remain with one basic question after your clear response.
> 
> What is the advantage of using raster SWF layers above normale GIF or JPG
> images?
> 

I am not the SWF expert (Assefa is) so hopefully I won't be writing
something stupid here...

If I remember correctly, you can embed GIF/JPG images inside a clip as
you create the client app in the Flash IDE, but you cannot load a
GIF/JPG image via a URL using Action Script.  That's why the raster
layer has to be embedded in a small clip by MapServer... just so that
you can download the layer on the fly from your Flash app.

Daniel
-- 
------------------------------------------------------------
 Daniel Morissette               morissette at dmsolutions.ca
 DM Solutions Group              http://www.dmsolutions.ca/
------------------------------------------------------------
_______________________________________________
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