The reason to have names for the buttons is so that the loader swf can reference them with Action Script and change their color, position, etc...  This could be done even without having names, because at runtime the Flash player assigns to each movie clip a name if it does not have one. These are called 'instance1', 'instance2', 'instance3' etc...  These can be referenced by Action Script.  <br>
<br>Unfortunately, the buttons in the SWF output from MapServer can't be referenced by ActionScript at all. Neither with the 'instance1' syntax, nor with the new 'button212', 'button213', etc  names that are assigned to the buttons with this fix. I am not sure why this is. <br>
<br>I've created a few Ming movies to test this.  Make a simple movie in MING with two buttons. Don't give them names.  Then create a Flash movie with two buttons named thebtn, and  one called loadming, a blank movie on the stage called swfContainer, and  this actionscript which will load ming_output.swf.   <br>
<br>var mcLoader:MovieClipLoader = new MovieClipLoader();<br><br>thebtn.onRelease = function() {<br>    for (var mcname in swfContainer) {<br>        trace(mcname);<br>        if (mcname == "instance2") {<br>            _root.swfContainer[mcname]._x += 10;<br>
        }<br>    }<br>};<br>loadming.onRelease = function(){<br>mcLoader.loadClip("ming_output.swf", swfContainer);    <br>}<br><br><br>If you load any Ming swf with this script, you'll be able to move 10 pixels to the right anything in that swf called instance2.  If you load a MapServer swf you won't be able to do this. All of the buttons in the swf will move 10 pixels to the right because   _root.swfContainer.instance1  returns a reference to the parent _root.swfContainer  .     I'm trying to look at the mapswf.c code to see why this might be happening, but its over 3000 lines, so it will be a while, unless anybody has some ideas. <br>