[mapserver-users] Flash CS3 - impossible to access the mapObj

Marie-Eve Lévesque marieeve16 at hotmail.com
Wed Jun 11 09:39:46 EDT 2008


I am using mapserver to generate maps in swf. 
With Flash CS2 (actionscript 2), I was able to access some information about my layers via the mapObj property of the generated swf. With flash CS3 (actionscript 3), I am no longer able to access properties in the swf. 

I've read that it has to do with the change of the virtual machine from the two versions and that the only way to access to properties of CS2 swf is by the mean of the LocalConnection (see http://www.learningactionscript3.com/2007/12/14/sending-data-from-avm2-to-avm1/). To do that, the swf generated by MapServer has to be change to include a call to the LocalConnection object...

Is that functionnality going to be in MapServer soon?

Has somebody an other way to access to the properties of the swf object in Flash CS3?

Thank you, 
Marie-Eve


_________________________________________________________________

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20080611/00c3ce07/attachment.html


More information about the mapserver-users mailing list