|
POST
|
Tracy, The formatter has to declared inside the Component. A component basically creates it own memory space and cannot reference things out side of itself.
... View more
09-09-2010
01:53 PM
|
0
|
0
|
525
|
|
POST
|
Chris, Here is link you should look at http://help.arcgis.com/en/webapps/flexviewer/help/gettingstarted.htm
... View more
09-09-2010
09:21 AM
|
0
|
0
|
1182
|
|
POST
|
Chris, The source code for the ArcGIS Viewer for Flex is available from a Quick Link at: http://help.arcgis.com/en/webapps/flexviewer/
... View more
09-09-2010
08:39 AM
|
0
|
0
|
1182
|
|
POST
|
Joshua Uncomment this line //[Embed(source="assets/images/i_bartow.png")]
should be [Embed(source="assets/images/i_bartow.png")]
... View more
09-09-2010
07:56 AM
|
0
|
0
|
1645
|
|
POST
|
Joshua, To add code boxes click the # button on the buttons above the window where you type.
... View more
09-09-2010
07:38 AM
|
0
|
0
|
1645
|
|
POST
|
Naty, Hmm... Explain to me the desired work flow? Right now even your xml is malformed...
Should look like this
<?xml version="1.0" encoding="utf-8"?>
<Buildings>
<Building name='1'>
<Plan code='P1' dgn='1p1.dgn'/>
<Plan code='PT' dgn='1pt.dgn'/>
<Plan code='S1' dgn='1s1.dgn'/>
</Building>
<Building name='11O'>
<Plan code='PT' dgn='11opt.dgn'/>
<Plan code='S1' dgn='11os1.dgn'/>
</Building>
</Buildings>
NOT
<Plan code='S1' dgn='11os1.dgn'/Plan>
... View more
09-09-2010
07:29 AM
|
0
|
0
|
1140
|
|
POST
|
Joshua, Where are you calling the changeESRILogo function from? Try adding it to protected override function partAdded(partName:String, instance:Object):void
{
super.partAdded(partName, instance);
if (instance == map)
{
map.zoomSliderVisible = false;
map.addEventListener(MapEvent.LOAD, mapLoadComplete);
changeESRILogo(map);
}
}
... View more
09-09-2010
07:15 AM
|
0
|
0
|
1650
|
|
POST
|
Jeremy, I just noticed the error. And it is pretty strange... private var optLayerTable:Array = new Array() Add a semicolon behind this line and then add another empty line before you do the Embed
... View more
09-09-2010
06:56 AM
|
0
|
0
|
1650
|
|
POST
|
Naty, Sure it's possible can you post your MiniSearch.mxml?
... View more
09-09-2010
06:37 AM
|
0
|
0
|
1599
|
|
POST
|
Jeremy, Somehow I completely missed that you where attempting this in the new FlexViewer2.0. The code you are try to use is for the SFV 1.x. Replace this part of the code to work with 2.0 private function changeESRILogo(map:Map):void
{
for (var i:int=0; i<map.staticLayer.numChildren; i++){
var component:UIComponent = map.staticLayer.getChildAt(i) as UIComponent;
if(component.className == "Image"){
var img:Image = component as Image;
if (img.source.toString().indexOf("logo") > 0){
img.source = myLogo;
img.addEventListener(MouseEvent.MOUSE_DOWN ,gotoMyURL,false,1000);
return;
}
}
}
}
... View more
09-09-2010
06:35 AM
|
0
|
0
|
1650
|
|
POST
|
Nestor, This is the error I get SecurityError: Error #2048: Security sandbox violation: http://74.174.238.250/flex/index.swf cannot load data from http://gissrv1/ArcGIS/rest/services/StreetMap/MapServer?f=json. You need to use the same server names so if one is an ip address than you need to use that every where (i.e. http://74.174.238.250/ArcGIS/rest/services/StreetMap/MapServer).
... View more
09-09-2010
05:50 AM
|
0
|
0
|
483
|
|
POST
|
Melissa, Nope you can use the locator with 9.3.1 you just have to modify the locatorWidget.mxml code on line 365.
//replace
locateResult.point = map.spatialReference.wkid != 4326 ? WebMercatorUtil.geographicToWebMercator(addrCandidate.location) as MapPoint : addrCandidate.location;
//With
locateResult.point = addrCandidate.location; The reasoning behind this is your map and your locator are using WKID 102697 and the default esri code is saying that if the WKID of the map is not 4326 than reproject the locator point to web mercator. They did not account for people using their own locators and map services when they developed this code.:(
... View more
09-09-2010
05:06 AM
|
0
|
0
|
3170
|
|
POST
|
Jeremy, Post your whole MapManager.mxml there is a simple explanation to this; somewhere...
... View more
09-09-2010
04:59 AM
|
0
|
0
|
1814
|
|
POST
|
Melissa, Not exactly. Are you using all of your own mapservice and base maps or are you using some of esri's? So your locator returning results in 102697 right? Are you using ArcGIS Server 10?
... View more
09-08-2010
01:36 PM
|
0
|
0
|
3170
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 04-14-2020 11:36 AM | |
| 17 | 05-17-2021 01:51 PM | |
| 1 | 07-06-2020 05:32 AM | |
| 1 | 07-10-2018 05:49 AM | |
| 9 | 01-28-2022 10:58 AM |
| Online Status |
Offline
|
| Date Last Visited |
06-08-2026
06:27 AM
|