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...&nbsp; 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 &#39;instance1&#39;, &#39;instance2&#39;, &#39;instance3&#39; etc...&nbsp; These can be referenced by Action Script.&nbsp; <br>
<br>Unfortunately, the buttons in the SWF output from MapServer can&#39;t be referenced by ActionScript at all. Neither with the &#39;instance1&#39; syntax, nor with the new &#39;button212&#39;, &#39;button213&#39;, etc&nbsp; names that are assigned to the buttons with this fix. I am not sure why this is. <br>
<br>I&#39;ve created a few Ming movies to test this.&nbsp; Make a simple movie in MING with two buttons. Don&#39;t give them names.&nbsp; Then create a Flash movie with two buttons named thebtn, and&nbsp; one called loadming, a blank movie on the stage called swfContainer, and&nbsp; this actionscript which will load ming_output.swf.&nbsp;&nbsp; <br>
<br>var mcLoader:MovieClipLoader = new MovieClipLoader();<br><br>thebtn.onRelease = function() {<br>&nbsp;&nbsp;&nbsp; for (var mcname in swfContainer) {<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; trace(mcname);<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; if (mcname == &quot;instance2&quot;) {<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; _root.swfContainer[mcname]._x += 10;<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; }<br>&nbsp;&nbsp;&nbsp; }<br>};<br>loadming.onRelease = function(){<br>mcLoader.loadClip(&quot;ming_output.swf&quot;, swfContainer);&nbsp;&nbsp;&nbsp; <br>}<br><br><br>If you load any Ming swf with this script, you&#39;ll be able to move 10 pixels to the right anything in that swf called instance2.&nbsp; If you load a MapServer swf you won&#39;t be able to do this. All of the buttons in the swf will move 10 pixels to the right because &nbsp; _root.swfContainer.instance1&nbsp; returns a reference to the parent _root.swfContainer&nbsp; .&nbsp;&nbsp;&nbsp;&nbsp; I&#39;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>