How to cycle through scenes using the up and down buttons??? (Please help, novice!)

Hi,
I'm currently trying to teach myself how to use flash CS5 and actionscript 3 and apart from doing small amounts of programing here and there I'm a complete novice.
I have 36 photographs taken at 10-degree angles, making an object and i have each image in a different scene, with hidden buttons asigned to different parts of the object so that whenever you hover your mouse over them it provides some more information.
What I want to do is to be able to cycle through these images in the different scenes using the up and down buttons on the keyboard.
I'm hoping that I'm at least half way there having assigned the 'hot-spots' but I'm just stuck on the final part... please help!!!!
Many thanks in advance!
Harry

If you are talking about the arrow keys on the keyboard you will have to use a Keyboard Event listener and take note of the constant value for resulting KeyCode
This website seems to have a handle on it:
http://www.republicofcode.com/tutorials/flash/as3keyboard/
There is another method that allows you to listen just to the keys you want (up and down):
http://www.flex888.com/598/using-keycodes-in-actionscript-3.html

Similar Messages

  • My macbook crashed about two weeks ago and I had icloud already set up. How do I go about retrieving the music and images? Please, help me. I had over 10gb of music on that computer and the only place it was backup was icloud. Thanks.

    My macbook crashed about two weeks ago and I had icloud already set up. How do I go about retrieving the music and images? Please, help me. I had over 10gb of music on that computer and the only place it was backup was icloud. Thanks.

    I hate to say this, but unless you are paying the 25 bucks you cannot back up your library to the cloud.
    All you can do is back up the items you "purchased" from Apple.
    iTunes Match
    For $24.99/year you’ll get access to all your iTunesmusic including tunes you ripped from CDs or “borrowed” from anonymous friends. It scans your library to see if the song exists in iTunes’ 18 million song catalog and if it does it’ll stream it to you at 256 kbps. If your song is not in iTunes then it’ll be uploaded to iCloud at whatever rate it is on your device where it can be streamed for your listening pleasure. I cannot find any information on how to restore a library, however
    Best of luck

  • I downloaded the new version of firefox, now my flash player wont work, the html text box is gone and so is the back and forward buttons. please help??

    I downloaded the new version of firefox, now I cant watch any movies, the html text box is totally gone, and so is the back and forward website buttons, please help? can i just have the old version back?

    Not sure whether for instance you initially had a Yahoo optimised version of Firefox, and have now overwritten it with an official Mozilla version. Although the Mozilla version should NOT add unwanted features, but the Yahoo version may well do.
    If you merely need to find the Yahoo emails page quickly just add it as a bookmark or as a bookmark on the Bookmarks toolbar and make sure that is visible.
    Clicking the star icon on the location bar whilst looking at your emails will bookmark the page.
    * [[How to use bookmarks to save and organize your favorite websites]]
    * [[Bookmarks Toolbar - Display your favorite websites at the top of the Firefox window]]
    I do not use Yahoo myself,and am not sure what add-ons are available. You could search yourself using
    * FirefoxButton -> add-ons
    ** see [[Find and install add-ons to add features to Firefox]]
    ** examples [https://addons.mozilla.org/en-us/firefox/addon/yahoo-toolbar/ yahoo toolbar] & [https://addons.mozilla.org/en-us/firefox/addon/yahoo-mail-notifier/ mail notifier]
    * also look at Yahoo's own information such as http://help.yahoo.com/tutorials/toolbar/cl3/c3_ff_toolbar1.html

  • My wife got a Iphone in Bangladesh. she do not know the password for apple ID, there is no way to collect it, as the email id for that iphone is not her. how she can use application store and itunes? please help me

    My wife got a Iphone in Bangladesh. she do not know the password for apple ID, there is no way to collect it, as the email id for that iphone is not her. how she can use application store and itunes? please help me

    If it is second hand, try putting it in recovery mode, and restoring it with itunes on a mac or pc.
    Recovery mode tutoral:http://www.youtube.com/watch?v=dkVr5CxFiFM

  • Why am I recently unable to use my mouse to scroll email topics or content?  I can only use the up and down arrows keys to scroll.

    Why am I recently unable to use my mouse to scroll email topics or content?  I can only use the up and down arrows keys to scroll. I am able to use my mouse to scroll through internet searches.  It only seems to have affected my email messages.

    Try a restart.
    Do a backup, using either Time Machine or a cloning program, to ensure files/data can be recovered. Two backups are better than one.
    Try setting up another admin user account to see if the same problem continues. If Back-to-My Mac is selected in System Preferences, the Guest account will not work. The intent is to see if it is specific to one account or a system wide problem. This account can be deleted later.
    Isolating an issue by using another user account
    If the problem is still there, try booting into the Safe Mode using your normal account.  Disconnect all peripherals except those needed for the test. Shut down the computer and then power it back up after waiting 10 seconds. Immediately after hearing the startup chime, hold down the shift key and continue to hold it until the gray Apple icon and a progress bar appear. The boot up is significantly slower than normal. This will reset some caches, forces a directory check, and disables all startup and login items, among other things. When you reboot normally, the initial reboot may be slower than normal. If the system operates normally, there may be 3rd party applications which are causing a problem. Try deleting/disabling the third party applications after a restart by using the application un-installer. For each disable/delete, you will need to restart if you don't do them all at once.
    Safe Mode - Mavericks
    Safe Mode - About

  • In Firefox 3.6.10 I was able to go forward and backwards between pages without the page defaulting to the top of the page. Is there any way to prevent the page from automatically moving to the top when using the forwards and back buttons in Firefox Four?

    I like to be able to navigate backwards and forwards without having to scroll down and find where I was previously. In Firefox Four, when using the forwards and back buttons, the page will automatically return to the top of the page. Is there any way to change this setting in Firefox Four to prevent it from doing that?

    Thanks for the response. No Time Machine, but I probably have a backup from a few months ago on an external hard drive. :/ I guess it'd have useful history, but not if it overwrote the last 3 months or so of Awesome Bar, that might not be so great.

  • Photoshop CS6 crashes all the time and especially when using the type tool... please help!

    Photoshop CS6 crashes all the time and especially when using the type tool... please help!

    Since I did not have this problem with CS5 or CS4, I can only assume something is not right with Photoshop CS6... below is my video card info:
    ATI Radeon HD 4850:
      Chipset Model:          ATI Radeon HD 4850
      Type:          GPU
      Bus:          PCIe
      PCIe Lane Width:          x16
      VRAM (Total):          512 MB
      Vendor:          ATI (0x1002)
      Device ID:          0x944a
      Revision ID:          0x0000
      ROM Revision:          113-B9110C-425
      EFI Driver Version:          01.00.383
      Displays:
    iMac:
      Resolution:          2560 x 1440
      Pixel Depth:          32-Bit Color (ARGB8888)
      Main Display:          Yes
      Mirror:          Off
      Online:          Yes
      Built-In:          Yes
      Connection Type:          DisplayPort
    Cinema HD:
      Resolution:          1920 x 1200
      Pixel Depth:          32-Bit Color (ARGB8888)
      Display Serial Number:          2A80273WXMN
      Mirror:          Off
      Online:          Yes
      Rotation:          Supported

  • I am having trouble with my iPad, i can start it, but the iPad does not work. i tried to use the power and home button at the same time, the apple logo appears, but the iPad does not work. What am I suppose to do?

    I am having trouble with my iPad, i can start it, but the iPad does not work. i tried to use the power and home button at the same time, the apple logo appears, but the iPad does not work. What am I suppose to do?

    After the Apple logo appears, what happens then? Can you hear any sounds or if you tap on the screen, does it seem like apps can open or are you just seeing a black screen? You might have a hardware problem, but you can try restoring the software and see what happens.
    Read this in its entirety before you do anything. Make sure you read the sections at the end about using recovery mode.
    iTunes: Restoring iOS software - Support - Apple

  • We lost access to are computers in the last two month and we want to know how to deauthorize two computers from the itunes account can you please help us?

    We lost access to are computers in the last two months and we want to know how to deauthorize two computers from the ituns account can you please help me please?

    If you don't have access to the computers to manually deauthorize them (they were sold, stolen, etc), then you have to log into your account, deauthorize all computers, and then re-authorize the machine(s) that you want to have access. This page explains how.

  • HT3180 struggling to wake my apple tv wont respond even when holding the menu and down button any ideas ?

    struggling to wake my apple tv wont respond even when holding the menu and down button any ideas ?

    Did you try unplugging the unit from power, leaving it for ten minutes, then plugging in again?
    If you have & it didn't work, Damian Smith1 posted this possible solution (I like to give credit where credit is due).
    Connect your ATV to your computer and try restoring it to factory setting Use the link below to walk you through the process
    Apple TV (2nd generation): Restoring your Apple TV
    support.apple.com/kb/HT4367

  • If you hold down the up and down buttons....

    hi. Am i being really stupid but if you hold the up or down buttons on a macbook pro keyboard it doesnt scroll up and down the page? if you keep pressing the buttons it does or press the fn button together with the up or down arrows it works as it does with the touch pad mouse.
    Just thought that like an a pc laptop the up and down buttons would scroll up and down a page by holding them down which my macbook pro doesn"t.
    Am i right or do i have a faulty keyboard?
    Thanks
    Rob

    i have figured out the answer. In system preferences the keboard options were set as long/slow. now i have adjusted them to very fast and my kepboard is responsive again. cant believe i was so dumb!
    thanks for your replies
    rob

  • How can I use the "home" and "end" buttons

    I have an external apple keyboard (full style, with number pad and all) plugged into my macbook.  However, the "home" and "end" buttons don't function the way I'd like (i.e. they don't go to the beginning or end of a line).
    Can I ever get this to work or does it just not function with a laptop that doesn't have that function in the first place.  I'd like to not have to use multiple keystrokes just to get a similar home/end result.
    Thanks!

    "on your hub dont use the phone it will cost you more.when i change over to bt they never told me that i would be charged for useing this phone so i dont now.crafty bt again.when my contract is up i will be leaveing bt for ever,georgesaa."
    Not sure why you are charged for calls on this, as standard you would get free evening and weekends and there are packages for unlimited anytime.
    (If I have helped you in any way to say "Thank You" please click on the star next to the message. Thank You)
    If I have solved your Issue please click the "Mark as accepted solution" button.

  • How does one use the middle and right buttons in AIR without the cursor showing?

    All I want to do is use all three botton clicks without the cursor showing (assistive technology situation). So I use Mouse.hide(). All works fine with the Left mouse button. With the middle and right buttons the cursor reappears as soon as the middle and right mouse is in the DOWN state (and stays visible until rehidden--see code). Are there Mouse parameters that could be added? (I can't find any such references.) Do I need to create a custom cursor Class that makes the cursor invisible at all times? Here is my simple AS 3 test code.
    // MyClickListener.fla
    // Using the Stage to listen for button events
    // Why do the Middle and Right clicks reexpose the mouse cursor as soon as the DOWN state is encountered?
    import flash.display.DisplayObject;
    import flash.events.*;
    import flash.ui.Mouse;
                Mouse.hide();
                var leftClick:int = 0;
                var middleClick:int = 0;
                var rightClick:int = 0;   
    function leftClickHandler(event:MouseEvent):void
                // Mouse.hide();   // I do not need this -- mouse cursor does not reappear
                trace(event.target.name);          
                trace("You pressed the Left Button.");
                leftClick ++;
                trace("Left Clicks = " + leftClick);
    function middleClickHandler(event:MouseEvent):void
                Mouse.hide(); //I use this to rehide the mouse that reappears after click.
                trace(event.target.name);
                trace("You pressed the Middle Button.");
                middleClick ++;
                trace("Middle Clicks = " + middleClick);
    function rightClickHandler(event:MouseEvent):void
                Mouse.hide();  // I use this to rehide the mouse that reappears after click.
                trace(event.target.name);
                trace("You pressed the Right Button.");
                rightClick ++;
                trace("Right Clicks = " + rightClick);
    stage.addEventListener(MouseEvent.CLICK, leftClickHandler);
    stage.addEventListener(MouseEvent.MIDDLE_CLICK, middleClickHandler);
    stage.addEventListener(MouseEvent.RIGHT_CLICK, rightClickHandler);
    Help appreciated.
    Thanks,
    Michael
    Message was edited by: MBM111

    Dear Tuttle and Tom:
    You both sent me to the appropriate place. I downloaded the instruction file (PDF). Many thanks.
    Incidentally, I then downloaded the upgrade offered at the top of that page (from v3.2 to v3.2.4) but after ±90% of the necessary time needed, it shut down with a "Failed to Mount" message (whatever that might mean). It took more than 28 minutes to download that much even though I'm using DSL! Have either of you upgraded to v3.2.4 with or without difficulty?
    Thanks again for your right-on assistance.
    PowerBook G4   Mac OS X (10.4.2)  

  • Graphical modeler error while using the back and forward buttons on the CRM

    Dear Gurus,
    Have issue with segmentation graphical builder in CRM 7.0. The issue is When you are in graphical modeler and try to go back and come forward again using CRM back and forward buttons the graphical modeler is giving error. I am using the following steps.
    1) Log on to marketing professional role
    2) go to create new segmentation
    3) enter the profile name and save
    4) click on graphical modeler
    5) Able to see the graphical modeler
    6) Click on back button on the top right hand corner (CRM back button)
    7) system takes me to profile creation
    8) click on forward button on the top right hand corner (CRM forward button)
    9) unable to see the graphical modeler - giving error
    Please guide me how to fix this issue.
    Regards,
    Niranjan

    Hi,
    Please apply the manual steps given in SAP note 1614524 and retest the issue.
    Also make sure your JRE version is 1.6_19 or higher.
    Hope this helps.
    Regards,
    Anup

  • Move over the table rows using the up and down arrows using the javascript

    i had a dynamically generated html table in jsp .
    i need to move over the rows up and down .
    when the up and down arrow keys are pressed Highlight the row and after moving when i press the enter key other required page is to be displayed .
    please help me as soon as possible what events are to be used for the arrow keys and Highlight the row

    i got the code for it
    if (navigator.appName == "Microsoft Internet Explorer") {     
         document.onkeydown = processKeys;
    } else {
         document.onkeypress = processKeys;
    function processKeys(e) {  
         var keyID = (window.event) ? event.keyCode : e.keyCode;
         switch (keyID){
         // Key up.
         case 38:
              if (parseInt(currentRow) == parseInt(0)) {
                   // reached the top of the table; do nothing.
                   return true;
              } else {
                   // move one row up.
                   currentRow = parseInt(currentRow - 1);
                   setCurrentRow (currentRow, currentRow + 1);
                   return false;
              break;
         // Key down.
         case 40:
              if (currentRow == (numRows - 1)) {
                   return true;
              } else {          
                   currentRow++;
                   setCurrentRow (currentRow, (currentRow - 1));
    if (currentRow > VISIBLE_ROWS) {
    return true;
    } else {
                   return false;
              break;
         // enter key     
         case 13:
              var curRowId = boardMemberListTable.rows[currentRow].id;          
              return false;
              break;
    //onclick
    function selectRow(row) {
         inQuad3Edit = false;
         searching = false;
         var eleTableRows = boardMemberListTable.getElementsByTagName("tr");
         for (var i = 0; i < eleTableRows.length; i++) { 
              if (eleTableRows.id != row.id){
                   eleTableRows[i].className = "board-row-normal";
              } else {
                   currentRow = i;          
         row.className = "board-row-sel";

Maybe you are looking for