|
POST
|
Using the Sample Flex Viewer with the 2.0 API is not supported. It could be done, but it'd be a lot of work since you'd also be moving to Flex 4. You could start with the 2.0 beta of the ArcGIS Viewer for Flex available at: http://help.arcgis.com/en/webapps/flexviewer/ It should be possible to migrate non "Sample Flex Viewer" apps to 2.0 relatively easily depending on their size.
... View more
09-01-2010
11:02 AM
|
0
|
0
|
1103
|
|
POST
|
Have you tried using a tool like HttpFox, Firebug, Charles etc. to see what HTTP requests are being made and which are failing?
... View more
09-01-2010
08:56 AM
|
0
|
0
|
1755
|
|
POST
|
Use the visibleLayers property: http://help.arcgis.com/en/webapi/flex/apiref/com/esri/ags/layers/ArcGISDynamicMapServiceLayer.html#visibleLayers
... View more
09-01-2010
08:50 AM
|
0
|
0
|
465
|
|
POST
|
Also make sure you don't have the old swc in your libs or Project Settings.
... View more
08-31-2010
02:29 PM
|
0
|
0
|
1103
|
|
POST
|
Can you try changing this line in WidgetManager.loadWidget() from: wgtInfo.load(null, null, null, moduleFactory); to: wgtInfo.load(ApplicationDomain.currentDomain, null, null, moduleFactory); For background on this change, widgets are being loaded into separate sibling ApplicationDomains so they can't share class definitions. With the above change, they should be loaded into the main app's own domain. Another work-around would be to make sure the TextSymbol definition is inherited from the parent domain by using it somewhere like creating an unused instance in index.mxml. Reference: http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/system/ApplicationDomain.html (Also see last two See Also links.)
... View more
08-30-2010
01:36 PM
|
0
|
0
|
740
|
|
POST
|
You may want to try using Flash Builder's Data -> Connect to HTTP... menu option. This wizard will generate code that you can use to call your service.
... View more
08-30-2010
12:03 PM
|
0
|
0
|
1594
|
|
POST
|
There's sample config files in the download. You can put the visiblelayers attribute anywhere in the layer tag. The number should match the id in the services directory page at: http://publicgis/PublicGISserver/rest/services/Bartow_Floodplain/MapServer e.g. <operationallayers>
<layer label="Layer1" type="dynamic" visible="true" visiblelayers="1"
url="http://publicgis/PublicGISserver/rest/services/Bartow_Floodplain/MapServer"/>
<layer label="Layer2" type="dynamic" visible="true" visiblelayers="2"
url="http://publicgis/PublicGISserver/rest/services/Bartow_Floodplain/MapServer"/>
</operationallayers>
... View more
08-27-2010
11:53 AM
|
0
|
0
|
345
|
|
POST
|
You don't have to create separate map services. Instead you can control which layers are visible in three different client layers. For example, in the basemaps mapservice set visiblelayers="0" and in two separate operational layers, set visiblelayers="1" and visiblelayers="2".
... View more
08-27-2010
09:59 AM
|
0
|
0
|
1598
|
|
POST
|
You can try setting this to true: http://help.arcgis.com/en/webapi/flex/apiref/com/esri/ags/layers/FeatureLayer.html#disableClientCaching
... View more
08-27-2010
08:38 AM
|
0
|
0
|
564
|
|
POST
|
Glad to hear you got it working. For more information on how to add your own services, see the Configuration Files -> Main Configuration file page at: http://help.arcgis.com/en/webapps/flexviewer/help/index.html You'll need to add operationallayers.
... View more
08-27-2010
08:35 AM
|
0
|
0
|
1598
|
|
POST
|
Try making it part of the url instead of the params.
... View more
08-26-2010
01:44 PM
|
0
|
0
|
438
|
|
POST
|
Try just changing the graphic's symbol to a PictureMarkerSymbol whose source points to your swf when you mouse over the graphic and change it back when you mouse out. Reference: http://help.arcgis.com/en/webapi/flex/apiref/com/esri/ags/symbols/PictureMarkerSymbol.html
... View more
08-26-2010
12:17 PM
|
0
|
0
|
459
|
|
POST
|
Looks like you're getting 404's for anything under the assets folder. Can you double check that they exist on the file system and that you can load those urls in your browser.
... View more
08-26-2010
12:12 PM
|
0
|
0
|
1598
|
|
POST
|
Can you give more detail about the errors? Are you getting 404 response codes? Are you able to load these urls in your browser? You may need to check that your web server is properly configured.
... View more
08-26-2010
08:42 AM
|
0
|
0
|
1598
|
| 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
|