|
POST
|
Naty, Try this private function changeESRILogo(map:Map):void {
for(var i:int = 0 ; i < map.numChildren ; i++){
var component:UIComponent = map.getChildAt(i) as UIComponent;
if(component.className == "StaticLayer"){
for(var j:int = 0 ; j < component.numChildren ; j++){
var stComponent:UIComponent = component.getChildAt(j) as UIComponent;
if(stComponent.className == "Image"){
var img:Image = stComponent as Image;
if (img.source.toString().indexOf("logo") > 0){
img.source = myLogo;
img.addEventListener(MouseEvent.MOUSE_DOWN ,gotoMyURL,false,1000);
return;
}
}
}
}
}
} private function gotoMyURL(evt:Event):void
{
var myURL:URLRequest = new URLRequest("http://www.google.com/");
navigateToURL(myURL);
evt.stopPropagation();
}
... View more
07-22-2010
07:59 AM
|
0
|
0
|
2678
|
|
POST
|
Nathan, So do you have shortcutmenu="false" in each mapservice element in the config.xml or just the basemaps element? Try both as I can not recall with I programmed for.
... View more
07-22-2010
06:54 AM
|
0
|
0
|
480
|
|
POST
|
Nehru, You are misunderstanding a portion here when I right click and select Properties on my MyFirstWidget.mxml What you need to right click is the whole flex project and not just the mxml in the Flex Navigator window.
... View more
07-21-2010
07:39 PM
|
0
|
0
|
1525
|
|
POST
|
Brahmananda Nehru Khandrika, If you are using Flash or Flex Builder than just export a release build and copy all the files from the bin-release to a web server.
... View more
07-21-2010
02:12 PM
|
0
|
0
|
1525
|
|
POST
|
MayMay, This question has been answered here. http://forums.arcgis.com/threads/8172-Dock-Banner-Widget-Across-the-top-of-Page
... View more
07-21-2010
10:32 AM
|
0
|
0
|
334
|
|
POST
|
Jason, Like I said just add top="75" to the WidgetManagerDocked.mxml's top canvas element.
... View more
07-21-2010
09:39 AM
|
0
|
0
|
1074
|
|
POST
|
Michele, That is a problem this forum is having with IE try using FireFox
... View more
07-21-2010
08:05 AM
|
0
|
0
|
3536
|
|
POST
|
Jason, Are you setting the width of the banner to 100% or an actual number?
... View more
07-21-2010
06:44 AM
|
0
|
0
|
1074
|
|
POST
|
jiayong1112, look here. http://resources.esri.com/arcgisserver/apis/flex/index.cfm?fa=codeGalleryDetails&scriptID=16224
... View more
07-21-2010
04:08 AM
|
0
|
0
|
538
|
|
POST
|
Naty, I have seen this before and the fix is simple.
//Just comment out this line or delete it.
var bWidg:BaseWidget = bWidget.getInstance();
// and change this line
var vSW:SearchWidget = bWidg as SearchWidget;
to
var vSW:SearchWidget = bWidget as SearchWidget;
... View more
07-21-2010
04:05 AM
|
0
|
0
|
1192
|
|
POST
|
kbnehru, For changes to an mxml to take effect than you have to recompile the mxml into a swf file. You need something like Flash builder or older Flex Builder. If you do not have flash builder than changing any code is going to be tough.
... View more
07-20-2010
05:24 PM
|
0
|
0
|
1525
|
|
POST
|
Michele, I think some where along the line I changed the code I was using, not sure if you are using my latest or not. Anyway give this a try.
... View more
07-20-2010
04:46 PM
|
0
|
0
|
3536
|
|
POST
|
Nathan, See if this thread works for you. http://forums.esri.com/Thread.asp?c=158&f=2421&t=301764&mc=7#msgid943418
... View more
07-20-2010
02:12 PM
|
0
|
0
|
480
|
|
POST
|
Michele, Are you using different FLEX SDK version in your 1.2 vs 1.3 project?
... View more
07-20-2010
12:56 PM
|
0
|
0
|
3536
|
|
POST
|
Daniel, Sorry I am not going to be much help as I don't actually use the Parcel Notification Widget. I just try to provide people with assistance getting it working.
... View more
07-20-2010
12:40 PM
|
0
|
0
|
2074
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 04-14-2020 11:36 AM | |
| 16 | 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
|