[Mapserver-users] Re: FLASH file action that generate by mapserver 4
Yewondwossen Assefa
assefa at dmsolutions.ca
Fri Jun 20 14:25:26 PDT 2003
The extent was added on June 11 so you have to get a build which is
after the date.
I will update the fullname to reflect the web location of the file.
Later,
Liangxu Wang wrote:
>hi Yewondwossen Assefa,
> I use Action scrpit viewer to explore the swf file that generate by mapserver 4.
> The action is:
>
> mapObj = new Object ();
> mapObj.name = "test.map";
> mapObj.width = 540;
> mapObj.height = 470;
> mapObj.numlayers = 3;
> mapObj.layers = new Array ();
> function LayerObj (name, type, fullname, relativename) {
> this.name = name;
> this.type = type;
> this.fullname = fullname;
> this.relativename = relativename;
> }
> mapObj.layers[0] = new LayerObj ("country.shp", "2", "d:/tmp/ms_tmp/105607646524641_layer_0.swf", "105607646524641_layer_0.swf");
> mapObj.layers[1] = new LayerObj ("lakes.shp", "2", "d:/tmp/ms_tmp/105607646524641_layer_1.swf", "105607646524641_layer_1.swf");
> mapObj.layers[2] = new LayerObj ("cities.shp", "0", "d:/tmp/ms_tmp/105607646524641_layer_2.swf", "105607646524641_layer_2.swf");
>
>
> There is not a mapobj.extent attribute,this is not same with the flash document.(http://www2.dmsolutions.ca/mapserver/dl/FlashMapserverUserDoc.html)
>Another suggestion :
> The Layerobj's fullname attribute should web address,not local address.(like http://xxx/.../xxxxx.swf)
>
> wlx
>
>
>
>
--
----------------------------------------------------------------
Assefa Yewondwossen
Software Analyst
Email: assefa at dmsolutions.ca
http://www.dmsolutions.ca/
Phone: (613) 565-5056 (ext 14)
Fax: (613) 565-0925
----------------------------------------------------------------
More information about the MapServer-users
mailing list