|
POST
|
I can reproduce this, but in my case the memory is freed up after a few seconds. Turning a Dynamic Map Service visbility from false to true does add about 4MB of load to the memory. But like I said, when I monitor my app, it clears up after a few seconds. I imagine it has to do with Flash reloading the cached tiles from browser memory, but that's just a guess. Flash Garbage collection can be a bit tricky, you can never really determine when it will happen, you can't force it in a production environment. Best you can do is make sure you remove listeners and unused objects and cross your fingers. 😛
... View more
07-13-2010
01:01 PM
|
0
|
0
|
485
|
|
POST
|
For the FlexViewer2? I'm not a SFV user, but you could use a List with an ItemRenderer to display the RadioButton. Have the selected value of the RadioButton bind to the Layer.visible property. That would be a quick and dirty way of doing it.
... View more
07-12-2010
02:45 PM
|
0
|
0
|
441
|
|
POST
|
Hmm, not sure about that one. The Map Service REST would pull the geometries for you. If you are not using an MXD, you'd need to write a Web Service of some sort using ArcObjects to get accesss to those geometries. Haven't tried that specific scenario though.
... View more
07-12-2010
07:24 AM
|
0
|
0
|
753
|
|
POST
|
Depending on the size of the dataset you want to bring over, you could use the query tool on the REST page to get the data in JSON format and then use FeatureSet.convertFromJSON method to add to your application. http://help.arcgis.com/en/webapi/flex/apiref/com/esri/ags/FeatureSet.html#convertFromJSON() I do this for some small sets of data for testing purposes. It won't be feasible for a large dataset though, just too much info to parse.
... View more
07-11-2010
06:47 AM
|
0
|
0
|
753
|
|
POST
|
Center and scale works well, but I use this function after determining it's a single point. You could also have it check geometry type in the function to be safe if you want.
public static function getMapPointExtent(geometry:Geometry):Extent {
if (geometry) {
var mapPoint:MapPoint = geometry as MapPoint;
return new Extent(mapPoint.x, mapPoint.y, mapPoint.x, mapPoint.y, mapPoint.spatialReference);
}
else
return new Extent();
}
... View more
07-08-2010
08:19 AM
|
0
|
0
|
824
|
|
POST
|
You can't connect directly SQL Server in Flex, but you can use a proxy such as HTTPService or WebService written in your server side language of choice. This link should have a good example in .NET http://codeexpander.blogspot.com/2009/10/connecting-flex-to-sql-server.html You can then send requests to this service from your Flex application for your data.
... View more
07-08-2010
08:06 AM
|
0
|
0
|
416
|
|
POST
|
I get the same error in IE7, FP 10,1,53,64 But not in Chrome with FP 10,0,45,2 Nice work though.
... View more
07-06-2010
01:35 PM
|
0
|
0
|
1838
|
|
POST
|
Could you add a "save me" button or something when logging in? I get logged out every time I close my browser. Not a big deal and all, but sometimes after logging in when hitting reply will take me to the main forum page.
... View more
07-01-2010
10:22 AM
|
0
|
0
|
983
|
|
POST
|
I have to say, I'm glad to see the flip effects replaced with a crossfade. Looks and feels a lot how I build my apps now. Nice work. I also think a a forum for the API and Viewer would make things easier for people to navigate.
... View more
06-30-2010
11:49 AM
|
0
|
0
|
1169
|
|
POST
|
Same issue here. Never noticed before, but only happens in IE7 with Flash 10,1,53,64 debugger. Works as expected in my Chrome install with Flash 10,0,45,2 installed Only 2 setups I can test at the moment, so can't narrow it to browser or flash installs. But in any 2.0 app, final or beta, I get no mouse cursor in the Context Menu. In the example you linked, if I am in Zoom Navigation, I do get a mouse cursor.
... View more
06-29-2010
11:57 AM
|
0
|
0
|
1085
|
|
POST
|
Liking the new Logo! But can I move it? The Y position is slightly greater than before and doesn't quite fit my layout. It looks too nice to disable 😉
... View more
06-29-2010
09:35 AM
|
0
|
0
|
723
|
|
POST
|
That was the right direction. Setting the library project to external caused some other issues, but setting it to an RSL fixed it right up. Thanks for another solid release!
... View more
06-29-2010
09:26 AM
|
0
|
0
|
558
|
|
POST
|
I have an odd error creeping up on me with the 2.0 final release. I have a component library that I use with my projects that's been updated with the 2.0 API. When I add this library project via FlashBuilder, I get an error in the SkinnableComponent.as line 632 in my main Application. I tried adding this Library Project to some samples and added a custom "MapLayerList" component and got the same error, but when added as a compiled swc, works fine. Error: Skin for FeatureLayer_Search.ApplicationSkin2._ApplicationSkin_Group1.contentGroup.myMap.StaticLayer11.ScaleBar66 cannot be found. I don't even need to add a component to the project, just add the Library project. So, I'm not sure why the issue persists. I had this problem with the beta 2, but it went away with the beta 3, so I figured it was a byproduct of some fixes/changes you made. If I compile my Library project to a swc and use it, everything works fine. So, I'm not sure if this an issue with FlashBuilder or not. I have not had a chance to test it in FDT or IntelliJ yet. Is anyone able to replicate this problem in FlashBuilder? Here is an example of how I use Map in custom components MapLayerList http://gist.github.com/457363 It's not a deal breaker, but it's nice to modify my Library and see instant results without constant recompiles.
... View more
06-29-2010
07:30 AM
|
0
|
2
|
860
|
|
POST
|
What you need to do is grab the coordinates of your mouse and calculate the angle of the mouse from your polygon. This site has a great simple explanation of how to rotate an object using mouse events. http://www.foundation-flash.com/tutorials/as3rotation/ You could adapt that to the code you have now. That is probably the simplest way I've seen to calculate mouse to object angles.
... View more
06-28-2010
06:18 PM
|
0
|
0
|
558
|
|
POST
|
When you do the clean, are you cleaning all projects or just your main one? You can view it delete the contents of your bin-debug and then recompile to it. Not sure why it wouldn't catch recent changes. FlashBuilder is extremely buggy, and I have had issues that required I clean a project numerous times. Personally, it's my least favorite IDE to work in. I'm not familiar with the Print Widget, but is that change made in the code or a config.xml file? If it's in xml, you can delete that from your bin-debug, and do a clean again, it should work. Should being the relative term.
... View more
06-18-2010
01:51 PM
|
0
|
0
|
1044
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | a month ago | |
| 2 | 11-06-2025 11:10 AM | |
| 3 | 11-05-2025 02:54 PM | |
| 1 | 11-04-2025 02:38 PM | |
| 1 | 10-27-2025 08:17 AM |
| Online Status |
Offline
|
| Date Last Visited |
yesterday
|