|
POST
|
FeatureLayer.graphicProvider should be treated as read-only: http://help.arcgis.com/en/webapi/flex/apiref/com/esri/ags/layers/FeatureLayer.html#graphicProvider You should be using FeatureLayer.featureCollection: http://help.arcgis.com/en/webapi/flex/apiref/com/esri/ags/layers/FeatureLayer.html#featureCollection Note: If you're not using a temporal renderer, then there's no advantage to using FeatureLayer.featureCollection over GraphicsLayer.graphicProvider.
... View more
09-08-2010
08:30 AM
|
0
|
0
|
1371
|
|
POST
|
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-08-2010
08:20 AM
|
0
|
0
|
283
|
|
POST
|
You should also see a second request querying the layer. Is this the only request you're seeing?
... View more
09-08-2010
08:17 AM
|
0
|
0
|
520
|
|
POST
|
Can you use a tool like HttpFox, Firebug, Charles, Fiddler, etc. to compare the request sent from the Viewer with the request that's working in the Services Directory?
... View more
09-08-2010
08:14 AM
|
0
|
0
|
376
|
|
POST
|
The DOCTYPE is invalid. Try removing it or using: <!DOCTYPE cross-domain-policy SYSTEM "http://www.adobe.com/xml/dtds/cross-domain-policy.dtd"> Also make sure http://localhost/crossdomain.xml loads fine in Firefox or IE.
... View more
09-07-2010
06:26 PM
|
0
|
0
|
598
|
|
POST
|
Are you running the Viewer from http://www.stjoemap.info/...? If not, you'll need to put up a crossdomain.xml file at: http://www.stjoemap.info/crossdomain.xml See References at http://help.arcgis.com/en/webapi/flex/help/index.html
... View more
09-07-2010
02:33 PM
|
0
|
0
|
333
|
|
POST
|
You can use the Output folder setting to copy it to a development server during your development and then just create the release build once you're done. The Release build dialog also lets you choose where to save it, so you may be able to use a unc path there or uses a mounted drive to have it saved directly to your server.
... View more
09-03-2010
11:59 AM
|
0
|
0
|
1107
|
|
POST
|
Are you able to load your Viewer fine if you manually copy the files to your IIS directory? If not, I'd get that working first (See Roberts tips above). Then configure the Project Settings so you can skip the manual copy step. You'll still need to create a release build when you're ready to have it used by your users.
... View more
09-03-2010
11:49 AM
|
0
|
0
|
1107
|
|
POST
|
Open your Project Properties and go to Flex Build Path and change the Output folder setting.
... View more
09-03-2010
08:45 AM
|
0
|
0
|
1107
|
|
POST
|
I'm not able to reproduce this issue using the code below. Can you modify the code below to show how this issue can be reproduced? <?xml version="1.0" encoding="utf-8"?>
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:esri="http://www.esri.com/2008/ags">
<s:layout>
<s:VerticalLayout horizontalAlign="center" paddingTop="10"/>
</s:layout>
<fx:Script>
<![CDATA[
import mx.rpc.AsyncResponder;
protected function button1_clickHandler(event:MouseEvent):void
{
detailsTask.getDetails(0, new AsyncResponder(myResultFunction, myFaultFunction));
function myResultFunction(result:Object, token:Object = null):void
{
trace(result);
}
function myFaultFunction(error:Object, token:Object = null):void
{
trace(error);
}
}
]]>
</fx:Script>
<fx:Declarations>
<esri:DetailsTask id="detailsTask" url="http://sampleserver3.arcgisonline.com/ArcGIS/rest/services/SanFrancisco/311Incidents/MapServer"/>
</fx:Declarations>
<s:Button click="button1_clickHandler(event)" label="Get Details"/>
</s:Application>
... View more
09-02-2010
04:13 PM
|
0
|
0
|
723
|
|
POST
|
Can you share the code in your detailResult function?
... View more
09-02-2010
04:04 PM
|
0
|
0
|
723
|
|
POST
|
It looks like since it's an image layer, it's only transparent outside of it's extent. e.g., http://nowcoast.noaa.gov:80/wms/com.esri.wms.Esrimap/obs?WIDTH=1342&VERSION=1%2E1%2E1&SRS=EPSG%3A4326&HEIGHT=882&FORMAT=image%2Fpng&STYLES=&TRANSPARENT=true&REQUEST=GetMap&LAYERS=RAS%5FGOES&BBOX=%2D235%2E8984375%2C%2D155%2E0390625%2C235%2E8984375%2C155%2E0390625&SERVICE=WMS Have you tried setting the alpha property on your layer?
... View more
09-02-2010
12:32 PM
|
0
|
0
|
450
|
|
POST
|
By adding that code to the MapManager, you've made the WMSMapServiceLayer class definition exist in the main app's swf. When this main app loads widgets into child ApplicationDomains, the widgets first inherit all of the parents class definitions, so now your widgets are sharing the same definition.
... View more
09-02-2010
12:18 PM
|
0
|
0
|
665
|
|
POST
|
For B, there isn't a better option since Flash Player doesn't pass on the body of the HTTP response if the response code is not 200.
... View more
09-02-2010
11:43 AM
|
0
|
0
|
814
|
|
POST
|
Does this apply? See message #2: http://forums.arcgis.com/threads/11960-com.esri.ags.symbols.TextSymbol-is-not-TextSymbol-in-FlexViewer-widget
... View more
09-01-2010
03:58 PM
|
0
|
0
|
665
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 03-06-2017 01:13 PM | |
| 2 | 03-06-2017 02:12 PM | |
| 1 | 06-22-2010 12:01 PM | |
| 1 | 08-06-2012 09:29 AM |
| Online Status |
Offline
|
| Date Last Visited |
04-15-2025
04:18 PM
|