Строка инициализации используется для flash-карты в примерах для IPrxFlash.FSCommandAction, IPrxFlash.FlashCallAction. Укажите путь к топосонове (topBase).
Атрибут «fscomand» для примера IPrxFlash.FSCommandAction должен иметь значение «1», а для IPrxFlash.FlashCallAction – «0». Атрибут «onClick» указывается только для примера IPrxFlash.FSCommandAction.
dataXML=<map
mapDemo='0'
bgColor='FFFFFF'
border='0'
boundingMapByMenu='0'
drawLegend='1'
drawMenu='1'
menuAlign='TR'
menuAlignH='10'
menuAlignV='10'
menuBorderColor='CCCCCC'
menuFont='Verdana'
menuFontColor='0A2D47'
menuFontSize='9'
menuHeaderFontColor='0071b6'
menuHeaderFontSize='11'
menuSquareCorners='1'
menuDraggable='1'
menuSquareCorners='1'
fscomand='1'
>
<regions
onClick='alert'
animateAlpha='1000'
animateScale='0'
bevelSize='0'
blending='0'
borderColor='FFFFFF'
coloredByValue='1'
onOverGlowColor='EEEEEE'
colors='9add12,80C0FF'
hintfont='Tahoma'
hintfontcolor='FFFFFF'
hintfontsize='11'
hintbgcolor='4AB6FF,2F7CAF'
hintbordercolor='EEF8FF'
hintborderweight='2'
hintradiusedges='7'
hinttextindent='4'
hintbgalpha='50'
hinttextalign='left'
onOverAlpha='50'
stepAlpha='1'
stepScale='1'
undefinedColor='EFEFEF'
onOverBorderColor='E6E6E6'
onOverBevelSize='0'
onOverBlending='0'
onOverScale='1.1'
alpha = '100'
onOverToTop='1'
gradientAngle='35'
useAutoGradient='1'
>
<region id="1" value="1" />
<region id="2" value="2" />
<region id="3" value="3" />
<region id="4" value="4" />
<region id="5" value="5" />
<region id="6" value="1" />
<region id="7" value="2" />
<region id="8" value="3" />
<region id="9" value="4" />
<region id="10" value="5" />
<region id="11" value="1" />
<region id="12" value="1" />
<region id="13" value="3" />
<region id="14" value="4" />
<region id="15" value="5" />
<region id="16" value="1" />
<region id="17" value="2" />
<region id="18" value="3" />
<region id="19" value="4" />
<region id="20" value="5" />
<region id="21" value="1" />
<region id="22" value="2" />
<region id="23" value="3" />
<region id="24" value="4" />
<region id="25" value="5" />
<region id="26" value="1" />
<region id="27" value="2" />
<region id="28" value="3" />
<region id="29" value="4" />
<region id="30" value="5" />
<region id="31" value="1" />
<region id="32" value="1" />
<region id="33" value="3" />
<region id="34" value="4" />
<region id="35" value="5" />
<region id="36" value="1" />
<region id="37" value="2" />
<region id="38" value="3" />
<region id="39" value="4" />
<region id="30" value="5" />
<region id="31" value="1" />
<region id="32" value="2" />
<region id="33" value="3" />
<region id="34" value="4" />
<region id="35" value="5" />
<region id="36" value="1" />
<region id="37" value="2" />
<region id="38" value="3" />
<region id="39" value="4" />
<region id="40" value="5" />
<region id="41" value="1" />
<region id="42" value="2" />
<region id="43" value="3" />
<region id="44" value="4" />
<region id="45" value="5" />
<region id="46" value="1" />
<region id="47" value="2" />
<region id="48" value="3" />
<region id="49" value="4" />
<region id="50" value="5" />
<region id="51" value="1" />
<region id="52" value="2" />
<region id="53" value="3" />
<region id="54" value="4" />
<region id="55" value="5" />
<region id="56" value="1" />
<region id="57" value="2" />
<region id="58" value="3" />
<region id="59" value="4" />
<region id="60" value="5" />
<region id="61" value="1" />
<region id="62" value="2" />
<region id="63" value="3" />
<region id="64" value="4" />
<region id="65" value="5" />
<region id="66" value="1" />
<region id="67" value="2" />
<region id="68" value="3" />
<region id="69" value="4" />
<region id="70" value="5" />
<region id="71" value="1" />
<region id="72" value="2" />
<region id="73" value="3" />
<region id="74" value="4" />
<region id="75" value="5" />
<region id="76" value="1" />
<region id="77" value="2" />
<region id="78" value="3" />
<region id="79" value="4" />
<region id="80" value="5" />
<region id="81" value="1" />
<region id="82" value="2" />
<region id="83" value="3" />
<region id="84" value="4" />
<region id="85" value="5" />
<region id="86" value="1" />
<region id="87" value="2" />
<region id="88" value="3" />
<region id="89" value="4" />
>
</regions>
<legends
boxBorderColor='c8c8c8'
coloredByValue = "1"
colors ="E4F5FE,BAD5EF,90B4DF,6593CF"
disableOtherGroups= "0"
prefix='От '
middlex=' до '
suffix=' $'
onOverAlpha='50'
groupOnOverAlpha='0'
onOverColor="7beb8b"
undefinedItem="нет данных"
>
</legends>
</map>&topBase=c:\MyMap\tb_russia2.swf