Susan Clyde Flash 7/06 some brief pseudocode for final project ****the pic display**** look for pictures to display - put this code in fxn and pass it code for land/water (see issues) onMouseDown get mouse coordinates, date, and whether spot is land or water and call showStuff showStuff(chosen, lOrW){ boolean foundsomething = false; for (int i = 0; i= pic.starttime) && (chosen.date <= pic.endtime) && (chosen.long >= pic.startlong) && (chosen.long <= pic.endlong) && (chosen.lat >= pic.startlat) && (chosen.lat <= pic.endlat) { grab pic and store in array toBeDisplayed foundsomething = true; } } if (foundsomething){ display(toBeDisplayed); } else { //or could check if display array is empty implement missing data algorithm so that at least one pic (or more?) is displayed iterate thru all pics again and find closest matching candidate latitude carries more weight than longitude because of typical habitat patterns for (int j = 0; j200mya and land/water detection. would be nice to have some color too ****major issues to think about**** user interface/layout what to do about missing map data >200mya - consider using photoshopy type thing to recreate all map pictures on my own, there is data on internet to model from what to do about land/water borders complete db conversion to xml db coordinates vs. Flash coordinates...this is going to take some funky math conversion in order to work unless i set stage to 180 height, 360 width (and that's too small) implementing basic search fxns - where will this be displayed