For my MA thesis I’m using Flash to create an animated map. I’ll use this map to evaluate a user’s ability to detect spatial-temporal clusters. It’s all very interesting, but I’ll cut to the chase…
I’ll make 4 maps, each with about 1000 points. I have a movie clip for each dot (they fade in and out), and this movie clip will be put in place based on latitude, longitude, and the time I want it to play.
My problem is how to write the ActionScript to bring in and read an xml file that will manage where this movie clip will be placed. Here’s the AS I’ve pieced together from various sources.
var xmlData:XML = new XML();
xmlData.load(“dotsC.xml”);
{
for(x=0; x<=8; ++x);
dotsC.xml (“dotsC.xml” + x, x);
}
RampDot.onLoad = function(){
_root.attachMovie(“RampDot”, “RampDot”, 1);
}
Needless to say, it’s not working. Anyone have an idea what could be wrong? Better yet, does anyone have any script that can do what I want?
Thanks.
…Casey