|
|
|
Forum Newbie
      
Group: Forum Members
Last Login: 10/9/2007 7:34:54 PM
Posts: 3,
Visits: 7
|
|
| Hello. i find externalinterface method in flash source so i will use that method. i make javascript this : var test = window['Map1Id'].getEntityList(); alert(test); and result : [object Object],[object Object].... how i should make mapping Object? sorry. i can not english well.
hakapana
|
|
|
|
|
Supreme Being
      
Group: Moderators
Last Login: Today @ 9:29:56 AM
Posts: 870,
Visits: 1,385
|
|
| hi, i am afraid i could not get your query. But if you are interested with entities of the map you can access them using the method you used -getEntityList(). for example : var test = window['mapId'].getEntityList(); This will return an array whose first element is null. The entity definitions start from element 2/index 1. till end. for(var i=1;i<test.length;i++) Each element of the array is another associative array. Hence to get various details you can use the following . alert(test[i].id); //Internal id of entity alert(test[i].value); //value of entity
alert(test[i].lName); //Long Name of entity alert(test[i].sName); //short Name of entity alert(test[i].tooText); //Entity tooltext Others are, alpha, color,displayValue,mc.
Regards,
Sudipto Choudhury FusionCharts Team
|
|
|
|
|
Forum Newbie
      
Group: Forum Members
Last Login: 10/9/2007 7:34:54 PM
Posts: 3,
Visits: 7
|
|
| thanks very much you reply would mean a great deal that i make fusion map flash file with converted shp file.
hakapana
|
|
|
|