|
POST
|
Do you see any other requests that are failing? If it can't load the swz files from adobe.com then it should try loading them from your Viewer.
... View more
07-30-2013
08:52 AM
|
0
|
0
|
570
|
|
POST
|
Thanks for replying my thread. At least I am not the only one having this problem now. Would you please keep me update if you able to get it to works. I really appreciated that. Do you think have to do anything on the proxy file too? I run all my secured map services on 10.1 and everything is working find except the printTask. I also run a esri high-quality printing simple code (https://developers.arcgis.com/en/flex/sample-code/printtask.htm) then change url & secure gp sevices to my own services and get the same message. Really spending alot of time on it and didn't find any documents or ways from ESRI team. Just wonder is it a PrintTask bug on 10.1 or not many people using this function at all? Are you using long term tokens (tokens that are restricted to an ip or referer)? If not, then you probably need a different solution. You may need to work with Esri Support.
... View more
07-30-2013
08:37 AM
|
0
|
0
|
1090
|
|
POST
|
- send via HTTP and POST using the REST API because there is no PrintParamaters.fromJSON yet 🙂 You can use a Geoprocessor for this step. That's actually what the PrintTask uses: _gp.execute(printParameters.toJSON(), responder);
... View more
07-30-2013
08:32 AM
|
0
|
0
|
1090
|
|
POST
|
When you set layerInfoWindowRenderers, you don't need to show the InfoWindow yourself or use the IdentifyTask. You do need to set the layerId on the LayerInfoWindowRenderer. See: https://developers.arcgis.com/en/flex/api-reference/com/esri/ags/layers/supportClasses/LayerInfoWindowRenderer.html
... View more
07-29-2013
10:49 AM
|
0
|
0
|
510
|
|
POST
|
Does your policy file include secure="false"? This is needed if the swf is served over http and is accessing a https resource. See: http://www.arcgis.com/crossdomain.xml
... View more
07-24-2013
09:25 AM
|
0
|
0
|
1188
|
|
POST
|
You can try setting the version to 1.1.1. What is the spatial reference of your Map? The WMS service needs to support a compatible SR.
... View more
07-24-2013
08:22 AM
|
0
|
0
|
291
|
|
POST
|
Error: The prefix "fieldClasses" for element "fieldClasses:TextField" is not bound - Not sure what that is. See: https://github.com/Esri/arcgis-samples-flex/blob/master/web/src/AttributeInspectorInfoWindowEditable.mxml#L5
... View more
07-24-2013
08:14 AM
|
0
|
0
|
1453
|
|
POST
|
Here's a sample that shows how to get the style and change it at runtime: <?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"> <fx:Script> <![CDATA[ private function updateScaleBarPostion(leftValue:Number):void { var style:CSSStyleDeclaration = styleManager.getStyleDeclaration("com.esri.ags.components.ScaleBar"); style.setStyle("left", leftValue); } ]]> </fx:Script> <s:controlBarContent> <s:Button click="updateScaleBarPostion(200)" label="Move ScaleBar"/> <s:Button click="updateScaleBarPostion(5)" label="Reset ScaleBar"/> </s:controlBarContent> <esri:Map level="3"> <esri:ArcGISTiledMapServiceLayer/> </esri:Map> </s:Application>
... View more
07-23-2013
09:42 AM
|
0
|
0
|
690
|
|
POST
|
Can I get feature layer from Graphic object. You can use the "graphicsLayer" property on Graphic. FeatureLayer extends GraphicsLayer so you can cast to FeatureLayer if you need to. See: https://developers.arcgis.com/en/flex/api-reference/com/esri/ags/Graphic.html#graphicsLayer
... View more
07-17-2013
08:20 AM
|
0
|
0
|
672
|
|
POST
|
Is there a way to release the credentials when closing a view in Flex Mobile? All of my attempts such as IdentityManager.instance.enabled = false; seems to do nothing. You can call destroy() on the Credential. See: http://resources.arcgis.com/en/help/flex-api/apiref/com/esri/ags/components/supportClasses/Credential.html#destroy() Also, if multiple layers within a map are secure, when a user clicks cancel on the sign in window, they are forced to hit cancel the number of times corresponding to the number of secure layers. Is there a way to restrict this? You could create a custom version of the SignInWindow that saved the URL of the service that the user cancels to a shared application model. Then add a listener for the "showSignInWindow" event and in the handler, check if the URL of the service was canceled before, and if it was, call event.preventDefault() and setCredentialForCurrentSignIn(null). See: http://resources.arcgis.com/en/help/flex-api/apiref/com/esri/ags/components/IdentityManager.html#signInWindowClass http://resources.arcgis.com/en/help/flex-api/apiref/com/esri/ags/components/IdentityManager.html#event:showSignInWindow http://resources.arcgis.com/en/help/flex-api/apiref/com/esri/ags/components/IdentityManager.html#setCredentialForCurrentSignIn()
... View more
06-28-2013
02:12 PM
|
0
|
0
|
906
|
|
POST
|
Also see FeatureLayer.userId http://resources.arcgis.com/en/help/flex-api/apiref/com/esri/ags/layers/FeatureLayer.html#userId
... View more
06-26-2013
12:15 PM
|
0
|
0
|
773
|
|
POST
|
You can use Extent.intersects() to check if each feature is in the map's extent. See: http://resources.arcgis.com/en/help/flex-api/apiref/com/esri/ags/geometry/Extent.html#intersects()
... View more
06-26-2013
07:24 AM
|
0
|
0
|
586
|
|
POST
|
Try: ssoDataGrid.dataProvider = new ArrayList(featureSet.attributes); See: http://resources.arcgis.com/en/help/flex-api/apiref/com/esri/ags/FeatureSet.html#attributes http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/mx/collections/ArrayList.html
... View more
06-25-2013
12:25 PM
|
0
|
0
|
586
|
|
POST
|
The drawing order is based on the order of the items in the dynamicLayerInfos array. See: http://resources.arcgis.com/en/help/flex-api/apiref/com/esri/ags/layers/ArcGISDynamicMapServiceLayer.html#dynamicLayerInfos
... View more
06-24-2013
09:52 AM
|
0
|
0
|
346
|
|
POST
|
Try encoding the URL parameter using encodeURIComponent(): See: http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/package.html#encodeURIComponent()
... View more
06-24-2013
09:46 AM
|
0
|
0
|
1367
|
| 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
|