Advertisement
Advertisement
| 07.14.2008 at 12:19PM PDT, ID: 23563856 |
|
[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: 57: 58: 59: 60: 61: 62: 63: 64: 65: 66: 67: 68: 69: 70: 71: 72: 73: 74: 75: 76: 77: 78: 79: 80: 81: 82: 83: 84: 85: 86: 87: 88: 89: 90: 91: 92: 93: 94: 95: 96: 97: 98: 99: 100: 101: 102: 103: 104: 105: 106: 107: 108: 109: 110: 111: 112: 113: 114: 115: 116: 117: 118: 119: 120: 121: 122: 123: 124: 125: 126: 127: 128: 129: |
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
backgroundColor="#cccccc"
xmlns:filters="flash.filters.*"
layout="absolute" width="348" height="340" viewSourceURL="srcview/index.html" creationComplete="getStateNums.send()">
<filters:GlowFilter id="myGlow" color="#cc0000" />
<filters:BlurFilter id="myBlur" />
<filters:DropShadowFilter id="myDropShadow" color="#333333" distance="12" />
<mx:HTTPService id="getStateNums" url="http://psuite.acemotoracceptance.com/flash_test/state_nums.php" result="resultHandler(event)" />
<mx:Script>
<![CDATA[
import mx.controls.Alert;
import mx.collections.ArrayCollection;
import mx.rpc.events.ResultEvent;
private var stateResult:ArrayCollection;
private function resultHandler(event:ResultEvent):void {
stateResult = event.result.states.state;
for each (var stateInfo:Object in stateResult) {
if (stateInfo.stateAbbr == "Maryland") {
mapInfoMD.text = stateInfo.stateAbbr + " (" + stateInfo.numDlr + ")";
} else if (stateInfo.stateAbbr == "North Carolina") {
mapInfoNC.text = stateInfo.stateAbbr + " (" + stateInfo.numDlr + ")";
} else if (stateInfo.stateAbbr == "South Carolina") {
mapInfoSC.text = stateInfo.stateAbbr + " (" + stateInfo.numDlr + ")";
} else if (stateInfo.stateAbbr == "Virginia") {
mapInfoVA.text = stateInfo.stateAbbr + " (" + stateInfo.numDlr + ")";
}
}
}
]]>
</mx:Script>
<mx:Zoom id="zoomIn" duration="400" zoomWidthTo="1.5" zoomHeightTo="1.5" zoomWidthFrom="1" zoomHeightFrom="1" />
<mx:Zoom id="zoomOut" duration="400" zoomWidthTo="1" zoomHeightTo="1" zoomWidthFrom="1.5" zoomHeightFrom="1.5" />
<mx:Script>
<![CDATA[
import flash.events.MouseEvent;
public function doZoomMD(event:MouseEvent):void {
if (zoomMD.isPlaying) {
zoomMD.reverse();
}
else {
// If this is a ROLL_OUT event, play the effect backwards.
// If this is a ROLL_OVER event, play the effect forwards.
zoomMD.play([event.target], event.type == MouseEvent.ROLL_OUT ? true : false);
}
}
public function doZoomVA(event:MouseEvent):void {
if (zoomVA.isPlaying) {
zoomVA.reverse();
}
else {
// If this is a ROLL_OUT event, play the effect backwards.
// If this is a ROLL_OVER event, play the effect forwards.
zoomVA.play([event.target], event.type == MouseEvent.ROLL_OUT ? true : false);
}
}
public function doZoomNC(event:MouseEvent):void {
if (zoomNC.isPlaying) {
zoomNC.reverse();
}
else {
// If this is a ROLL_OUT event, play the effect backwards.
// If this is a ROLL_OVER event, play the effect forwards.
zoomNC.play([event.target], event.type == MouseEvent.ROLL_OUT ? true : false);
}
}
public function doZoomSC(event:MouseEvent):void {
if (zoomSC.isPlaying) {
zoomSC.reverse();
}
else {
// If this is a ROLL_OUT event, play the effect backwards.
// If this is a ROLL_OVER event, play the effect forwards.
zoomSC.play([event.target], event.type == MouseEvent.ROLL_OUT ? true : false);
}
}
]]>
</mx:Script>
<mx:Zoom id="zoomMD" zoomWidthTo="1.5" zoomHeightTo="1.5" zoomWidthFrom="1" zoomHeightFrom="1" />
<mx:Zoom id="zoomVA" zoomWidthTo="1.5" zoomHeightTo="1.5" zoomWidthFrom="1" zoomHeightFrom="1" />
<mx:Zoom id="zoomNC" zoomWidthTo="1.5" zoomHeightTo="1.5" zoomWidthFrom="1" zoomHeightFrom="1" />
<mx:Zoom id="zoomSC" zoomWidthTo="1.5" zoomHeightTo="1.5" zoomWidthFrom="1" zoomHeightFrom="1" />
<mx:WipeUp id="infoEffect" duration="500" />
<mx:Canvas id="mapCanvas" width="95%" x="10" height="95%" y="10">
<mx:Label id="mapInfoMD" text="" visible="false" width="100%" textAlign="center" fontWeight="bold" fontSize="12" showEffect="{infoEffect}" hideEffect="{infoEffect}"/>
<mx:Label id="mapInfoNC" text="" visible="false" width="100%" textAlign="center" fontWeight="bold" fontSize="12" showEffect="{infoEffect}" hideEffect="{infoEffect}"/>
<mx:Label id="mapInfoSC" text="" visible="false" width="100%" textAlign="center" fontWeight="bold" fontSize="12" showEffect="{infoEffect}" hideEffect="{infoEffect}"/>
<mx:Label id="mapInfoVA" text="" visible="false" width="100%" textAlign="center" fontWeight="bold" fontSize="12" showEffect="{infoEffect}" hideEffect="{infoEffect}"/>
<mx:Image id="md" x="153.5" y="55.5" source="images/md_grey.png"
mouseOver="md.source='images/md_red.png';mapInfoMD.visible=true;md.filters=[myDropShadow];mapCanvas.setChildIndex(md,3);mapCanvas.setChildIndex(va,2);mapCanvas.setChildIndex(nc,1);mapCanvas.setChildIndex(sc,0);va.filters=[myBlur];nc.filters=[myBlur];sc.filters=[myBlur]"
mouseOut="md.source='images/md_grey.png';mapInfoMD.visible=false;mapInfoVA.visible=false;mapInfoNC.visible=false;mapInfoSC.visible=false;md.filters=[];va.filters=[];nc.filters=[];sc.filters=[]"
rollOver="doZoomMD(event)"
rollOut="doZoomMD(event)"
/>
<mx:Image id="va" x="82" y="74.5" source="images/va_grey.png"
mouseOver="va.source='images/va_red.png';mapInfoVA.visible=true;va.filters=[myDropShadow];mapCanvas.setChildIndex(va,3);mapCanvas.setChildIndex(md,2);mapCanvas.setChildIndex(nc,1);mapCanvas.setChildIndex(sc,0);md.filters=[myBlur];nc.filters=[myBlur];sc.filters=[myBlur]"
mouseOut="va.source='images/va_grey.png';mapInfoMD.visible=false;mapInfoVA.visible=false;mapInfoNC.visible=false;mapInfoSC.visible=false;md.filters=[];va.filters=[];nc.filters=[];sc.filters=[]"
rollOver="doZoomVA(event)"
rollOut="doZoomVA(event)"
/>
<mx:Image id="nc" x="73" y="125.5" source="images/nc_grey.png"
mouseOver="nc.source='images/nc_red.png';mapInfoNC.visible=true;nc.filters=[myDropShadow];mapCanvas.setChildIndex(nc,3);mapCanvas.setChildIndex(va,2);mapCanvas.setChildIndex(md,1);mapCanvas.setChildIndex(sc,0);md.filters=[myBlur];va.filters=[myBlur];sc.filters=[myBlur]"
mouseOut="nc.source='images/nc_grey.png';mapInfoMD.visible=false;mapInfoVA.visible=false;mapInfoNC.visible=false;mapInfoSC.visible=false;md.filters=[];va.filters=[];nc.filters=[];sc.filters=[]"
rollOver="doZoomNC(event)"
rollOut="doZoomNC(event)"
/>
<mx:Image id="sc" x="94.5" y="182.5" source="images/sc_grey.png"
mouseOver="sc.source='images/sc_red.png';mapInfoSC.visible=true;sc.filters=[myDropShadow];mapCanvas.setChildIndex(sc,3);mapCanvas.setChildIndex(md,2);mapCanvas.setChildIndex(nc,1);mapCanvas.setChildIndex(va,0);md.filters=[myBlur];nc.filters=[myBlur];va.filters=[myBlur]"
mouseOut="sc.source='images/sc_grey.png';mapInfoMD.visible=false;mapInfoVA.visible=false;mapInfoNC.visible=false;mapInfoSC.visible=false;md.filters=[];va.filters=[];nc.filters=[];sc.filters=[]"
rollOver="doZoomSC(event)"
rollOut="doZoomSC(event)"
/>
</mx:Canvas>
</mx:Application>
|