Interactive, rotating globe - button problems

I made an interactive rotating globe that shows all the continents (using CS3 and AS3). The globe rotates automatically. When the user mouses over the globe is stops rotating and they can use left/right arrows to rotate it manually to get to a continent. When the mouse rolls over a continent (Australia for instance) it changes color and should be clickable and go to a website but it's not working. It doesn't return any errors.
The basic structure of it is this:
One big continent map (basically a flat world map) with a motion tween applied to it so it looks like it's moving across the planet in the background. That's in "globe_mc" on the main timeline. Then I did the same thing in a different movie clip with the buttons (moving across the planet in sync with their respective continent), that's in "buttons_mc" on the main timeline.
The button worked until I applied the mouse controls to "buttons_mc" in the main timeline AS (to make them stop moving with the continents with the mouse is over the planet). After I did that it stopped working (I'm just working with "test_btn" right now until it works).
The code for the button, inside "buttons_mc" is the following:
//test btn
function testBtn(event:MouseEvent):void
          navigateToURL(new URLRequest("http://www.pmirope.com"));
test_btn.addEventListener(MouseEvent.CLICK, testBtn;
//end test btn
This is the code I have on the main timeline to control the rotation based on the mouse position:
addEventListener(Event.ENTER_FRAME, scroll_function);
function scroll_function(event:Event):void
//Both Nav Arrow's Y Position
      if(root.mouseY>470 && root.mouseY<530)
//Right Arrow's X Position
      if (root.mouseX>50 && root.mouseX<75)
                 globe_mc.land_mc.gotoAndStop(globe_mc.land_mc.currentFrame-1);
                 buttons_mc.gotoAndStop(buttons_mc.currentFrame-1);
      else
                 globe_mc.land_mc.play();
                 buttons_mc.play();
//Left Arrow's X Position
      if (root.mouseX>925 && root.mouseX<950)
                 globe_mc.land_mc.gotoAndStop(globe_mc.land_mc.currentFrame+1);
                 buttons_mc.gotoAndStop(buttons_mc.currentFrame+1);
      else
                 globe_mc.land_mc.play();
                 buttons_mc.play();
//Globe's Position
      if(root.mouseY<950 && root.mouseY>50)
      if(root.mouseX<950 && root.mouseX>50)
                 globe_mc.land_mc.stop();
                 buttons_mc.stop();
      else
                 globe_mc.land_mc.play();
                 buttons_mc.play();
I'm guessing that the button's code is being canceled out by the "position" code but I don't know how to fix it.
Please help!!!

First, to answer your question, they do change color and it's done with the up, over and down states inside the button. So when you rollover the button it changes color and the mouse changes to the hand to show it's clickable but when it's clicked nothing happens.
I did figure out a way to do it, but I'm not sure why it works. As I said before, I had the buttons_mc and the globe_mc on the main timeline. I put the buttons_mc inside two other MovieClips and then put the actual buttons on the stage - like this:
Main Timeline
     globe_mc
     buttonsMain_mc
          buttonsInside_mc
               buttons_mc
                    US_btn
                    Canada_btn
                    Australia_btn
                   and so on....
I tried putting buttons_mc inside only 1 MovieClip (buttonsMain_mc) but it still didn't work. I had to add buttonsInside_mc for it to work. Why is that?
Thanks for the help!

Similar Messages

  • Exporting a pdf in indesign CS5 interactive portfolio, the buttons dont work?

    interactive PDF using Indesign, Export problems
    im working on an interactive portfolio, its got 6 pages and four of them have buttons which scroll through alternative images which relate to that page. All very simple stuff. as far as im aware its all set up properly and in preview its working like a dream. As soon as i export > adobe pdf (interactive) > i tick buttons and media Include All  but when i open the finished pdf i wont let me use the buttons. they are acknowledged by the fact that when i hoover over them there is a tin black box that apears but the actual button its self wont work.
    if anyone knows how to export such a file so i can share with people as an interactive portfolio i would be most grateful. thanx

    Or, better than that, export the PDF from InDesign as PDF/X-4!
    By default, Acrobat and Reader use overprint preview when displaying PDF/X-4 files. Plus you have the benefit of full color management and not having transparency ruined by premature flattening.
    One other note. Other than for the fairly common practice of overprinting black text over colors to avoid halo effects due to registration, one should be exceptionally careful in using overprint. Trapping, the other good, justifiable use for overprint is really best performed by the RIP. Most modern RIPs provide for automatic trapping. Overprint should absolutely not be used as a “poor man's transparency,” especially in conjuction with spot colors. With the advent of real transparency in the Adobe imaging model and hence in Illustrator, InDesign, and PDF, there is no good reason to use overprint hacks anymore to simulate transparency.
              - Dov

  • My icon "globe" button cleared from my keyboard when I reset and don't know how I got it in the first place

    didn't realize that a keyboard lock button was added to the draw down window on the front of the phone and inadvertently hit it, turning off my keyboard rotation.  before I got someone who knew about the keyboard lock button, I goat a moron who told me to reset the whole frickin phone so now am in the process of redoing 8 months of phone prefference settings.  is the "globe" button for the long range and pages of icnographs an app?  I don't remember how we got it and neither does my wife

    Musicman,
    Settings>General>Keyboard>Keyboards>Add New Keyboard>Emoji.

  • Caller screen Buttons problem Z10STL100-1

    I have Z10STL100-1 after official update Z10STL100-1/10.3.1.1565 having caller screen Buttons problem these are little above not like it's on 10.2 very below position. I security wipe and restart many times still same position of buttons? See pic attached

    Hello,
    Did you check if there are no objects on that index slide that have a fading transition? You should set the transition for every object to 'No transition'. The transition can be found in the Properties dialog, tab Options.
    Lilybiri

  • S230u reinstallation and auto-rotate lock button

    Some time ago (after switching to SSD) I reinstalled Windows 8 and upgraded to 8.1. I have made a fresh installation as I could not get the image copying from HDD to SSD to work properly.
    The OS has been working great so far, but the one thing I am really missing is the auto-rotate lock button next to the power button. It does not work at all and never has.
    I do have the System Update 5 software for installing packages from Lenovo and have installed all of the drivers it recommended except for Password Manager and IRST which I do not need.
    I have also manually installed the 'Hotkey Features Integration for Windows 8.1 (32-bit, 64-bit) - ThinkPad' package which I expected to be the thing I was missing.
    Is there any additional software that I should install or something that I should enable to get the functionality?
    I know Windows+O does the same thing, but when you are in tablet mode that key is not that handy.

    Hi Wojciechka,
    Welcome to Lenovo Community!
    As per the query, we understood that you are facing issue with auto rotate lock button on your ThinkPad S230u.
    We have a solution for this issue, please visit the below link and follow the steps provided in that.
    https://forums.lenovo.com/t5/S-Series-ThinkPads-ThinkPad-Yoga/ThinkPad-Twist-s230u-Auto-rotate-is-no...
    Hope this helps.
    Best regards,
    Hemanth Kumar
    Did someone help you today? Press the star on the left to thank them with a Kudo!
    If you find a post helpful and it answers your question, please mark it as an "Accepted Solution"! This will help the rest of the Community with similar issues identify the verified solution and benefit from it.
    Follow @LenovoForums on Twitter!

  • Description: A problem caused this program to stop interacting with Windows. Problem signature: Problem Event Name: AppHangB1 Application Name: firefox.exe Application Version: 1.9.2.3855 Application Timestamp: 4c48d5ce Hang Signature: 9962

    I am having this problem, in the first window when I try to do anything.
    Description:
    A problem caused this program to stop interacting with Windows.
    Problem signature:
    Problem Event Name: AppHangB1
    Application Name: firefox.exe
    Application Version: 1.9.2.3855
    Application Timestamp: 4c48d5ce
    Hang Signature: 9962
    Hang Type: 0
    OS Version: 6.0.6002.2.2.0.768.3
    Locale ID: 1033
    Additional Hang Signature 1: 5df72ce88195c0212c542e9c8c172716
    Additional Hang Signature 2: 2b94
    Additional Hang Signature 3: 9acafbb8ad01bf9d2eb258d8fddad3ca
    Additional Hang Signature 4: 9962
    Additional Hang Signature 5: 5df72ce88195c0212c542e9c8c172716
    Additional Hang Signature 6: 2b94
    Additional Hang Signature 7: 9acafbb8ad01bf9d2eb258d8fddad3ca
    == This happened ==
    Every time Firefox opened
    == User Agent ==
    Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US) AppleWebKit/533.4 (KHTML, like Gecko) Chrome/5.0.375.99 Safari/533.4

    I suspect a RAM or hardware problem.

  • Apart from the lock button problem in iphone 5 the display brightness suddenly goes blank and becomes normal after locking and unlocking the iphone. The Apple service centre in India is denying to service the iphone as it was purchase in USA even thoug it

    Apart from the lock button problem in iphone 5 the display brightness suddenly goes blank and becomes normal after locking and unlocking the iphone. The Apple service centre in India is denying to service the iphone as it was purchase in USA even though the iphone is in warranty.

    iPhones do not have an international warranty.  Warranty is valid only for the country of purchase.  This is most likely because different countries require different iPhone models.  Not reasonable to expect all countries to maintain stock for all models.

  • Rotate Menu Buttons? Or at least the Text in the buttons?

    I can stretch the button left right up down, but can't rotate the button. Or can't seem to. Does anyone know how to do this?

    You can rotate Drop Zones but not text boxes (and not that level of text control)
    http://www.dvdstepbystep.com/dropzone.php
    You can try to workaround making text in Photoshop

  • No "rotate screen" button in Notebook G 700 with Windows 7, how to enable?

    Hi,
    there are no "rotate screen" buttons/options in my new Notebook Lenovo G 700 (Windows 7).
    When I go to the "Intel HD Graphics Control Panel", the "Rotation"-Option is missing.
    I read that the option maybe is disabled by the manufacturer.
    When I start the Notebook with Linux Ubuntu from an USB-Stick, rotation works fine. So the hardware works.
    The Lenovo support tells me to set the Notebook back to factory settings. I did not this yet.
    I try some tweaks in the registry, but no success.
    Any ideas how to enable "screen rotation" under Windows 7?
    I need it to rotate an external monitor.
    Thanks in advance for you help!
    Frank

    hi Frank,
    That's weird that the Intel Video Driver from the lenovo site didn't install and the one from the Intel website installed fine. Try running the setup.exe file one more time located in the c:\drivers\Intel Video Driver folder and observe (this folder also has a readme.txt file for the minimum requirements to install the driver).
    Also, you mentioned you tried some registry tweaks to enable the rotation, have you tried to enable these settings under HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class ?
    Settings:
    Display1_EnableRotation - set to 1 (dword 32bit)
    Display1_RotationCaps - set to 7 (dword 32bit)
    Relevant threads:
    Enabling rotation in Intel drivers
    Intel HD Graphics unable to rotate screen
    Regards
    Did someone help you today? Press the star on the left to thank them with a Kudo!
    If you find a post helpful and it answers your question, please mark it as an "Accepted Solution"! This will help the rest of the Community with similar issues identify the verified solution and benefit from it.
    Follow @LenovoForums on Twitter!

  • **URGENT** Scene button problem!

    Why my 'maps' and 'video' buttons do not play the movie? I use this code:
    on(release){gotoAndPlay("play");}
    I have labelled "play" in other scene, but it does not play the movie!
    I have tried this code:
    on(release){gotoAndPlay("Scene 36", "play");}
    Still, it does not work as well! I got deadline this week, so I need your help ASAP!
    I got other button problems on every scene! It's frustrating!
    Please download my flash file to look at my flash product!
    http://www.4shared.com/file/24177440...6d/Maps_1.html

    Nope it doesn't work , I got my deadline this week and if you got a spare time, would you please download my flash and check and repair it please! Only two buttons need refitting and nothing else! I asked my teachers, they tried their best and couldn't find what the problem is. I looked through other forum website, I tried the solutions and it doesn't work! I am really behind as there are many failure in my project! This is my first flash creation.

  • Naming Buttons - Problem with using Captivate 7 Buttons to Open URL or File

    After spending too much time troubleshooting a button problem, I discovered the importance of naming each item in a Captivate project.
    For some reason I have yet to figure out, publishing to SWF from Captivate causes buttons to function arbitrarily. In my case, I had eight buttons pointing to external URLs, three that worked and five that didn't. All of the buttons pointed to the same external website, only to different PDFs hosted on that site. Each button was named with the default "Button_X" convention as set by Captivate. After trying lots of different settings adjustments, On Enter and On Exit actions, and Play/Pause timings, I did what I should've done from the beginning; changed the names of the buttons.
    Why this worked? I don't know. I've seen hints on other discussions as to SWFs not working well when there are a lot of unnamed or default-named items. If there's some logic to this I would be happy to know it, but for a default setting to cause such a bizarre problem is beyond my comprehension. I could understand if I had named the buttons incorrectly, but I didn't do anything to them; I left them with the names created by default.
    Hopefully this helps someone else resolve a similar issue and, if anything, encourages everyone to follow best practices and use a clear file naming conventions for all projects.

    Hi there
    Perhaps the link below will help?
    Click here to view
    Cheers... Rick
    Helpful and Handy Links
    Captivate Wish Form/Bug Reporting Form
    Adobe Certified Captivate Training
    SorcerStone Blog
    Captivate eBooks

  • A problem caused this program to stop interacting with Windows.  Problem signature:   Problem Event Name:     AppHangB1

    I have received the following error message with Adobe Acrobat Pro XI when working with Portfolio Files. I am operating Windows 7 Professional.
    Has anyone found a fix for this issue?
    Description:
      A problem caused this program to stop interacting with Windows.
    Problem signature:
      Problem Event Name: AppHangB1
      Application Name: Acrobat.exe
      Application Version: 11.0.10.32
      Application Timestamp: 547e97af
      Hang Signature: 8dc7
      Hang Type: 0
      OS Version: 6.1.7601.2.1.0.256.48
      Locale ID: 1033
      Additional Hang Signature 1: 8dc7ed9d7ff41b8cc5ee35b7294b45e9
      Additional Hang Signature 2: e6d0
      Additional Hang Signature 3: e6d001594873a6b1363ccd82616a4edf
      Additional Hang Signature 4: 8dc7
      Additional Hang Signature 5: 8dc7ed9d7ff41b8cc5ee35b7294b45e9
      Additional Hang Signature 6: e6d0
      Additional Hang Signature 7: e6d001594873a6b1363ccd82616a4edf
    Read our privacy statement online:
      http://go.microsoft.com/fwlink/?linkid=104288&clcid=0x0409
    If the online privacy statement is not available, please read our privacy statement offline:
      C:\Windows\system32\en-US\erofflps.txt
    Please help
    John Sorkin [email protected]

    jamodi
    What computer operating system is your Premiere Elements 12 installed?
    How far into the opening of the program do you get? Do you get to the Expert or Quick workspaces?
    And, if so, how long can you stay there? What are you doing when you get this message, opening a new project
    or opening an existing one that has been saved/closed or just trying to launch the program from the desktop icon.
    Are you running the program Run As Administrator and from a User Account with Administrative Privileges?
    Do you have the McAfee antivirus program? Do you have the latest version of QuickTime installed on your computer
    with Premiere Elements 12?
    What video card/graphics card does your computer use? Have you verified at the web site of the manufacturer of the
    card that the video card/graphics card driver is up to date?
    If you do not know, check the Device Manager/Display
    Adapters to determine if you have 1 or 2 cards.
    Depending on your answers, the next step will be
    Uninstall the program the usual Control Panel way.
    (If you can get into the program long enough to go to Help Menu/Sign Out, please do that to deactivate the program
    before going to the uninstall in Control Panel area.)
    Do a run through with ccleaner (both the regular cleaner and registry cleaner parts) to get rid of leftovers from
    incomplete uninstalls and reinstalls.
    https://www.piriform.com/ccleaner
    Reinstall the program with the antivirus and firewalls disabled.
    (If you have McAfee as the antivirus, that may be problem, and we can take care of that without having to go
    through this uninstall/ccleaner/reinstall.)
    Let us start here and then decide what next.
    Thank you.
    ATR

  • Right-click-Interactive-Convert to button. menu click

    Hi,
    How would I click a menu item.  For example, I want to click right-click-Interactive-Convert to button from my plugin when the user hits ok.

    Jabanick,
    The procedure was modified for iTunes 11.  Here are the updated instructions:
    http://support.apple.com/kb/PH12367

  • K button problems

    K button problems on keyboard. Has to be pressed harder than all the other butons on the keyboard. Ive tried going on  command prompt and pressing it, and its the same. I am running windows 7 pro.

    you probably need to get a new keyboard if you have a model number i can send you a link on what you need thanks 

  • HT1688 iPhone 4 home button problem

    Good afternoon,
    I have an iPhone 4 and it still in good condition but sometimes, the Home button doesn't respond quickly or doesn't respond at all. What to do?

    I seem to have fixed my iPhone 4 home button problems.
    1. Sync phone and back up.
    2. Go back and resync phone but uncheck all the apps you have purchased/downloaded so that your iphone will have no additional apps on it.
    3. Now reset your phone as a NEW PHONE.
    4. When reset as NEW, unplug it and try home button functions. I'll bet they work just fine, like mine did.
    5. Now that you are satisfied you can resync your apps, but be choosey. Re-install only a couple at a time, and test your home button each time. You'll soon find out which of your apps is causing the problem. It's time consuming and irritating, but it certainly works.
    So far - no problems with my selected re-installed apps. My home button works fine.
    However, I recently purchased several photography apps and an emoticon app and that was when the problems appeared to have started.
    So I've been very selective in putting only the apps I want back on ... for now.
    Hope this helps.
    I will report back to tell you if this complicated but effective solution has worked for me.

Maybe you are looking for

  • Can you "share" photos between users?

    quick, likely dumb question - we're new to the mac: my wife and i are set up as two users with password log-in, etc. yesterday, she uploaded all of our photos to iPhoto on HER account; how do i access those photos on MY account using iPhoto? thanks f

  • Unable to mount removable device.

    Hi, Just plugged my Archos media player in.  The icon appeared on the xfce desktop, but I can't read it.  I get this error message, anyone know how to overcome it? Unable to mount "A604": Xlib: extension "Generic Event Extension" missing on display "

  • Unable to zoom in for videos and pictures

    Hi I have a blackberry curve 9300 and I used to be able to zoom in for pixtures and videos by justing moving the trackpad but when I do move the trackpad I can't zoom! Does anyone know what the problem could be? Thanks so much Solved! Go to Solution.

  • Quick question about data replication

    Hi all, We have 9i database running on Sun solaris. Can we make a copy of this database on another server (backup and restore) and then apply archive logs from the databaser to its copy to keep the copy current. I know Oracle has solution like Standb

  • How can we get layer data other than PF_CHECKOUT_PARAM?

    Hello, I want to know the all other ways how to get the layer data from AE without using PF_CHECKOUT_PARAM?