flash swf nAttributes

Shannon Scott sscott at LOCATIONINC.COM
Fri Aug 3 08:23:51 EDT 2007


Hello,
I am working on flash maps recently, but I am having trouble accessing 
the attributes.
I can display the map, and I have the ElementSelected function working, 
but for some reason I can't find the data.  I know the data is there 
because I have tested with the "Viewer for Mapserver-generated Flash 
Maps" by Glenn Brauen.

Here is a snip from my ActionScript:

this.createEmptyMovieClip("clip", 1);
this.clip._visible = true;
this.clip.loadMovie("map_layer_0.swf");
if(this.clip.nAttributes != undefined) {
  trace("data is present\n");
}

What am I missing, or doing wrong?
Thank you for any pointers,help or incite.
Shannon



More information about the mapserver-users mailing list