Yahoo Maps for Flex 2?

I'm trying to do a little trial with Flex and the Yahoo Map
API but I'm getting no place. I'm assuming I've got the old
extension for Flex 1.5 but I'm not sure.
I see one of the derby winners used it so I'm assuming it
works in 2.0 now somehow.
I'm getting this error with this simple app and I do have the
YahooMap.swc file in my application root folder:
1046: Type was not found or was not a compile-time constant:
YahooMap
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="
http://www.adobe.com/2006/mxml"
xmlns:yahoo="com.yahoo.maps.api.flex.*" xmlns:local="*" xmlns="*"
>
<yahoo:YahooMap id="myMap" width="550" height="400"
zoomLevel="3" latitude="37.77159" longitude="-122.401714"
initialize="onInitialize(event);" />
</mx:Application>
Thank you for the help.

I have also been trying, the answer I get from the Yahoo
folks is that they
do not, as of yet, have a version of the MAP API for Flex
2.0. I even
offered to help port it. No reply.
"MnWild" <[email protected]> wrote in
message
news:e9jhdk$e0i$[email protected]..
> I'm trying to do a little trial with Flex and the Yahoo
Map API but I'm
> getting
> no place. I'm assuming I've got the old extension for
Flex 1.5 but I'm
> not
> sure.
>
> I see one of the derby winners used it so I'm assuming
it works in 2.0 now
> somehow.
>
> I'm getting this error with this simple app and I do
have the YahooMap.swc
> file in my application root folder:
>
> 1046: Type was not found or was not a compile-time
constant: YahooMap
>
> <?xml version="1.0" encoding="utf-8"?>
> <mx:Application xmlns:mx="
http://www.adobe.com/2006/mxml"
> xmlns:yahoo="com.yahoo.maps.api.flex.*" xmlns:local="*"
xmlns="*" >
> <yahoo:YahooMap id="myMap" width="550" height="400"
> zoomLevel="3" latitude="37.77159"
longitude="-122.401714"
> initialize="onInitialize(event);" />
> </mx:Application>
>
> Thank you for the help.
>
>

