The counter displays sprites in place of number values. More experienced programmers have given me a clue. Why am I getting error # 1010.
Secondly, what am I not seeing that’s so obvious? I wish I went in to this with a better foundation in actionscript 3, but I’m reading and doing my best.
WHAT I SEE
-dollar sign indicates a variable or array «$numbers»
-import flash.utils.Dictionary; «indicates an associative string»
-Error #1010: A term is undefined and has no properties
-is the associative string is fooling me? «maybe I set no values, duh»
-are the property of my symbols are set wrong?
numbers.fla
-MovieClip named «mc-NumberImage» Class «NumberImage»
-Bitmaps «number_0.jpg to number_9.jpg»
NumberDocumentClass.as «NumberDocumentClass»
package {
import flash.display.Sprite;
import flash.utils.Timer;
import flash.events.TimerEvent;
public class NumberDocumentClass extends Sprite {
private var timer:Timer = new Timer(10);
private var count:int = 0;
private var fcount:int = 0;
private var numbers:NumbersView;
public function NumberDocumentClass() {
timer.addEventListener(TimerEvent.TIMER, incrementCounter);
timer.start();
numbers = new NumbersView();
addChild(numbers);
}
function incrementCounter(event:TimerEvent) {
count++;
fcount=int(count*count/1000);//starts out slow... then speeds up
numbers.setTime(formatCount(fcount));
}
function formatCount(i:int):String {
return ("000000000" + i).substr(-9, 9);
}
}
}
NumbersView.as
package
{
import flash.display.DisplayObject;
import flash.display.MovieClip;
import flash.utils.Dictionary;
import flash.events.Event;
import caurina.transitions.Tweener;
public class NumbersView extends MovieClip
{
private var _listItems:Array = new Array();
public function NumbersView()
{
var item:NumberImage;
for (var i:Number = 0; i < 9; i++) {
item = new NumberImage();
addChild(item);
item.x = i * item.width;
_listItems.push(item);
}
}
public function setTime($number:String):void {
var nums:Array = $number.split("");
for (var i:Number = 0; i < nums.length; i++) {
if (int(nums[i]) == 0) {
Tweener.removeTweens(_listItems[i].moveableNumber_mc);
if (_listItems[i].moveableNumber_mc.y < 0) {
_listItems[i].moveableNumber_mc.y = 120;
}
Tweener.addTween(_listItems[i].moveableNumber_mc, { y: 0, time:.3 } );
} else {
Tweener.addTween(_listItems[i].moveableNumber_mc, { y: -120 * int(nums[i]), time:.3} );
}
}
}
}
}
ERROR MESSAGE
TypeError: Error #1010: A term is undefined and has no properties.
at NumbersView/setTime()
at NumberDocumentClass/incrementCounter()
at flash.utils::Timer/_timerDispatch()
at flash.utils::Timer/tick()
Номер ошибки: | Ошибка 1010 | |
Название ошибки: | Adobe Flash Player Error 1010 | |
Описание ошибки: | Error #1010: A term is undefined and has no properties. | |
Разработчик: | Adobe Systems Inc. | |
Программное обеспечение: | Adobe Flash Player | |
Относится к: | Windows XP, Vista, 7, 8, 10, 11 |
Анализ «Adobe Flash Player Error 1010»
Эксперты обычно называют «Adobe Flash Player Error 1010» «ошибкой времени выполнения». Когда дело доходит до Adobe Flash Player, инженеры программного обеспечения используют арсенал инструментов, чтобы попытаться сорвать эти ошибки как можно лучше. Хотя эти превентивные действия принимаются, иногда ошибки, такие как ошибка 1010, будут пропущены.
Ошибка 1010 может столкнуться с пользователями Adobe Flash Player, если они регулярно используют программу, также рассматривается как «Error #1010: A term is undefined and has no properties.». Таким образом, конечные пользователи предупреждают поставщиков о наличии ошибок 1010 проблем, предоставляя информацию разработчику. Adobe Systems Inc. вернется к коду и исправит его, а затем сделает обновление доступным для загрузки. Если есть запрос на обновление Adobe Flash Player, это обычно обходной путь для устранения проблем, таких как ошибка 1010 и другие ошибки.
Что генерирует ошибку времени выполнения 1010?
Сбой во время запуска Adobe Flash Player или во время выполнения, как правило, когда вы столкнетесь с «Adobe Flash Player Error 1010». Вот три наиболее распространенные причины, по которым происходят ошибки во время выполнения ошибки 1010:
Ошибка 1010 Crash — Номер ошибки вызовет блокировка системы компьютера, препятствуя использованию программы. Эти ошибки обычно возникают, когда входы Adobe Flash Player не могут быть правильно обработаны, или они смущены тем, что должно быть выведено.
Утечка памяти «Adobe Flash Player Error 1010» — этот тип утечки памяти приводит к тому, что Adobe Flash Player продолжает использовать растущие объемы памяти, снижая общую производительность системы. Возможные причины включают сбой Adobe Systems Inc. для девыделения памяти в программе или когда плохой код выполняет «бесконечный цикл».
Ошибка 1010 Logic Error — Логические ошибки проявляются, когда пользователь вводит правильные данные, но устройство дает неверный результат. Это видно, когда исходный код Adobe Systems Inc. включает дефект в анализе входных данных.
Adobe Systems Inc. проблемы файла Adobe Flash Player Error 1010 в большинстве случаев связаны с повреждением, отсутствием или заражением файлов Adobe Flash Player. В большинстве случаев скачивание и замена файла Adobe Systems Inc. позволяет решить проблему. Мы также рекомендуем выполнить сканирование реестра, чтобы очистить все недействительные ссылки на Adobe Flash Player Error 1010, которые могут являться причиной ошибки.
Типичные ошибки Adobe Flash Player Error 1010
Наиболее распространенные ошибки Adobe Flash Player Error 1010, которые могут возникнуть на компьютере под управлением Windows, перечислены ниже:
- «Ошибка программного обеспечения Adobe Flash Player Error 1010. «
- «Adobe Flash Player Error 1010 не является приложением Win32.»
- «Возникла ошибка в приложении Adobe Flash Player Error 1010. Приложение будет закрыто. Приносим извинения за неудобства.»
- «К сожалению, мы не можем найти Adobe Flash Player Error 1010. «
- «Отсутствует файл Adobe Flash Player Error 1010.»
- «Проблема при запуске приложения: Adobe Flash Player Error 1010. «
- «Не удается запустить Adobe Flash Player Error 1010. «
- «Adobe Flash Player Error 1010 выйти. «
- «Неверный путь к программе: Adobe Flash Player Error 1010. «
Проблемы Adobe Flash Player Adobe Flash Player Error 1010 возникают при установке, во время работы программного обеспечения, связанного с Adobe Flash Player Error 1010, во время завершения работы или запуска или менее вероятно во время обновления операционной системы. Отслеживание того, когда и где возникает ошибка Adobe Flash Player Error 1010, является важной информацией при устранении проблемы.
Источники проблем Adobe Flash Player Error 1010
Большинство проблем Adobe Flash Player Error 1010 связаны с отсутствующим или поврежденным Adobe Flash Player Error 1010, вирусной инфекцией или недействительными записями реестра Windows, связанными с Adobe Flash Player.
Точнее, ошибки Adobe Flash Player Error 1010, созданные из:
- Поврежденная или недопустимая запись реестра Adobe Flash Player Error 1010.
- Вирус или вредоносное ПО, которые повредили файл Adobe Flash Player Error 1010 или связанные с Adobe Flash Player программные файлы.
- Другая программа (не связанная с Adobe Flash Player) удалила Adobe Flash Player Error 1010 злонамеренно или по ошибке.
- Другая программа, конфликтующая с Adobe Flash Player Error 1010 или другой общей ссылкой Adobe Flash Player.
- Неполный или поврежденный Adobe Flash Player (Adobe Flash Player Error 1010) из загрузки или установки.
Продукт Solvusoft
Загрузка
WinThruster 2022 — Проверьте свой компьютер на наличие ошибок.
Совместима с Windows 2000, XP, Vista, 7, 8, 10 и 11
Установить необязательные продукты — WinThruster (Solvusoft) | Лицензия | Политика защиты личных сведений | Условия | Удаление
Today I spent hours tracking down a bug related to inserting and/or deleting data from a Tree control. In certain circumstances, an update to the underlying dataProvider would cause the following to be reported:
TypeError: Error #1010: A term is undefined and has no properties.
at mx.controls.listClasses::ListBase/makeRowsAndColumnsWithExtraRows()
After a bit of Googling, I found that I am not alone. Other folks have the same issue with Tree. Even more common, it looks like people are getting the same error when manipulating data in an AdvancedDataGrid, in which case it is reported as:
TypeError: Error #1010: A term is undefined and has no properties. at mx.controls.listClasses::AdvancedListBase/makeRowsAndColumnsWithExtraRows()
After drilling down into the Flex Framework source and exploring the makeRowsAndColumnsWithExtraRows function, I added some watch expressions in the Flash Builder Debug pane. (The debug features are really, really useful for this kind of thing.) The culprit? The value for verticalScrollPosition was being reported as -1, causing a line of code to look for an array element at index -1. This array element was in turn undefined, so the error message suddenly makes perfect sense.
The real puzzler here is that verticalScrollPosition could ever be less than zero. This is the logical equivalent of scrolling to the top of the list, then scrolling up one more spot, which is of course impossible. In any case, I have decided to assume that -1 is invalid at all times, and that -1 really means 0. I hope that is a safe assumption!
So, the solution is simple. In my case I had already subclassed the Tree control. If you’re using the stock control from the framework, you’ll need to subclass it and simply add the following:
override public function get verticalScrollPosition():Number
{
return Math.max(0, super.verticalScrollPosition);
}
All it does is intercept any request for verticalScrollPosition and guarantee that it is greater than or equal to zero. In brief testing, the error has disappeared and I have seen no side effects.
Like anything else on this blog, use this fix at your own risk, since I can’t guarantee it won’t have any negative impact.
Happy coding!
private function init():void { graphicsLayer = new GraphicsLayer; map.addLayer(graphicsLayer); srv.send(); } private function resultHandler(event:ResultEvent):void { myXML = event.result.myXML.entry; var gArr:Array = []; var graphics:Array = []; for each (myObject in data) { latlong = Number(myObject.point.toString()); myPoint = new MapPoint(latlong); var uGraphic:Graphic = new Graphic (myPoint); gArr.push(myPoint); graphics.push(uGraphic); } var outSR:SpatialReference = new SpatialReference(3857); geometryService.project(gArr, outSR, new AsyncResponder(projectCompleteHandler, null, graphics)); } protected function projectCompleteHandler(result:Object, token:Object):void { var pRslts:Array = result as Array; for (var pg:int = 0; pg < pRslts.length; pg++){ var pGeom:Geometry = pRslts[pg]; token[pg].geometry = pGeom; } graphicsLayer.graphicProvider = token; }
please help.
- flex
- web_developers
-
All Posts -
Previous Topic -
Next Topic
1 Solution
Sherly,
Here it is tested. You are going to have to learn a lot more about flex as copy and pasting code you find will somethimes work but you have to have some understanding of what it is doing.
<?xml version="1.0" encoding="utf-8"?> <s:View xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark" xmlns:esri="http://www.esri.com/2008/ags" title="Map" creationComplete="init()" > <fx:Script> <![CDATA[ import com.esri.ags.Graphic; import com.esri.ags.SpatialReference; import com.esri.ags.events.GeometryServiceEvent; import com.esri.ags.geometry.Geometry; import com.esri.ags.geometry.MapPoint; import mx.collections.ArrayCollection; import mx.rpc.AsyncResponder; import mx.rpc.events.ResultEvent; private function init():void { pointsXML.send(); } protected function pointsXML_resultHandler(event:ResultEvent):void { var gArr:Array = []; var myGraphics:Array = []; var x:XML = XML(event.result); var pntList:XMLList = x..entry; for (var i:int = 0; i < pntList.length(); i++){ var latlong:Array = pntList.point.split(" "); var myPoint:Geometry = new MapPoint(latlong[1], latlong[0], new SpatialReference(4326)); var coordGraphic:Graphic = new Graphic(myPoint); gArr.push(myPoint); myGraphics.push(coordGraphic); } var outSR:SpatialReference = new SpatialReference(3857); geometryService.project(gArr, outSR, new AsyncResponder(projectCompleteHandler, null, myGraphics)); } protected function projectCompleteHandler(result:Object, token:Object):void { var pRslts:Array = result as Array; for (var pg:int = 0; pg < pRslts.length; pg++) { var pGeom:Geometry = pRslts[pg]; token[pg].geometry = pGeom; } graphicsLayer.graphicProvider = token; } ]]> </fx:Script> <fx:Declarations> <s:HTTPService id="pointsXML" resultFormat="text" url="xml/properties.xml" result="pointsXML_resultHandler(event)"/> <esri:GeometryService id="geometryService" url="http://sampleserver1.arcgisonline.com/ArcGIS/rest/services/Geometry/GeometryServer"/> </fx:Declarations> <s:navigationContent> <s:Button width="80" height="70" click="navigator.popView()" icon="assets/backbutton.png"/> </s:navigationContent> <esri:Map id="map"> <esri:extent> <esri:Extent xmin="-467799" ymin="5253018" xmax="2171419" ymax="6627661"/> </esri:extent> <esri:ArcGISTiledMapServiceLayer url="http://services.arcgisonline.com/ArcGIS/rest/services/World_Street_Map/MapServer"/> <esri:GraphicsLayer id="graphicsLayer"> <esri:symbol> <esri:SimpleMarkerSymbol alpha="0.9" color="0xFFFF00" size="12" style="square"> <esri:SimpleLineSymbol color="0xDD0000" width="2" alpha="1" style="solid"/> </esri:SimpleMarkerSymbol> </esri:symbol> </esri:GraphicsLayer> </esri:Map> </s:View>
Now you need to make this as answered.
Don’t forget to click the Mark as answer check and to click the top arrow (promote) as shown below:
11 Replies
Sherly,
That error comes when you are missing an import in your code, and because you have not attached all of the code it is impossible to say which import you are missing.
<?xml version="1.0" encoding="utf-8"?> <s:View xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark" title="map2" creationComplete="init()" xmlns:esri="http://www.esri.com/2008/ags"> <fx:Script> <![CDATA[ import com.esri.ags.Graphic; import com.esri.ags.SpatialReference; import com.esri.ags.events.GeometryServiceEvent; import com.esri.ags.geometry.Geometry; import com.esri.ags.geometry.MapPoint; import com.esri.ags.layers.GraphicsLayer; import mx.collections.ArrayCollection; import mx.rpc.AsyncResponder; import mx.rpc.events.ResultEvent; [Bindable] private var myXML:ArrayCollection; private var myObject:Object; private var latlong:Number; private var myPoint:Geometry; private function init():void { graphicsLayer = new GraphicsLayer; map.addLayer(graphicsLayer); srv.send(); } private function resultHandler(event:ResultEvent):void { myXML = event.result.myXML.entry; var gArr:Array = []; var graphics:Array = []; for each (myObject in data) { latlong = Number(myObject.point.toString()); myPoint = new MapPoint(latlong); var uGraphic:Graphic = new Graphic (myPoint); gArr.push(myPoint); graphics.push(uGraphic); } var outSR:SpatialReference = new SpatialReference(3857); geometryService.project(gArr, outSR, new AsyncResponder(projectCompleteHandler, null, graphics)); } protected function projectCompleteHandler(result:Object, token:Object):void { var pRslts:Array = result as Array; for (var pg:int = 0; pg < pRslts.length; pg++){ var pGeom:Geometry = pRslts[pg]; token[pg].geometry = pGeom; } graphicsLayer.graphicProvider = token; } ]]> </fx:Script> <fx:Declarations> <s:HTTPService id="srv" url="xml/properties.xml" result="resultHandler(event)"/> <esri:GeometryService id="geometryService" url="http://sampleserver1.arcgisonline.com/ArcGIS/rest/services/Geometry/GeometryServer"/> </fx:Declarations> <esri:Map id="map"> <esri:extent> <esri:Extent xmin="-467799" ymin="5253018" xmax="2171419" ymax="6627661"/> </esri:extent> <esri:ArcGISTiledMapServiceLayer url="http://services.arcgisonline.com/ArcGIS/rest/services/World_Street_Map/MapServer"/> <esri:GraphicsLayer id="graphicsLayer"> <esri:symbol> <esri:SimpleMarkerSymbol alpha="0.9" color="0xFFFF00" size="12" style="square"/> </esri:symbol> </esri:GraphicsLayer> </esri:Map> </s:View>
sherly,
Which Adobe Flex SDK are you using and What ESRI Flex API?
I am using Flex SDK 4.5.1 and ArcGIS API for Flex 2.5. Sir, can you tell me what am I doing wrong? Thanks in advance.
The error is gone now but i still can’t project my points to the map. Please Help.
<?xml version="1.0" encoding="utf-8"?> <s:View xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark" title="map2" creationComplete="init()" xmlns:esri="http://www.esri.com/2008/ags"> <fx:Script> <![CDATA[ import com.esri.ags.Graphic; import com.esri.ags.SpatialReference; import com.esri.ags.events.GeometryServiceEvent; import com.esri.ags.geometry.Geometry; import com.esri.ags.geometry.MapPoint; import com.esri.ags.layers.GraphicsLayer; import mx.collections.ArrayCollection; import mx.rpc.AsyncResponder; import mx.rpc.events.ResultEvent; [Bindable] private var myXML:ArrayCollection; private var myObject:Object; private var latlong:Number; private var myPoint:Geometry; private function init():void { graphicsLayer = new GraphicsLayer; map.addLayer(graphicsLayer); srv.send(); } private function resultHandler(event:ResultEvent):void { var gArr:Array = []; var graphics:Array = []; for each (var node:XML in event.result.entry.point) { latlong = Number(node.point.toString()); myPoint = new MapPoint(latlong); var uGraphic:Graphic = new Graphic(myPoint); gArr.push(myPoint); graphics.push(uGraphic); } var outSR:SpatialReference = new SpatialReference(3857); geometryService.project(gArr, outSR, new AsyncResponder(projectCompleteHandler, null, graphics)); } protected function projectCompleteHandler(result:Object, token:Object):void { var pRslts:Array = result as Array; for (var pg:int = 0; pg < pRslts.length; pg++) { var pGeom:Geometry = pRslts[pg]; token[pg].geometry = pGeom; } graphicsLayer.graphicProvider = token; } ]]> </fx:Script> <fx:Declarations> <s:HTTPService id="srv" url="xml/properties.xml" result="resultHandler(event)" resultFormat="e4x"/> <esri:GeometryService id="geometryService" url="http://sampleserver1.arcgisonline.com/ArcGIS/rest/services/Geometry/GeometryServer"/> </fx:Declarations> <esri:Map id="map"> <esri:extent> <esri:Extent xmin="-467799" ymin="5253018" xmax="2171419" ymax="6627661"/> </esri:extent> <esri:ArcGISTiledMapServiceLayer url="http://services.arcgisonline.com/ArcGIS/rest/services/World_Street_Map/MapServer"/> <esri:GraphicsLayer id="graphicsLayer"> <esri:symbol> <esri:SimpleMarkerSymbol alpha="0.9" color="0xFFFF00" size="12" style="square"/> </esri:symbol> </esri:GraphicsLayer> </esri:Map> </s:View>
Here’s what my xml looks like:
<feed>
<entry>
<point>46.47506 7.293239</point>
</entry>
<entry>
<point>46.424827 7.322059</point>
</entry>
………
</feed>
Sherly,
A couple of points.
- A geometry is not going to project if it never knows what spatial reference it is in to begin with (which is your case)
myPoint = new MapPoint(latlong);
- The MapPoint constructor is expecting a minimum of two properties x and y normally it would look like
myPoint = new MapPoint(xCoord, Ycoord);
You are trying to feed it one Number and no Spatial Reference.
Try this if your points are in WGS 1984:
var latlong:Array = node.point.toString().split(" "); myPoint = new MapPoint(latlong[0],latlong[1], new SpatialReference(4326));
Don’t forget to click the Mark as answer check and to click the top arrow (promote) as shown below:
I’m still getting an error. Error #1034: Type Coercion failed: cannot convert mx.utils::ObjectProxy to XML Please help.
<?xml version="1.0" encoding="utf-8"?> <s:View xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark" title="map2" creationComplete="init()" xmlns:esri="http://www.esri.com/2008/ags"> <fx:Script> <![CDATA[ import com.esri.ags.Graphic; import com.esri.ags.SpatialReference; import com.esri.ags.events.GeometryServiceEvent; import com.esri.ags.geometry.Geometry; import com.esri.ags.geometry.MapPoint; import mx.collections.ArrayCollection; import mx.rpc.AsyncResponder; import mx.rpc.events.ResultEvent; [Bindable] private var myGraphics:Array; private function init():void { pointsXML.send(); } protected function pointsXML_resultHandler(event:ResultEvent):void { var gArr:Array = []; for each (var node:XML in event.result.feed.entry); { var latlong:Array = node.point.toString().split(" "); var myPoint:Geometry = new MapPoint(latlong[0], latlong[1], new SpatialReference(4326)); var coordGraphic:Graphic = new Graphic(myPoint); gArr.push(myPoint); myGraphics.push(coordGraphic); } var outSR:SpatialReference = new SpatialReference(4326); geometryService.project(gArr, outSR, new AsyncResponder(projectCompleteHandler, null, myGraphics)); } protected function projectCompleteHandler(result:Object, token:Object):void { var pRslts:Array = result as Array; for (var pg:int = 0; pg < pRslts.length; pg++) { var pGeom:Geometry = pRslts[pg]; token[pg].geometry = pGeom; } graphicsLayer.graphicProvider = token; } ]]> </fx:Script> <fx:Declarations> <s:HTTPService id="pointsXML" url="xml/properties.xml" result="pointsXML_resultHandler(event)"/> <esri:GeometryService id="geometryService" url="http://sampleserver1.arcgisonline.com/ArcGIS/rest/services/Geometry/GeometryServer"/> </fx:Declarations> <esri:Map id="map"> <esri:extent> <esri:Extent xmin="-467799" ymin="5253018" xmax="2171419" ymax="6627661"/> </esri:extent> <esri:ArcGISTiledMapServiceLayer url="http://services.arcgisonline.com/ArcGIS/rest/services/World_Street_Map/MapServer"/> <esri:GraphicsLayer id="graphicsLayer"> <esri:symbol> <esri:SimpleMarkerSymbol alpha="0.9" color="0xFFFF00" size="12" style="square"/> </esri:symbol> </esri:GraphicsLayer> </esri:Map> </s:View>
and the error comes from this line of code:
for each (var node:XML in event.result.feed.entry);
Sherly,
Try this:
var x:XML = XML(event.result); for each (var node:XML in x);
The error is gone now but the points are still not projected. I can’t think of anything to do now. It seems like my codes are correct but nothing happens. Please help.
<?xml version="1.0" encoding="utf-8"?> <s:View xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark" title="Map" creationComplete="init()" xmlns:esri="http://www.esri.com/2008/ags"> <fx:Script> <![CDATA[ import com.esri.ags.Graphic; import com.esri.ags.SpatialReference; import com.esri.ags.events.GeometryServiceEvent; import com.esri.ags.geometry.Geometry; import com.esri.ags.geometry.MapPoint; import mx.collections.ArrayCollection; import mx.rpc.AsyncResponder; import mx.rpc.events.ResultEvent; private function init():void { pointsXML.send(); } protected function pointsXML_resultHandler(event:ResultEvent):void { var gArr:Array = []; var myGraphics:Array = []; var x:XML = XML(event.result.feed.entry); for each (var node:XML in x); { var latlong:Array = node.point.toString().split(" "); var myPoint:Geometry = new MapPoint(latlong[0], latlong[1], new SpatialReference(4326)); var coordGraphic:Graphic = new Graphic(myPoint); gArr.push(myPoint); myGraphics.push(coordGraphic); } var outSR:SpatialReference = new SpatialReference(4326); geometryService.project(gArr, outSR, new AsyncResponder(projectCompleteHandler, null, myGraphics)); } protected function projectCompleteHandler(result:Object, token:Object):void { var pRslts:Array = result as Array; for (var pg:int = 0; pg < pRslts.length; pg++) { var pGeom:Geometry = pRslts[pg]; token[pg].geometry = pGeom; } graphicsLayer.graphicProvider = token; } ]]> </fx:Script> <fx:Declarations> <s:HTTPService id="pointsXML" url="xml/properties.xml" result="pointsXML_resultHandler(event)"/> <esri:GeometryService id="geometryService" url="http://sampleserver1.arcgisonline.com/ArcGIS/rest/services/Geometry/GeometryServer"/> </fx:Declarations> <s:navigationContent> <s:Button width="80" height="70" click="navigator.popView()" icon="assets/backbutton.png"/> </s:navigationContent> <esri:Map id="map"> <esri:extent> <esri:Extent xmin="-467799" ymin="5253018" xmax="2171419" ymax="6627661"/> </esri:extent> <esri:ArcGISTiledMapServiceLayer url="http://services.arcgisonline.com/ArcGIS/rest/services/World_Street_Map/MapServer"/> <esri:GraphicsLayer id="graphicsLayer"> <esri:symbol> <esri:SimpleMarkerSymbol alpha="0.9" color="0xFFFF00" size="12" style="square"> <esri:SimpleLineSymbol color="0xDD0000" width="2" alpha="1" style="solid"/> </esri:SimpleMarkerSymbol> </esri:symbol> </esri:GraphicsLayer> </esri:Map> </s:View>
-
Previous
-
- 1
- 2
-
Next
-
Previous
-
- 1
- 2
-
Next
|
|