|
POST
|
May Jeff, The easiest way to do this in the current version is to format the field in your mxd and then restart your map service and clear your REST cache.
... View more
10-19-2010
05:40 AM
|
0
|
0
|
673
|
|
POST
|
Matt, Here is some code:
//Add this attribute to the toc element
itemRollOver="setLastTreeItem(event)"
//Add these import
import mx.events.ListEvent;
import com.esri.maplib.tocClasses.TocItem;
//Add this var
public var lastTreeItem:ListEvent;
//Add this new function
public function setLastTreeItem(event:ListEvent):void
{
lastTreeItem = event;
}
//Then you can add something like this to your function to get a TocItem
var item:TocItem = TocItem(lastTreeItem.itemRenderer.data);
from the item you can get the label or check for isGroupLayer.
... View more
10-18-2010
06:48 PM
|
0
|
0
|
490
|
|
POST
|
Guys, the reason no one has responded is the fact that there is no easy way I can even imagine to do this currently. If you understand how layers are handled (server and client) then you might grasp the near impossible nature of the question.
... View more
10-18-2010
02:21 PM
|
0
|
0
|
944
|
|
POST
|
Mellisa, FlashPlayer can not copy images to the clipboard like AIR can as this could be a huge security hole manipulated by hackers. Flash Player can only do text to the clipboard. Same as Erwan posted a minute earlier 🙂
... View more
10-18-2010
12:55 PM
|
0
|
0
|
1625
|
|
POST
|
Mike, Same scenario you would have to have the source code to modify the searchWidget to accommodate multiple search fields. And without the source and modifications yes you would need the whole url in a field.
... View more
10-18-2010
09:55 AM
|
0
|
0
|
757
|
|
POST
|
Phillip, There is a public function (exportImage) that can be called on the DynamicLegendWidget that will return a BitmapImage. But you will still have to work with flex bitmap objects to place and combine the returned BitmapImage with the one that is returned for the map. Sorry I don't have time to give a code example right now.
... View more
10-18-2010
06:25 AM
|
0
|
0
|
2006
|
|
POST
|
ajay, If you look at or use the config-all.xml it works just fine so I don't know what kind of issue you are having.
... View more
10-15-2010
04:22 PM
|
0
|
0
|
1274
|
|
POST
|
Frank, Look here for the code that you will need to put into the searchWidget. http://forums.esri.com/Thread.asp?c=158&f=2421&t=295461&mc=2#msgid921902
... View more
10-15-2010
12:11 PM
|
0
|
0
|
430
|
|
POST
|
Mike, Sorry you will need to use the flexviewer source to accomplish what you are attempting to do, you can not change this by configuring the compiled viewer.
... View more
10-15-2010
11:59 AM
|
0
|
0
|
757
|
|
POST
|
Mike, Sure, just put currentState="textInput" attribute in the viewer:BaseWidget element in the searchwidget.mxml
... View more
10-14-2010
05:22 PM
|
0
|
0
|
757
|
|
POST
|
Tim, That normally indicates that you have a syntax error in one of your xml files.
... View more
10-14-2010
10:39 AM
|
0
|
0
|
2166
|
|
POST
|
Mattias, The draw widget is just using the MapManager's DrawTool, so you would have to turn off the tooltips in the mapmanager.
... View more
10-14-2010
07:55 AM
|
0
|
0
|
931
|
|
POST
|
Josh, If you have access to Flash Builder that there is no question that you should begin with the uncompiled as many developer like my self will give to instructions about changing mxml code that can only be done with the uncompiled version.
... View more
10-14-2010
07:52 AM
|
0
|
0
|
959
|
|
POST
|
Erwan, It would take you using the exportMapImage method on the map services that supported it and merging them together in flex using bitmap methods (to the best of my knowledge).
... View more
10-14-2010
07:49 AM
|
0
|
0
|
2006
|
| 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
|