Similar Messages

  • Why am I unable to use the mouse to move maps around in yahoo maps?

    When I open yahoo maps, I'm unable to hold down the left mouse button and move the map around to view other locations. However, double-clicking will allow me to zoom in and I can right click to pull up options to zoom out. This isn't an issue when I open yahoo maps in IE, but I don't want to use IE.

    Hello gremles125,
    '''Try Firefox Safe Mode''' to see if the problem goes away. Safe Mode is a troubleshooting mode, which disables most add-ons.
    ''(If you're not using it, switch to the Default theme.)''
    * You can open Firefox 4.0+ in Safe Mode by holding the '''Shift''' key when you open the Firefox desktop or Start menu shortcut.
    * Or open the Help menu and click on the '''Restart with Add-ons Disabled...''' menu item while Firefox is running.
    ''Once you get the pop-up, just select "'Start in Safe Mode"''
    '''''If the issue is not present in Firefox Safe Mode''''', your problem is probably caused by an extension, and you need to figure out which one. Please follow the [[Troubleshooting extensions and themes]] article for that.
    ''To exit the Firefox Safe Mode, just close Firefox and wait a few seconds before opening Firefox for normal use again.''
    ''When you figure out what's causing your issues, please let us know. It might help other users who have the same problem.''
    Thank you.

  • Submitting site maps for multiple sites to Google

    I sort of glommed on to the end of the thread "meta and google-ing...i give up," but I'll start a fresh post here with this:
    I have three sites in iWeb, all of which have their own registered Go Daddy domain names and are forwarded to .mac without masking. I followed James Tseng's instructions and successfully submitted to Google and verified my "www.mac.com/user/iWeb" url.
    I also successfully uploaded a site map for one of my sites (let's just call it Site 1), which is in my iWeb folder (not the Site 1 folder).
    My question: I assume I can create separate site maps for Sites 2 and 3. Do they also go in the same iWeb folder as the first one? Is that possible if they're all named "sitemap.xml" or do they have to be given different names?
    Also... if I want to submit these three sites to other engines like MSN and Yahoo, can I submit the forwarded domain names, or will these engines not follow the forwarding to my .mac url?
    If that's the case, is it best to submit the single "www.mac.com/user/iWeb url" as I did with Google, or should I submit each site's .mac url separately?
    Thanks in advance for your help!
    Mitch

    <As posted in the the other thread...>
    Hi Mitch....
    I hope you've been finding all this helpful so far! It's always fun to see just how much feedback you can get from Google. Sort of gives you a feeling that "you've arrived". haha.
    Regarding your question about sitemaps and multiple sites.... My strategy is this... I like to give Google sort of the broadest catch that I can. That's why I really suggest to people that they register the most general URL... http://web.mac.com/username/iWeb/ . You see how that really leaves the door open for the possibility of multiple sites, without having to register multiple sites. Google really doesn't care that you call them separate sites...to Google they appear as part of the same site...with the same base verified URL.
    So with that registered URL, there really is only one place where the verification file and sitemap.xml file can go. And that place is in the iDisk/Web/Sites/iWeb/ folder. And there is really only a need for a single verification file and a single sitemap.xml file, no matter how many sites you have. The point here isn't telling Google that you have more sites...it's just about telling Google that you have more LINKS in the site that it already knows about.
    So how do you do this? Just spider your new site or gather the links in your own way and then copy and paste the links (just the links section...not the first two lines or the last line of the code) into the sitemap.xml file that you have already submitted before. Then resubmit it to Google.
    Does this make sense? Let me know what you think.

  • Issue in Mapping Public Flex Fields

    Hi,
    Am trying to use flexfileds in BPM worklist so that I can have additional attributes from the payload associated from the humantask type , in the task header that appears in home page.
    Am able to create new label and then tried following steps :-
    1. Clicked Edit mappings by task type and selected my task type whose payload attributes are required to be mapped with the flex fields.
    2. The value "default/BPMApptoTestFlexFIelds!1.0*soa_edb15646-6a26-4c5d-9543-cde35ec51e6d/HT_FlexFields" gets populated in the fields "Edit mappings by task type".
    3. However , it shows the message "There are no simple Payload Attributes associated with this TaskType".
    For the payload attribute to appear in the BPM worklist sreen while mapping for the flex field ,
    I understand that it should be of simple type . My payload looks like this :-
    <?xml version="1.0" encoding="windows-1252" ?>
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns="http://www.example.org"
    targetNamespace="http://www.example.org"
    elementFormDefault="qualified">
    <xsd:element name="AddClient">
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element name="ClientName" type="xsd:string"/>
    <xsd:element name="LegalFormation" type="xsd:integer"/>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    </xsd:schema>
    Please advise if I missed something
    Can you please help me on this .
    Regards,
    Durgadas

    Back in the task definition I think you'd define an additional simple type in the data tab (e.g add it to the payload), and in the input mapping for the human task populate that value from the existing payload. The flex fields need to be bound to simple types defined in the payload.

  • Does the new AIR SDK support iOS 64-bit for Flex Developers?

    I saw that the new AIR SDK(December 18, 2014) has supported iOS 64-bit, but it was only supported in the new compiler. See this:
    Please note that support for creating universal IPA binaries will only be available in the new compiler. The legacy compiler is not (and will not be)
    compatible with iOS 64-bit. Because of this, it will be removed with version 16 of the AIR SDK. To ensure that Adobe as well as third party tools
    are able to work with this AIR SDK, the -useLegacyAOT option will continue to exist, but will be internally mapped to the new compiler.
    AFAIK, the Flex uses the old compiler and AIR SDK for Flex Developers doesn't include ActionScript 2.0 Compiler. As a Flex developer, what shall I do?

    Hi,
    I guess, you might be packaging IPA on windows machine.  Please try latest beta at http://labs.adobe.com/downloads/air.html which has iOS64 support on Windows machine as well.
    Thanks
    Govinda Gupta

  • Google Maps for Flash in AIR for Android: ~2 minutes to start up

    I have a "Hello World" style AIR for Android app using Flash Builder 4 Burrito/Flex Hero.
    When debugging on device (stock HTC Desire) using Flex version v1.20 of Google Maps for Flash (map_flex_1_20.swc), it takes 1 minute and 50 seconds for the app to startup to display a simple map:Map3D on the home screen. The same app without the map:Map3D object starts in just a few seconds.
    There are no startup delays using the simulator.
    Anyone know what might be causing the severe startup delay when running on device?
    Thanks,
    Stephen

    Hi - yes no problem: I've uploaded a sample app here: http://crackedfrog.com/files/AndroidAIRMap.zip.
    You'll need to add a valid Google Maps API key and corresponding URL back into the maps:Map3D object:
    <maps:Map3D left="0" right="0" top="0" bottom="0"
      xmlns:maps="com.google.maps.*" id="map"
      url=""
      key=""
      sensor="false"/>
    This shows the same behaviour as described above - around 2 minutes to start up when debugging on the device.
    Appreciate any help.
    Thanks,
    Stephen

  • [svn:fx-trunk] 5386: * Fix for Flex Builder JUnit tests.

    Revision: 5386<br />Author:   [email protected]<br />Date:     2009-03-18 08:03:11 -0700 (Wed, 18 Mar 2009)<br /><br />Log Message:<br />-----------<br />* Fix for Flex Builder JUnit tests.<br /><br />tests Passed: checkintests, performance testsuite<br /><br />Needs QA: YES<br /><br />Needs DOC: NO<br /><br />API Change: NO<br /><br />Reviewer: Pete F.<br /><br />Code-level description of changes:<br /> <br />  compiler/CompilerAPI.java<br /><br />    Changed the deleted Map used in validateCompilationUnits() and<br />    some of it's helper methods from <String, Source> to <QName,<br />    Source>.  This allows us to track when a definition is deleted<br />    from one SWC in the library path and then added by another SWC in<br />    the library path.  All the definitions dependant on the definition<br />    need to be recompiled and we were missing this before.<br />    Specifically, the Flex Builder JUnit tests were switching from<br />    airglobal.swc to playerglobal.swc midstream.  As a result, we<br />    weren't recompiling classes that depended on<br />    flash.display.DisplayObjectContainer, because it looked like it<br />    hadn't been deleted.<br /><br />Modified Paths:<br />--------------<br />    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/CompilerAPI.java<br />    flex/sdk/trunk/modules/compiler/src/java/flex2/tools/oem/Library.java

  • Menu map for 6070

    Hi.
    I'm looking for the Manu map for Nokia 6070
    My problem is that the display of the phone is broken, It doesn't show anything, but otherwise the phone works well, I can call, or recieve calls.
    Before I take it to repair, I would like to connect to my notebook to synchronize data. The only way I could do it is to activate Infrared, but for this I need the menu map.
    Thanks,
    frog

    I have a similar problem -
    I have a new 7360 - in hong kong. The guy in the shop showed my wife that it has english language installed. Then when we take the battery out to insert the SIM card it defaults back to Traditional Chinese.
    and nowhere - but nowhere - (Google, MSN, Nokia.com) is there a simple instruction "press menu 1,2,3 to change the language to XXX".
    Looking on the forums there are other people with the same issue - Arabic/English , Malay/Indonesion etc
    I mean really - you sell millions of phones with multiple language support so this problem must come up and **bleep** your customers off hundreds of times daily.
    Think about it - the reason people want to change a language is because they cant read the one that the phone is displaying! So putting "Press menu, then settings, then language" is useless because we cant read the phone display and the menu selection varies from model to model.
    Please - if anyone with access to an english language 7360 reads this - can you send the menu selection to change language to flippertie [at] yahoo [dot] com.
    thanks

  • Yahoo maps not working in air? pls help!!! someone!!!

    Hi  everyone,
    I have created a partial air app and now i need a yahoo map.
    The code which I have works in dreamweaver when i test it as a normal web html file but does not work then when I use it in aptana studios for air apps.
    The code is :
    <head> 
    <script type="text/javascript" 
    src="http://api.maps.yahoo.com/ajaxymap?v=3.8&appid=myappid"></script> 
    <style type="text/css"> 
    #map{ 
    height: 100%; 
    width: 100%; 
    </style> 
    </head> 
    <body> 
    <div id="map"></div> 
    <script type="text/javascript"> 
         // Create a map object 
    alert('1');
         var map = new YMap(document.getElementById('map')); 
    alert('2');
         // Add map type control 
         map.addTypeControl(); 
         // Set map type to either of: YAHOO_MAP_SAT, YAHOO_MAP_HYB, YAHOO_MAP_REG 
         map.setMapType(YAHOO_MAP_REG); 
         // Display the map centered on a geocoded location 
         map.drawZoomAndCenter("San Francisco", 3); 
    </script> 
    </body> 
    </html>
    The error I am receiving is "ReferenceError: Can't find variable: YMap"
    can anyone tell me why?
    Thank you all so much in advance?
    IrishAirMax

    Content in the AIR application security sandbox (content installed with the application) cannot directly load JavaScript files from remote domains. This is a security feature to prevent application from executing scripts from potentially dangerous sources.
    However, in an iframe or frame, you can load a file in the application directory into a non-application sandbox, such as a remote sandbox "http://api.maps.yahoo.com". For example, the following example maps content installed in the sandbox subdirectory of the application to run in the remote sandbox for the http://api.maps.yahoo.com domain:
    <iframe
        src="http://www.example.com/local/ui.html" 
        sandboxRoot="http://api.maps.yahoo.com/local/" 
        documentRoot="app:/sandbox/">
    </iframe>
    That local file (in the iframe) can now load a script file from http://api.maps.yahoo.com. And the parent page (of the iframe) can communicate with the child iframe using the AIR script bridge mechanism.
    This is all described here:
    http://help.adobe.com/en_US/AIR/1.5/devappshtml/WS5b3ccc516d4fbf351e63e3d118666ade46-7f08. html
    And here's a "quick start" application that shows you how to use the sandbox mapping and script bridging features:
    http://www.adobe.com/devnet/air/ajax/quickstart/sandbox_bridge.html

  • Problem with "Building interactive maps with Flex" example

    I have been looking at the tutorial by Matt Sheehan Building interactive maps with Flex found at
    http://www.adobe.com/devnet/flex/articles/interactive_maps.edu.html
    I have downloaded  Flash Builder 4.6 trial version and followed the example. I have also copied the source code from the example and pasted that into the file mymodestmap.mxml.
    In both cases the application opens a new page in Google Chrome but does not display any map data.
    No errors or warnings are displayed when I run the code from Flash Builder.
    Although I have got plenty of experience of writing software, I am a total beginner when it comes to developing web applications!
    Any ideas as to what I am doing wrong, I have attached the source below.
    Cheers
    Steve
    <?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:mx1="library://ns.adobe.com/flex/halo"
                                     minWidth="1024" minHeight="768" creationComplete="init()" viewSourceURL="srcview/index.html" xmlns:mx="library://ns.adobe.com/flex/mx">
              <fx:Script>
                        <![CDATA[
                                  import mx.core.UIComponent;
                                  import com.modestmaps.TweenMap;   
                                  import com.modestmaps.mapproviders.OpenStreetMapProvider;
                                  import com.modestmaps.geo.Location;
                                  import com.modestmaps.extras.ZoomSlider;
                                  import com.modestmaps.extras.HandCursor; 
                                  [Bindable]private var _map:TweenMap;       
                                  private var _mapUI:UIComponent;
                                  [Bindable]private var _initialLat:Number = 40.668903;
                                  [Bindable]private var _initialLong:Number = -111.680145;
                                  [Bindable]private var _initialZoom:Number = 6;
                                  private var _mouseWheelZoomCenter:Location;
                                  private var _mouseWheelZoom:int;     
                                  private function init():void
                                            _map = new TweenMap(mappanel.width, mappanel.height, true, new OpenStreetMapProvider());   
                                            _map.setCenterZoom(new Location(_initialLat, _initialLong), _initialZoom);
                                            mapCore();
                                  private function mapCore():void
                                            _map.addEventListener(MouseEvent.MOUSE_WHEEL, mouseWheelHandler);   
                                            _mapUI = new UIComponent();
                                            _mapUI.addChild(_map);    
                                            var zoomslider:ZoomSlider = new ZoomSlider(_map);
                                            zoomslider.x = mappanel.width - zoomslider.width*2;
                                            zoomslider.y = 30;
                                            _mapUI.addChild(zoomslider);   
                                            var handcursor:HandCursor = new HandCursor(_map);
                                            _mapUI.addChild(handcursor);
                                            mappanel.addElement(_mapUI);   
                                  private function mouseWheelHandler(e:MouseEvent):void {
                                            if (e.delta < 0) {
                                                      _map.zoomOut();
                                            else if (e.delta > 0) {
                                                      _map.zoomIn();
                                            _mouseWheelZoomCenter = _map.getCenter();
                                            _mouseWheelZoom = _map.getZoom();
                        ]]>
              </fx:Script>
              <s:BorderContainer id="mappanel" width="100%" height="97%"/>
    </s:Application>

    Technically, it's Javascript, not Java :) TOTALLY different beasts. I wish they'd never named it Javascript, it's ambiguous. So anyway, on to the point of the whole thing...
    If you want quotes in your values, you'll need to write a function to replace " with \", and pass the values through it. So instead of javascript:passBack('#ENAME#','#JOB#','#SAL#'); you would have javascript:passBack(addslashes('#ENAME#'),addslashes('#JOB#'),addslashes('#SAL#'));. That would mean that ABC"DEF"GH would be passed to the function as ABC\"DEF\"GH and your quotes would stay intact. Search around on the internet for more specifics as to how to pass double quotes in javascript by using backslashes.
    ~Jer

  • Yahoo maps QT w/ question mark

    I have QT Pro v 7.2. No problem viewing web movies, movie trailers. But, when I go to Yahoo maps, I get a mostly blank page with a large Quicktime 'Q' with a question mark on it. What am I missing? I just got this iMac, and upgraded to the latest QT Pro version. I migrated from my PPC G4, and I am wondering if there are still some plugins that I am missing or that need to be 'fixed' for Intel Macs. I sometimes get a message that asks if I want to enable some part of Quicktime when I am looking at websites, but for Yahoo maps there was no option to alter anything. This occurred on both Safari and Firefox.
    What do I need to do/get/delete to fix this problem?

    I have a G4 and system 10.4.10 and everything was working great until I bought ilife and added Quicktime 7.2. I have Flash 9 and have downloaded the 7.2 compatibility software and have even reinstalled the system software, but to no avail. I get the question mark in every browser and every video. I can open
    Quicktime and open a movie, but I have no video in any browser or any website that
    has a video. I'm really really frustrated. Can anyone help?
    Andy

  • Yahoo Maps in MapViewer ?

    Hi,
    are there any plans to integrate Yahoo Maps in a later version of Oracle Maps again?
    Regards,
    Friedhold

    Thank you for the information.
    Last year I saw a NAVTEQ car in South-East of Germany (this) and
    was able to speak with the driver and since I know that NAVTEQ belongs to Nokia.
    Best Regards,
    Friedhold

  • Problem with Yahoo Maps..."Error Opening URL..."

    I am trying to use a yahoo Action Script 2.0 map to display real estate listings from an xml file. I often receive the following output error, which prevents the entire yahoo map from opening:
    Error opening  URL  ‘http://maps.yahooapis.com/xml/apiconfig.xml?r=988’ (the last 3 digits are random and change each time the problem occurs)
    I have searched the internet for a solution and cannot find one.
    I have emailed yahoo, who has not responded, as well as other people who have had the problem, but they cannot remember what they did to solve it.
    Please help!

    No, I'm not doing anything to handle security issues.
    What I have done is downloaded all the .as files that yahoo uses for their maps (from http://modestmaps.mapstraction.com/trac/browser/trunk/reference/YahooMaps/com/yahoo/maps?r ev=6), including the xml file (http://maps.yahooapis.com/xml/apiconfig.xml).
    What I am thinking, correct me if I'm wrong, if I go through all the class files and change their names from "com.yahoo.maps.insertscriptname1.as" to something defining my own server (ie. mikeraydesign.maps.insertscriptname1.as), and point to the xml file from the one .as file that points to the one with the security issue, this might work.
    I don't know if it will, but I don't think it can hurt.  What do you think?
    Regardless, lets say I put all the files into my own folder on my server, (ie. www.mikeraydesign.ca/maps/), how would I go about importing those scripts from my fla?  The fla needs to import 4 initial classes, which then point to all the others (in the link I have above).  How do you point to online class files?  Would this even work?
    Thoughts?

  • How to integrate Bing Map on Flex

    Hi,
    I am developing an application where it  requires Bing map to be integratied with flex application, So Is there any API  available in Flex to Integrated Bing map on flex?. or if not from where i can download API for Bing Map.
    Thanks,
    Kumar

    I only worked with Umap (umapper.com) It embeds Bing among other maps.It is
    quite flexible and they offer a free basic version...
    C

  • Error in executing a process for Flex compilation ....exceeds 32K...

    Hi,
    deployin my model i get the following error-message.
    "Error in executing a process for Flex compilation, Error: Branch between 64935 and 97770 around line 0 exceeds 32K span. If possible, please refactor this component.
    Error: Branch between 64935 and 97770 around line 0 exceeds 32K span."
    Do i delete a sort-element from my model it is deployed very well. So what does this message exactly mean and how can I locate where the error occurs and how can i fix that problem because i need this sort-element to be in my model.
    Thanks for your help!
    Tobias

    Hi Tobias,
    You are receiving this error due to a current limitation in the Flex server. How you can fix this is to split the iView you are currently working on into two iViews, and embed one within the other. This will decrease the size of the current iView you are receiving the error for and eliminate this problem.
    Hope this helps
    Cheers,
    Scott

Maybe you are looking for

  • How do I report a fault if my phone is not working...

    How do I report a fault if my land line phone is not working? The BT website seems to assume that at the very least the broadband line is working but this is often not the case. Please could you make it crystal clear what phone number to call to repo

  • Datagrid: Custom Itemrenderer

    Hello, my Datagrid consists of a variable number of columns that are handled by the same Itemrenderer. Now I have the problem that I can't find out which column I belong to when I am in the override set data function. Any hints how i can back track t

  • Can't delete calendar default reminder

    I am having trouble with the google calendar since upgrading to lollipop. In settings I can change the default reminder to none, but every time I put a new entry in there's always a reminder time that I can't delete. I don't need a reminder for all m

  • My shortcut not working in Mac Office 2011

    Hi all, As attched pic, I don't have the shortcut description on right in my mac office 2011. It makes me can't copy or paste at all, even can't do the "select all"...etc. It bothers me awhile, hop someone familiar the setting for Mac Office 2011 can

  • Slideshow - player controls, fwd, rew, pause

    Wondering why the transport buttons (rew, fwd, pause) on DVD machine don't work with discs created by iDVD? I've tried putting the disc in different players, still can't pause on any of my photos. Also tried checking the box for 'display during slide