Swf layers

Austin, Jay D NWD contractor Jay.D.Austin at NWO02.USACE.ARMY.MIL
Mon Aug 15 11:17:11 EDT 2005


Currently you can't do that. You either have dumpattributes on or off. It
would be a nice feature if you could customize the scripts that were placed
on the objects or make them objects without scripts.

Another feature that would be helpful would be an option to put the info in
the MapObj variable on each individual layer instead of the compiled layer.
That would allow you to load the layers individually and still have access to
attributes like the layer name and filepath etc.

-Jay Austin 

-----Original Message-----
From: UMN MapServer Users List [mailto:MAPSERVER-USERS at LISTS.UMN.EDU] On
Behalf Of Jorge Agudelo
Sent: Friday, August 12, 2005 7:23 AM
To: MAPSERVER-USERS at LISTS.UMN.EDU
Subject: [UMN_MAPSERVER-USERS] Swf layers

Hello Everyone,

It is possible to change the way mapserver generates the code for swf =
layers with swfdumpattributes?, the problem is that mapserver generates = a
lot of code for every object (onrollover, onrelease), this code could = be
done dinamically using a for cycle when loading the swf  this way  it = will
decrease a lot the swf size.

The problem is that if the swfdumpattributes tag is deleted the objects = of
the layers becomes shapes so it is no possible to work with them by = code.
It is there anyway to tell mapserver that make the objects be = buttons but
not to put code for every object?

Thanks for your time.

Jorge Agudelo



More information about the mapserver-users mailing list