|
POST
|
The idea has crossed my mind, I think that would be great enhancement to the splash screen. I guess on of the problem is that if you don't want it to show, you don't want the widget to load at all, which probably means that you can't add all the code to the widget it self.
... View more
01-25-2011
08:49 PM
|
0
|
0
|
1580
|
|
POST
|
I have a question about the saving part. When the dialog for saving the file opens the user can either just accept to default file name with the extension .txt and everything is fine. But I'm guess many users want to change the name and probably won't add the extension because they're expecting the correct extension to be added anyway. But it doesn't cause you're not saving the file as a specific file type, and then you wont be able to open it when the file filter does exists in the opening dialog. I googled this and I didn't find anything official from Adobe, but in some forums people are saying that it is impossible to specify file type when saving because it could be a security risk (to save exe-files for example). Is there anyone who has looked into to this and found some solution or do I just have to accept that this is how it works?? It's exactly the same thing in the PDFWidget when saving the pdf file. It annoys me.
... View more
01-21-2011
05:03 AM
|
0
|
0
|
1486
|
|
POST
|
I've only tested on one other computer that had the problems, but the default viewer seems to work. I also tested to compile the sourcecode of the 2.1 Viewer that my application is based on and that also worked. So I guess I must have screwed up the code somewhere. It's difficult to find out where when everything works fine on my computer (and some others).
... View more
01-18-2011
10:03 PM
|
0
|
0
|
1144
|
|
POST
|
I haven't really solved the problem yet, and now I'm having really weird problems which I don't know if they're related to the problems above. However, we released our customized FlexViewer in our organisation yesterday, and for some reason it just doesn't work on some computers. The weird thing is that on a few computers an older version works but not the new one (just made some small changes and added a couple of more widgets between those versions). And that the new version might actually work if you open it twice. I tested this on two different computers that had problems, opening the link to my application i get a blank window (we're using firefox 3.6) the status bar shows "reading fpdownload.adobe.com" but nothing happens. (My messages is in swedish so I'm not sure if it actually says "reading" or if something similar). But if I leave that firefox-window as it is and open a new one, then the application works in the new window, and I can go to the first one and refresh and it will work. After closing all windows i have to do the same thing again. I really can't understand what is causing this, is there anyone who do? I guess it isn't a FlexViewer och ArcGIS API for flex problem so maybe I should be asking somewhere else, does anyone has some tips on where to turn? could it be a flex issue or a flashplayer issue or something else?
... View more
01-18-2011
04:49 AM
|
0
|
0
|
1144
|
|
POST
|
I wanted this functionality in my customized FlexViewer 2.1, and thought I could try this code from Robert. I copied the changes that Robert made to the files, and pasted the into the corresponding places in my code and then step by step got rid of the errors (caused by using SFV 1.3 code in SFV 2.1). Then I was actually surprised to see that it seems to be working fine; extent, turned on layers and even the check-boxes in my TOC. I would also like to be able to save which widget that are open, does anyone know how to do that? I'm guessing the first thing I need to know is how to programatically identify which widget that are opened and closed and then programatically open widgets.
... View more
01-07-2011
01:21 AM
|
0
|
0
|
2249
|
|
POST
|
You could use the change event of the comboBox, something like this: <mx:ComboBox id="cbxTeam" prompt="select a team" selectedIndex="-1" dropdownWidth="150" horizontalCenter="0" top="20" change="doTeamQuery()" > The doTeamQuery function will fire up when user selects an item (that isn't already selected).
... View more
12-29-2010
09:26 PM
|
0
|
0
|
694
|
|
POST
|
Since you already have a slider working for one basemap, you could try something like this: Change the maximum of the slider to 2 and use this code on the change event. if (fader.value < 1){ basemap3.alpha = 0; basemap1.alpha = 1 - fader.value; }else{ basemap1.alpha = 0; basemap3.alpha = fader.value - 1; } With this code you need all of your basemaps to be visible and basemap1 ans basemap3 need to be on top of basemap2. (fader is the id of the slider). This was just a quick test (I only use basemaps in my application), there's probably a lot of improvements to do, but it's a start.
... View more
12-09-2010
10:16 PM
|
0
|
0
|
1031
|
|
POST
|
Thanks, but that doesn't help me. I have a working printing functionality, but just like David described above I think it would be nice to be able to print in a larger format that is larger than the screen size (and not just get an small picture that is re-sized which doesn't look good at all). Tony mentioned using "the export method (rest) on each mapservice, you can pass in whatever extents you want." And this is what I'm asking about, if anyone has tried that successfully.
... View more
12-08-2010
09:48 PM
|
0
|
0
|
2713
|
|
POST
|
In the HeaderControllerWidget.mxml change the height of <s:Group id="headerGroup" .... > So you need to change to source-code and recompile, it's not configurable in any xml file.
... View more
12-08-2010
09:32 PM
|
0
|
0
|
780
|
|
POST
|
Has anyone tried this method for printing? If I would try something like that, would it be possible to include graphicLayers and scalebar and things like that from the FlexViewer??
... View more
12-07-2010
09:29 PM
|
0
|
0
|
2713
|
|
POST
|
Have you looked at this sample http://help.arcgis.com/en/webapi/flex/samples/index.html?sample=FeatureLayerClustering ? maybe that is something you can use...
... View more
11-25-2010
09:09 PM
|
0
|
0
|
561
|
|
POST
|
Hi! I have published a beta version of our customized Flex Viewer internally, some of my colleagues have experienced that they have been able to use the application, but after a while it doesn't work anymore. The application isn't loaded, the whole page is just blank. After manually go to adobe and download the latest version of Flash player, it works again. I think this is a bit strange because your supposed to be able to use the application with a version higher that 10.0.0 which my colleagues obviously had. And if the version is too old isn't there supposed to be a message and a link to adobe or something? I haven't really seen the index-page with an old version, what is supposed to happen? Has anyone else had this problem?
... View more
11-25-2010
06:02 AM
|
0
|
6
|
1705
|
|
POST
|
If you want to translate into one of the six languages that is currently supportyed by localization, it should not be to hard, check out Localization at http://help.arcgis.com/en/webapps/flexviewer/help/index.html But if you like me, want another language you're gonna have ta change every text your self, some labels you can change in the widgets xml-config file, but that will probably not be enough so you need the source code and change some text in the code and then recompile it. The information you see when you click about is in the config file for the HeaderControllerWidget.
... View more
11-18-2010
04:00 AM
|
0
|
0
|
473
|
|
POST
|
Dasa, I changed the swfobject.embedSWF() function as you suggested, but without the result I was looking for. You still have to clear the cache memory to see the changes made to the application. I wonder if this change only affect the index.swf? Then maybe index.swf is not loaded from the cache memory, but all other swfs are, all widgets and controls. And that's were all the changes are made. If this is the case, how could I use this method on all the swf-files? Or do I have to use some other method?
... View more
11-12-2010
02:28 AM
|
0
|
0
|
2090
|
|
POST
|
Hi! When I've made some updates to my custom Flex Viewer 2.1 application and publish the new version on our server, my colleagues don't see those changes because the old version is stored in their browsers cache. Deleting all ache files will fix this, but I don't want them to have to do that all the time. I've searched for some info on how to prevent client-side caching, and it seems like the most common solutions is to either and some random number or time-stamp to the url when calling the swf-fil (something like index.swf?time='time-stamp', or to "set the HTTP headers for the SWF file request in the HTML wrapper" Here's some example code to do this in JSP: // Set Cache-Control to no-cache.
response.setHeader("Cache-Control", "no-cache");
// Prevent proxy caching.
response.setHeader("Pragma", "no-cache");
// Set expiration date to a date in the past.
response.setDateHeader("Expires", 946080000000L); //Approx Jan 1, 2000
// Force always modified.
response.header("Last-Modified", new Date()); (From the Adobe help documentation) I've also seen similar examples in PHP. My problem is I don't know how to use this code with my Flex Viewer application, I hardly know what JSP is. I guess I should do something with the index.html or the index.template.html (to keep the changes when rebuilding my project) Or maybe someone has another solution to my problem?
... View more
11-05-2010
04:32 AM
|
0
|
9
|
6133
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 10-29-2025 02:59 AM | |
| 1 | 01-13-2025 02:57 AM | |
| 2 | 04-14-2025 04:49 AM | |
| 2 | 09-18-2025 05:51 AM | |
| 1 | 08-28-2025 12:21 AM |
| Online Status |
Offline
|
| Date Last Visited |
03-23-2026
05:14 AM
|