so now i got the basic script, and it´s working.
my only problem is, that i don´t know how to name the Circle which is drawn according to the Country´s name.....
and another problem is that the interface is popping up, but it doesn´t affect the values in the script.....
thanks in advance.
and greetings from leipzig
scriptName = "worldcontrol 0.1";
if(scriptographer.version)
{
version = parseFloat(scriptographer.version);
revision = parseFloat(scriptographer.revision);
if(version != 2)
{
print('this script is untested on your version of scriptographer.');
print('this script is designed for scriptographer version 2.0');
print('------');
print('');
print('');
}else{
print('[scriptographer version ok: '+version+'.'+revision + ']');
print(scriptName +' is trying to contol the world! ');
print('developed by Florian Lamm & Timo Hinze ');
print('');
print('');
}
}else{
var alertMessage = 'you are using an unknown version of scriptographer, nthis script will most likely not work for you.nuse scriptographer 2.0 [http://scriptographer.com]';
var dialog = new PopupDialog();
dialog.alert(alertMessage);
}
function onInit() {
PopupDialog()
}
var NamenIndex=0;
var flIndex=1
var medienIndex=2
var koordIndex=3;
var pfad="C:\Dokumente und Einstellungen\flo\Desktop\VORDIPLOM_Grafik\KALKULATION\Laender.csv";
var pixel2point=2; //skaliert alles
var xoff= 0;
var yoff= 0;
var km2pixel=0.1; // skaliert radius (relativ)
var maxFaktor=10; //farbspectrum, je höher dieser wert, desto geringer farbabstufung
var c1=new Array(255,255,0);
var c2=new Array(0,0,255);
var cm=new Array(0,0,0);
var dc=new Array(0,0,0);
for(var i=0;i