Advertisement
Advertisement
| 04.24.2008 at 04:50AM PDT, ID: 23349876 |
|
[x]
Attachment Details
|
||
|
[x]
The Solution Rating System
|
||
|
With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.
Your Input Matters If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support. Thank you! |
||
1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15: 16: 17: 18: 19: 20: 21: 22: 23: 24: 25: 26: 27: 28: 29: 30: 31: 32: 33: 34: 35: 36: 37: 38: 39: 40: 41: 42: 43: 44: 45: 46: 47: 48: 49: 50: 51: 52: 53: 54: 55: 56: |
var cbFieldList:MovieClip = this.createClassObject(mx.controls.ComboBox, "ComboBox", this.getNextHighestDepth());
cbFieldList.enabled = true;
cbFieldList._x = 5.3;
cbFieldList._y = 370;
cbFieldList._width = 150;
cbFieldList._height = 20;
cbFieldList.dropdownWidth = 150;
cbFieldList.rowCount = 5;
cbFieldList.text_mc.setStyle("borderStyle", "solid");
cbFieldList.addItem({label:"Select Field"});
var currentNode:XMLNode = this.firstChild.firstChild;
fieldNode = currentNode.nextSibling.childNodes;
function popCombo(){
for(var i=1;i<fieldNode.length;i++){
var nodeValue=String(fieldNode[i].firstChild.nodeValue)
//trace("nodeValue " + nodeValue);
cbFieldList.addItem(nodeValue);
var cbListener:Object = new Object();
cbListener.change = function(evt_obj:Object) {
var cbValue:String = cbFieldList.selectedItem.label;
//trace("cbValue " + cbValue);
if (nodeValue == cbValue){
_root.mcInfoBox.txtName.text = nodeValue;
_root.mcInfoBox.txtnpdid.text = npdid attribute value;
_root.mcInfoBox.txtlat.text = lat attribute value;
_root.mcInfoBox.txtlong.text = long attribute value;
_root.mcInfoBox.mcLink.txtartId.text = getURL("http:www.somewhere.com/" + artId attribute value;
_root.mcInfoBox.txtimage.text = image attribute value;//display image
_root.mcInfoBox._visible = true;
}
}
}
cbFieldList.addEventListener("change", cbListener);
}
//XML structure
<?xml version="1.0" encoding="utf-8"?>
<options>
<map>
<coordinates maxLongN="76.7" minLongS="40.3" maxLatE="74" minLatW="-44.6">map2.jpg</coordinates>
</map>
<folder>
<field npdid='3437659' lat='1.533738935' long='58.64961876' artId= '524995' image=''>Enoch</field>
<field npdid='1272071' lat='1.648069689' long='58.71138378' artId= '522083' image=''>Glitne</field>
<field npdid='43492' lat='3.072204299' long='56.88667656' artId= '522115' image='http://web3.aftenbladet.no/multimedia/archive/00188/gyda_01_jpg_188074e.jpg'>Gyda</field>
<field npdid='2762452' lat='5.340485143' long='63.46788343' artId= '524998' image='http://web3.aftenbladet.no/multimedia/archive/00193/ormen_lange_subsea__193986e.jpg'>Ormen
Lange</field>
<field npdid='1028599' lat='2.966068895' long='56.96919371' artId= '523418' image='http://web3.aftenbladet.no/multimedia/archive/00187/tambar_bredde_jpg_187114e.jpg'>Tambar</field>
<field npdid='43800' lat='2.852780591' long='57.10441995' artId= '523603' image='http://web3.aftenbladet.no/multimedia/archive/00187/ula_bredde_jpg_187134e.jpg'>Ula</field>
</folder>
</options>
|