Yahoo! Maps prevent module from loading!?

Hi All,
I'm trying to implement a map control in Flex 4, and thought Yahoo! Maps would be a good place to start (please do suggest a better alternative, if you know one).
I have my map control in a module. The module load fine without the Yahoo map being declared, however, when I add the map variable it doesn't load. Here is the code:
<?xml version="1.0" encoding="utf-8"?>
<mx:Module
     xmlns:fx="http://ns.adobe.com/mxml/2009"
     xmlns:s="library://ns.adobe.com/flex/spark"
     xmlns:mx="library://ns.adobe.com/flex/mx" layout="absolute"
     width="100%" height="600" cornerRadius="10"
>
     <mx:states>
     </mx:states>
     <fx:Declarations>
     </fx:Declarations>
     <fx:Script>
          <![CDATA[
               import com.yahoo.maps.api.YahooMap;
               import mx.events.FlexEvent;
               private var map:YahooMap; //comment this line out, and the module loads fine
/*               private var mapId:String = "xxxxxx";
               private function mdl_jobs_creationCompleteHandler(event:FlexEvent):void
                    this.map = new YahooMap();
                    this.map.init(this.mapId, 100, 100);
                    this.ui_container.addChild(map);
          ]]>
     </fx:Script>
     <s:Label text="test" />
     <s:BorderContainer id="ui_container" width="100%" height="100%">
     </s:BorderContainer>
</mx:Module>
Any suggestions?
Thanks!

Here's something that may prove useful to helping solve this problem:
I downloaded the source for ModestMaps and used it instead of the pre-compiled SWF file, and it worked! This tells me there is something amiss with the way SWF are treated in my project (I added them to the libs folder in my project).
Any ideas on what needs to be done to fix that?
Thanks!

Similar Messages

  • How to prevent images from loading?

    I am working on creating a web gallery in Dreamweaver CS3.  The thumbnails are in a horizontal strip within a layer above the full sized image layer, in other words the strip is  hiding part of the image, but only when the image is in a vertical orientation. (the strip has no background, so all that is visible are the actual thumbnails) Upon clicking show/hide text , in a toggle configuration, the strip fades, or shows.   On my computer it works perfectly. However, once uploaded, it takes forever to load the images.
    The problem: Although I have the thumbnail images are set to preload,  all of the full size images are loading as well, which takes alot of time. Is there a way to prevent the full sized images from loading, i.e. only when the thumbnail is clicked?
    Frames, in which one frame is thumbnails, and another the is images, is what I normally would use, and have a page for each image. However, for what I have in mind, it will not work (transparency on parts of one frame above another is as far as I can tell not possible).
    So how do I prevent images from loading until called for?  regards~bill-o

    t would help if you posted a link to the page, but I can guess that you have properly diagnosed the cause - the page is encumbered with the weight of all of the full-sized images.
    The only way to not have this happen would be to dynamically write the link to the full sized-images on demand, as it were.  In other words, the link ISN'T EVEN ON THE PAGE until you have clicked on the corresponding thumbnail, and only at that point is the weight of that image experienced.  One easy way to do this is to use the SetText of Container behavior that is part of DW's native arsenal of behaviors.  When the thumb is clicked, the SetText behavior is called to write the image link into the enlarged image's container. Need to see a demo?  Look here -
    http://dreamweaverresources.com/tutorials/settextoflayer.htm
    The behavior is called "Set Text of Container", and using it will meet all of your requirements.
    To use it, you will have to have the following:
    1.  A page with a 'container' which is to receive the enlarged image - this could be a table cell, a paragraph tag, a div, or even a span tag.
    2.  That container will have to be identified with an ID attribute and a valid value, e.g., <div id="enlargedImage">.
    3.  A dummy page containing each enlarged image, placed sequentially on the page.
    To implement the effect, do the following:
    1.  Open the dummy page in Code view, and select the first image's tag, e.g., <img src="images/foo.jpg" width="123" height="256" alt="whatever" /> (XHTML syntax shown here).
    2.  Switch to the actual page, select a thumb that will 'open' this enlarged image, and enter "javascript:;" (that's colon semicolon) in the 'Link' field of the Property inspector to make this thumbnail image a null link.
    3.  Apply the Set Text of Container behavior.
    4.  Paste the clipboard into the dialog for the behavior, and click OK to close the dialog.
    5.  Examine the Behavior panel to see which mouse event has been defaulted - probably 'onclick'.  If you would rather have this be 'onmouseover' use the Behavior panel Event selector (the dark triangle to the right of the event name) to select 'onmouseover'.
    5.  Repeat from #1 above until all thumbs have been treated.
    Let us know if this does not make sense

  • How do prevent firefox from loading(going to) a website(following a link, etc...) that i never want to see again(example: choose now & click on some link in the future)?

    I go to a website(link, etc...) & I never want to go there again, but sometime(anytime) later I come across some page that seems to be useful. I click on a link, and the other required links until I find that it is a waste of time & I then kind of remember having been there in the past & have wasted all this time again. This happening for many different sites over time.
    How do I prevent firefox from loading(going to) all websites that I choose to go to when I have in the(distant) past decided that I never wish to return to: block websites with message saying that I blocked it?

    Hello Cen.
    You need to find an extension that blocks certain sites. I am certain there are many. Search over at [http://addons.mozilla.org addons.mozilla.org].
    I hope you find it.
    If you need help, just ask.

  • Errors preventing X from loading

    When i run startx, I receive two errors, which read:
    (EE) Failed to load module "speedo" (module does not exist, 0)
    (EE) AIGLX: Screen O is not DRI capable
    as best I recall, AIGLX is for ATI cards, and setting vesa to be the driver should prevent this from being an issue, which i tried.
    I have no clue what speedo is, and i've searched here and on the rest of the al's great internet, and am yet to find what this is. I searched X.org an's wiki and got zero hits. How can that even be possible?
    Im just trying to get X to work. Any suggestions will be appreciated and tried.
    Miesnerd

    Hey there!
    Well, although I can't remember having heard of the module "speedo" so far, I would try the following:
    It it likely that X is trying to load this module because it finds a load command in the config file.
    Open /etc/X11/xorg.conf in your favourite editor and look for a section called Module (Section "Module").
    If there is a line in this section looking similar to Load "speedo", try to comment this line out.
    (This is done with the '#' character (#Load "speedo").
    Then try to restart the X server and look what happens. Because X is throwing another error with AIGLX it may be necessary to comment this line out, too (something like #Load "aiglx" or so).
    Hope this helped a bit.
    Cheers,
    mfa

  • Is there a way to prevent Mail from loading non system fonts?

    For over a year, and a system OS upgrade, Mail has been taking 7 - 10 minutes to load all the thousands of fonts I have on my computer for graphic design. This started with Snow Leopard on my 2009 Mac Pro (10 GB RAM, 2 TB HDD). At first I didn't know why the computer was taking such a long time to finish boot up. So I reformatted the drive--zeroing it out. Then I installed Mavericks and reinstalled everything else. Finally I tried logging the system activity during startup and noticed that something to do with fonts took up the biggest chunk of this time. Because Mavericks loads any programs you leave running at shut down, I saw that if Mail had the fonts window open, the list of fonts would slowly grow, filling up with the many font families I use for my work. I called tech support for my font management utility but they say the fonts are not in the system and and shouldn't affect the system during startup. In the end I gave up and just go drink a few coffees after hitting the start button. It's like going back to the early days 25 years ago.
    Can I stop Mail from loading any non-system fonts? I never use anything but the default font.

    Hey SchenkerBob,
    It is possible to disable non-system fonts temporarily for all applications using the Font Book application. This article explains how to do so -
    Mac Basics: Font Book - Apple Support
    In particular -
    Disable and enable specific fonts
    In situations where you'd like to prevent a font from being available in applications, but you don't want to completely remove the font from your Mac, you can use Font Book to disable the font.
    In Font Book, click "All Fonts" in the Collection column.
    Click the name of the font in the Font column.
    Choose Disable "Font Name" Family from the Edit menu.
    Since it might be problematic to have to disable each font individually, you can create a collection of fonts and disable the collection. See the article for how to create a font collection -
    Organize fonts as collections
    When working with fonts, you may discover that you use certain fonts frequently, but rarely use others. To make it easier to find the font you are looking for, you can organize your fonts into collections.
    From the Font Book File menu, choose New Collection.
    Type in a name for the new collection.
    Click "All Fonts" in the Collection column.
    Drag the fonts that you want from the Font column onto the name of your new collection in the Collection column.
    You can then disable collections of fonts -
    You can also disable or enable all fonts in a collection: Click the name of the collection in the Collection column, then choose Disable "Collection Name" or EnableCollection Name" " from the Edit menu. 
    Thanks for using Apple Support Communities.
    Happy computing,
    Brett L 

  • Firefox is preventing Java from loading Pogo games which require it

    I have just updated to the latest Firefox and now java is being prevented from loading Pogo games which require it. I have unchecked the block popups box and enabled java script but each time I try to load I get a message on the java concol saying permission denied. I went to IE8 (yuck) and the game loaded fine.
    Help please.

    For as much as I spend on membership there I don't need these problems... I DIDN'T update my FF it happened automatically which * me off since i like to wait until all the bugs are gone...
    ''edited for language - TonyE''

  • How prevent movie from loading completely before playing?

    Hi,
    how do I prevent an swf from loading completely before
    starting to play in the browser? When simulating a download in the
    Flash application, several preload stages work perfectly, but not
    in the browser. Preload stages don't appear, instead it takes ages
    for the 3.5 mb file to completely load before displaying the first
    frame of the movie.
    I have tried inversing the load order in export settings and
    different flash versions, but just can't get it to work.
    Can someone help? Thank you!

    hi kglad
    I thought it should be that way; the point is that I don't
    want to add code that loads the entire movie before starting to
    play the first frame, but only a certain number of frames (i.e. 11
    out of 35, for example). I'm trying to do this with this code in
    the first frame:
    ifFrameLoaded (11) {
    gotoAndPlay("start");
    in the simulation, it works perfectly, but when uploading the
    movie and viewing it in html, the entire thing loads, and the
    preloader doesn't appear.
    Many thanks for your help.

  • BUG: IE11, windows 8.1 enhanced protected mode prevents pages from loading. Slow browsing experiece

    if enhanced protected mode is enabled in IE11 on windows 8.1 it prevents many pages from loading in a timely manner.
    eg. TechNet.microsoft.com; dotnetcurry.com
    this is reproducible on multiple machines.
    please resolve.

    Hi,
    Based on my test, it works fine on my windows 8.1 with IE 11.
    Firstly, we need to check the following:
    1.  Do you mean the issue is only occurred when you enable the enhanced protected mode?
    2.  How about other browsers? Do they also meet the same issue?
    3.  If there is a computer on the other network, please check if it also meets this issue.
    Please try the following to check the issue:
    1. Disable the security software temporarily and see if it works.
    2.  Reinstall the IE 11 for a test.
    How to reinstall or repair Internet Explorer in Windows 7, Windows Vista, and Windows XP
    http://support.microsoft.com/kb/318378/en-us
    As Real McCoy mentioned,  the recording can be used to quickly identify problems and help reduce time spent with the help desk.
    Please upload “Problem.zip” to SkyDrive (http://www.skydrive.live.com/) and share its URL with us.
    More information about Problem Steps Recorder:
    Problem Steps Recorder
    http://technet.microsoft.com/en-us/windows/dd320286.aspx
    Hope it helps.
    Regards,
    Blair Deng
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • Disable every single web fonts in adobe muse and prevent it from loading open-sans:n3:all.js

    I'm using Adobe Muse 2014.2 to build a Chinese site. The audience of the site is mainly people in mainland china, and I'm using a server from Hong Kong. Recently I just tested the site, however, it was loading extremely slow. In the end I found out that the cause of the slow loading was due to a file called "open-sans:n3:all.js" that was loaded from adobe webfonts.
    Because a lot of sites are blocked in China, I think that Adobe Web Fonts (or typekit) is also blocked thus can't be loaded properly, causing the entire site to slow down.
    Is there a way to disable all the webfonts in Muse and to prevent my site from loading this file?
    Or is there a way I can host this file on my own server?
    Thanks in advance.

    This was a snapshot that my friend in China sent to me. You can see that the open-sans:n3:all.js is taking extremely long to load.
    Yet the funny thing is that I did not use any web fonts in my site. However Muse is still adding it in the code for some reason.

  • Prevent catalog from loading from memory

    Hi experts!
    I am working on B2B scenario with ERP backend and NO TREX.
    I would like to prevent the catalog from loading from memory when the user logs in.
    How can i achieve this????
    Thank you all!!

    Hi Pradeep,
    i changed the value to -1 . And now in catalog cache statistics i see the following:
    Configured expiration time: -60 min
    Configured removal time: -60 min (next invalidation in -73 min)
    Next check of remaining life time in 46 min (removal of catalogs with life time <= 0).
    But still if another user logs in (2nd login) catalog is not read from ERP.
    Is there any class i can enhance so that cache is never read?????
    In R3MemCatalogBuilder class i see the code below: From my understanding it checks if there is catalog in memory and if not it connects to ERP. I have only extended Order Class so far and i do not understand how to extend this specific class.. Where should i register it???
    Please help!!
    Thank you in advance!!
         try {
                   if (catalogTree != null) {
                        return catalogTree;
                   //retrieve R/3 specific backend data
                   R3BackendData backendData = ((R3CatalogServerEngine)theR3Catalog.getServerEngine()).getBackendData();
                   //determine the cache key
                   String configurationKey = backendData.getConfigKey();
                   String catalogAndVariant = theR3Catalog.getName() + theR3Catalog.getVariant();
                   String key = configurationKey + catalogAndVariant;
                   //if (log.isDebugEnabled()) {
                   //     log.debug("getCatalogTree started, cache key is: " + key);
                   //now check the cache
                   //use catalog cache, so (temporarily) all references to system cache are commented out
    if (access.get(key) != null) {
    if (log.isDebugEnabled()) {
    log.debug("catalog already exists in cache");
    catalogTree = (CatalogTree) access.get(key);
    return catalogTree;
    else {
    the catalog tree does not exist
    if (log.isDebugEnabled()) {
    log.debug("creating the catalog tree");
    catalogTree = createCatalog(jcoCon,
    backendData,
    theR3Catalog.getName() + " " + theR3Catalog.getVariant());
    now put the new catalog into the cache
    try {
    access.put(key, catalogTree);
    catch (Cache.ObjectExistsException ex) {
    this is not possible,method is synchronized
    log.debug("synchronization problem");
    throw new CatalogBuildFailedException(ex.getMessage());
    catch (Cache.Exception ex) {
    this is not possible since an exception is thrown
    before if the cache wasn't ready, see constructor
    log.debug("cache exception");
    throw new CatalogBuildFailedException(ex.getMessage());
                   catalogTree = createCatalog(jcoCon,
                             backendData,
                             theR3Catalog.getName() + RFCConstants.CATALOG_GUID_SEPARATOR + theR3Catalog.getVariant());
                   return catalogTree;
              catch (Exception ex) {
                   log.debug("exception caught: \n", ex);
                   throw new CatalogBuildFailedException(ex.getMessage());
              finally {
                   jcoCon.close();

  • How do I prevent firefox from loading page when I type in first few letters?

    I am giving my laptop to my daughter. I deleted history and emptied cache. Yet if she were to type the letter 'c', an adult site I have visited pops up - WITH MY USERNAME AND PASSWORD ALREADY TYPED IN! This gives her full access to my adult activity on the site.
    How do I prevent this from happening? I want to totally remove this site from firefox's 'memory', especially the username and password.

    To log you out of all websites your gonna want to clear the cookies:
    * Firefox in top left corner > Options > Privacy > Show Cookies >Remove all Cookies
    I would also recommend resetting Firefox if you are no longer gonna use it yourself :
    * Firefox in top left corner>Help>Troubleshooting Information>Reset Firefox
    See here for more information:
    [[Reset Firefox – easily fix most problems]]
    [[Delete cookies to remove the information websites have stored on your computer]]

  • Possible to prevent Firefox from loading two versions of Flash, without disabling PLID scan?

    Our IT department—what a great way to start a question—does not roll out regular updates for Flash. To bridge this security gap for Firefox on my work computer, I copy the following files:
    * flashplayer.xpt
    * FlashPlayerPlugin_<version>.exe
    * FlashUtil32_<version>_Plugin.exe
    * NPSWF32_<version>.dll
    from C:\Windows\System32\Macromed\Flash on another machine and paste them to
    C:\Users\<myusername>\AppData\Roaming\Mozilla\Plugins on my work machine. When Firefox starts, it scans the various locations (http://kb.mozillazine.org/Plugin_scanning) and finds both this version and of course the outdated version originally installed, which IT does not update (currently 11.1.102.55). This effectively updates Flash, and until IT finds a solution to distribute updates I'll have to continue to update Flash manually (Java is unfortunately not so easy to fix), but still leaves me with a problem.
    My perceived problem is that Firefox still scans the default installation directory of Flash and thus finds the outdated version. Under Add-ons > Plug-ins, I can select from "Ask to Activate," "Always Activate" and "Never Activate." If I select "Ask to Activate" for the current version (12.0.0.43) and "Never Activate" for the old version (11.1.102.55), upon restarting Firefox it sets both to "Ask to Activate." I conclude that Firefox does not treat separate Flash versions independently. Since constantly being prompted to activate Flash is bothersome, I could just set both to "Always Activate," but that leaves an old, even-more-compromised-than-the-current version of Flash activated.
    The best solution, I suppose, would be to uninstall the outdated version of Flash, but I don't have the administrative rights to do so, and don't want to pester our IT administrators. I could prevent Firefox from scanning the directories specified in the Windows registry for PLIDs (see above link), but this would prevent it from finding my also-outdated-but-only-installed Java Plug-In, which I keep thinking I need. The behavior I'm after is to prevent Firefox from scanning or finding the old Flash version, while still finding my Java Plug-in. How could I go about this?
    Thanks

    Maybe you can check the pluginreg.dat file to see if you can disable/remove the other Flash plugin and make the file read-only to prevent changes.
    You can use this button to go to the Firefox profile folder:
    *Help > Troubleshooting Information > Profile Directory: Show Folder (Linux: Open Directory; Mac: Show in Finder)
    *http://kb.mozillazine.org/Profile_folder_-_Firefox
    *http://kb.mozillazine.org/Issues_related_to_plugins

  • Prevent images from loading

    Is there anyway I could stop images from loading unless I ask safari to load them? There is a feature like this in apple's mail program that I use and would like to use it in safari also. I'm so tired of seeing advertisments with half-naked women and other perverted things as well.
    thanks

    Ah, man, I looked there too, yes you're correct..Yay
    thanks

  • Is there a way to prevent pages from loading slowly or not loading at all?

    pages load extremely fast at first and its great but after a few min fire fox does not load or loads extremely slowly. there is only one way to get it to load and that is by opening and then closing a new tab.

    Hey SchenkerBob,
    It is possible to disable non-system fonts temporarily for all applications using the Font Book application. This article explains how to do so -
    Mac Basics: Font Book - Apple Support
    In particular -
    Disable and enable specific fonts
    In situations where you'd like to prevent a font from being available in applications, but you don't want to completely remove the font from your Mac, you can use Font Book to disable the font.
    In Font Book, click "All Fonts" in the Collection column.
    Click the name of the font in the Font column.
    Choose Disable "Font Name" Family from the Edit menu.
    Since it might be problematic to have to disable each font individually, you can create a collection of fonts and disable the collection. See the article for how to create a font collection -
    Organize fonts as collections
    When working with fonts, you may discover that you use certain fonts frequently, but rarely use others. To make it easier to find the font you are looking for, you can organize your fonts into collections.
    From the Font Book File menu, choose New Collection.
    Type in a name for the new collection.
    Click "All Fonts" in the Collection column.
    Drag the fonts that you want from the Font column onto the name of your new collection in the Collection column.
    You can then disable collections of fonts -
    You can also disable or enable all fonts in a collection: Click the name of the collection in the Collection column, then choose Disable "Collection Name" or EnableCollection Name" " from the Edit menu. 
    Thanks for using Apple Support Communities.
    Happy computing,
    Brett L 

  • Prevent footer from loading froma flat file

    I am using SQL loader to load data from a flat file.
    I want to remove footer/trailer records from being loaded
    I am on oracle 11g.
    Please suggest

    Pl do not post duplicates - Loading a falt file into table using sqlloader
    Skipping header and footer records of source file

Maybe you are looking for

  • Extractor For VENDOR Blocked Invoices

    I have a requirement to create a report for Vendor aging report for Blocked invoices for which I need to do data modelling first. My questions are as follows 1) I found extractor 0FI_AP_4 for Vendor Line items. but I need following fields who blocked

  • Can't send document to Apple Mail after upgrading to Maverick

    Hello, When I in iWork '09 try to send a document to Apple Mail as an attachment, I get an error message that says  "iWork encountered an error while attempting to create the attachment data", I get the same message wether I select "Pages", "Word" or

  • PowerBook G4 Install Issue - Still waiting for root device

    Hello Everyone and thank you for reading this post. I have a last generation PowerBook G4 which I wanted to give to a family member since I've upgraded to a newer MacBook Pro. I started by wiping the hard drive on the PB (in Target Disk Mode) using t

  • How to write data on to a location other than desktop or application server

    Hi all,         I already posted this question.But  i didn't get exact answer Can anyone explain that how to write data on to a share drive located on other Nonsap server.Please I dont want to FTP the file.I dont want that solution.I need to write di

  • I want to upgarde indesign CS5 to CS6. Please help.

    I'm working with CS5 and want to update my Indesign to CS6. How can I buy the upgrade, without buying the whole CS6. So I only need an upgrade from Indesign CS5 to CS6. Please help.