How do I show multiple images when I hover over different areas with the MouseOver function?

I’ve been working on a flash simulator to show what our Expert Range Finder binocular product would look like. The idea is to hover over an area, or image and it show the range or how far the object is from you.
I have been successful in making it work with the following code below.  Yet I cannot add several "range" images (or symbols) when I hover over a certain area.  Can someone help me with the code?  I looked for hours on the internet and I cannot get it to work.  I am new to Flash but am starting to learn as much as I can.  Any help is appreciated!  Thanks!
Actionscript 3 Code:
img_nv.mask = mask2_mc;
mask2_mc.buttonMode=true;
mask2_mc.addEventListener(MouseEvent.MOUSE_DOWN, onDown);
mask2_mc.addEventListener(MouseEvent.MOUSE_UP, onUp);
function onDown(e:MouseEvent):void{
mask2_mc.startDrag();
function onUp(e:MouseEvent):void{
mask2_mc.stopDrag();

Ned:
I can't thank you enough for your help!  I just have a few questions left if you don't mind.
If you look at the picture, the text shows up in the "tfield" yet there is a weird symbol after "37Y" that I cannot get rid of.  In the code I erased in line 29 " + " zone" " Is that the reason why it is showing a weid symbol?
One more question. I tried placing multiple ranges and text fields and they are not working.  All I did was duplicate the code for the first range and text like below but I am missing something.  Will you kindly help me?
Actionscript Code:
range2.addEventListener(MouseEvent.ROLL_OVER, manageMouseOver, false, 0, true);
range2.addEventListener(MouseEvent.ROLL_OUT, manageMouseOut, false, 0, true);
function manageMouseOver(event:MouseEvent):void{
  tfield2.text = "over "+ event.currentTarget.name + " zone";
function manageMouseOut(event:MouseEvent):void{
tfield2.text = "";
range3.addEventListener(MouseEvent.ROLL_OVER, manageMouseOver, false, 0, true);
range3.addEventListener(MouseEvent.ROLL_OUT, manageMouseOut, false, 0, true);
function manageMouseOver(event:MouseEvent):void{
  tfield3.text = "over "+ event.currentTarget.name + " zone";
function manageMouseOut(event:MouseEvent):void{
  tfield3.text = "";
. . . .and so on for two more ranges and text fields.

Similar Messages

  • How do I constrain anchor angle when I tug on a path with the direct select tool?

    How do I constrain anchor angle when I tug on a path with the direct select tool like it did in every version of Illustrator since 1988? New behavior is costing me time.

    That solves it!
    I was not able to find this in the online materials about the pen tool.  In fact, Illustrator Help | Adjust path segments does not show the new functionality at all.  They need to update that article.
    Better way to implement the new functionality
    It would have been nice if Adobe added to the chording controls for the direct select tool the ability to toggle this setting temporarily by holding down the space bar after mouse down to drag a segment.
    Before mouse down this would give the user the hand tool.
    If, after mouse down, I could hold space bar and have the behavior switch from the historical capability where dragging a segment cannot change adjacent segments to the new behavior where dragging the segment cannot move anchors but can rotate them, I am sure I would find times when the tool saved time. If, before mouse up, I release spacebar, turn the constraint back on with anchors pointing in their new directions and allow me to stretch the curve protecting the new shapes of adjacent curves.
    Using space bar for this would be intuitive to me because holding down the space bar is something I already do to organically drag the page around with the hand tool. The new tool allows me to more organically stretch artwork around, something that is distantly analogous, but close enough to remember.
    For long time Illustrator users, the chording features holding Ctrl/Alt/Shift/Space or Ctrl/Command/Shift/Space in different combinations while using the direct select tool and pen tool is the killer app part of Illustrator that keeps us using it. This what we did on Illustrator 88 on a Mac Plus in 1988 and is still the most productive way to produce vector art when precision is required.

  • How do you set up so that you can view the alternate text on an image when you hover over it like you do in IE?

    Using Mozilla at present the alternate text for an image does not pop up when you hover your mouse over the image. This is what occurs in Internet Explorer. In Mozilla Firefox you have to right click, choose Properties and then you can view the alternate text. Is there a way to set up the mouse hover? Or is there a keyboard shortcut to at least view the Properties information of an image on a webpage quicker?

    The Alt attribute isn't meant to show as a tooltip on hover.
    The Alt attribute is meant to show if the image isn't or can't be displayed.
    The title attribute is meant to show if you hover an image or link.
    *http://kb.mozillazine.org/Image_tooltips_do_not_work
    Some extensions can interfere and disable the tooltip.
    * [[Troubleshooting extensions and themes]]
    * http://www.w3.org/TR/html401/struct/global.html#title title
    * http://www.w3.org/TR/html401/struct/objects.html#alternate-text
    *Popup ALT Attribute: https://addons.mozilla.org/firefox/addon/1933

  • How do i create a separate media library for a different user with the same software and i pod?

    i currently have i tunes with my preferred music. my family member has a completely different taste of music. i set up an account name for that family member however we are sharing the software. how do i create a separate library. my library automatically appears under her account?

    this support article should help:
    How to use multiple iPods, iPads, or iPhones with one computer

  • Show some text when mouse hover over a component

    Hi,
    I would like to show a couple of lines of text, just to the right hand-side of the component (kind of a mini-pop up menu) everytime the mouse hovers on that component. The focuslistener is in place and working, but I don't know how to implement this 'popup' menu. I don't need to select any of the lines or perform any action on them, just showing them
    thanks

    thanks, that's the component I was looking for (assuming I can now change the fonts, colour etc)
    I have done the following and it kind of works: it should highlight the text and show the tooltip. However, it kind of gets stuck every now and then...two things: it takes some time before the tooltip appears (1 sec): is there a way to make it immediate, simultanous to the highligh? also, I have a few Jtextfield, as you may remember..as I hover the mouse over each of them, it all works fine, but when I go back to a jtextfield previously hovered over and highlighted, nothing happens, until I randomly click around and then works again. Any ideas? thanks a lot
    myJTextField.addMouseListener(new MouseAdapter(){
                     public void mouseEntered(MouseEvent e) {
                        ((JTextField) e.getSource ()).requestFocus();
                        ((JTextField) e.getSource ()).selectAll(); // highlight the text
                        ((JTextField) e.getSource ()).setToolTipText("text");
                       

  • Outlook mac Doesn't show the Meeting organizer's full detail as in contact when you hover over

    In the out look , when you received an meeting request, we can see the organizer's email address, but when you hover over the email address it says "presence unknown" and didn't show any details of that email user.
    But i can see the contact search is in All Folder. when its in all folder  it doesn't show his contact. but when i change the search to default GAL LDAP i can see the mail user's details in the contact.
    I hope if i can change the " contact search to Default globla address list LDAP " when you hover over we can see the email user's detail.. But i have no idea how to change the defaut Contact search to another one frm ALl Folder .
    Help me to change this.
    Thanks
    saththiyan

    I have this problem in all the MacBooks... Pro, Air, Ect Ect..

  • How do I set the buttons on my website to trigger an iFrame when I hover over them?

    How do I set the buttons on my website to trigger an iFrame when I hover over them?  At the moment they work when I click on them.
    I have tried everything to try and get them to work when I hover over them.
    If anybody could point me in the right direction or give me any help it would be greatly appreciated.
    imbriggy

    I think this would pose a major usability issue for touch screen devices that have no mouse and thus don't respond to mouseover/hover.  In that sense, OnClick is much more reliable.   But to answer your question, you would need to invoke the event with JavaScript.
    Nancy O.

  • How do I show multiple rollover images on a page inserted dynamically (pulled out of a sql database

    How do I show multiple rollover images on a page inserted dynamically (pulled out of a sql database table) using Dreamweaver’s Repeat Region. Example: I have different products each one associated (through their productID) with two images (one that’s showing in the page and one for the rollover effect) that are pulled from a database using Dreamweaver’s Recordset. So I want to end up with a page containing row after row of images(one for every product).When moused over each image will reveal the second (rollover) image for the same product which in turn can be a link(the image itself ) that when clicked leads to a detailed page with more information about the product the image is associated with. To show row after row with images for the different products in the database table I am using Dreamweaver’s Insert Rollover Image command and then the  Repeat Region – I have no problem to complete the steps, to insert the image and the rollover one at once and set the paths so they are pulled dynamically depending on the productID they are associated with .I have also no problem to apply the Repeat Region so not only the first image associated with the first product in the table is shown but all of them-a routine and standard procedure when using the Repeat Region to dynamically generate and display multiple rows of data. However, when I preview the page the rollover effect is lost –the images are shown but when moused over the second  image does not  show. The problem is caused when the Repeat Region is applied-once again I am allowed to apply it but the rollover stops working, a kind of interference. ANY SOLLUTION PLEASE, ANY WORK AROUND.

    I gotta tell you, using multiple images for rollover effects is going to be a big challenge in your dynamic scenario. 
    If this were my product page, I would use thumbnails with a bit of CSS opacity or filters to desaturate and make them full opacity/color on mouse over.  Nice effect with much less bandwidth. Easily done globally with CSS code.
    Two examples:
    http://alt-web.com/GALLERY/GalleryTest.php
    http://alt-web.com/TEMPLATES/CSS-Semi-liq-photo-sheet.shtml
    Nancy O.

  • Data in the cube is showing multiple entries when compared with ODS

    Hello BW Gurus,
    We have a waste report in production planning on Cube and ODS separately. The same info package loads both targets (which means same infosource) but when we run a report on Cube, the records are showing multiple entries (i.e. Key Figures are not matching when compared to ODS) where as the ODS records are showing correctly as it was in R/3. There are totally 6 key figures out of which 4 pulled from R/3 and 2 are populated in BW.
    An Example:
    Waste report in PP run for plant 1000 for 12/2005 and process order 123456. The operational scrap should be 2.46% and the component scrap should be 3.00% for material 10000000. The report is showing 7.87% for planned operational waste % and 9.6% for planned component waste %. These values are not correct. The ODS values for order 123456 matched the data in R/3 for component and operational scrap.
    There is a Start routine to the ODS and also to the cube. I am not good at ABAP so requesting your Help.
    Here is the ODS Code:
    tables: /BI0/PPRODORDER.
    loop at data_package.
    select single COORD_TYPE
    PRODVERS
    into (/BI0/PPRODORDER-COORD_TYPE,
    /BI0/PPRODORDER-PRODVERS)
    from /BI0/PPRODORDER
    where PRODORDER = data_package-PRODORDER
    and OBJVERS = 'A'.
    if sy-subrc = 0.
    if /BI0/PPRODORDER-COORD_TYPE = 'XXXX'
    or /BI0/PPRODORDER-COORD_TYPE = 'YYYY'.
    data_package-PRODVERS = space.
    else.
    data_package-PRODVERS = /BI0/PPRODORDER-PRODVERS.
    endif.
    endif.
    if data_package-calday = space
    or data_package-calday = '00000000'.
    if data_package-TGTCONSQTY NE 0.
    data_package-calday = data_package-ACTRELDATE.
    endif.
    endif.
    modify data_package.
    endloop.
    Here is Cube Code:
    tables: /BI0/PPRODORDER,
    /BIC/ODS.
    TYPES:
    BEGIN OF ys_mat_unit,
    material TYPE /bi0/oimaterial,
    mat_unit TYPE /bi0/oimat_unit,
    numerator TYPE /bi0/oinumerator,
    denomintr TYPE /bi0/oidenomintr,
    END OF ys_mat_unit.
    DATA:
    l_s_mat_unit TYPE ys_mat_unit,
    e_factor type p decimals 5.
    loop at data_package.
    select single COORD_TYPE
    PRODVERS
    into (/BI0/PPRODORDER-COORD_TYPE,
    /BI0/PPRODORDER-PRODVERS)
    from /BI0/PPRODORDER
    where PRODORDER = data_package-PRODORDER
    and OBJVERS = 'A'.
    if sy-subrc = 0.
    if /BI0/PPRODORDER-COORD_TYPE = 'XXX'
    or /BI0/PPRODORDER-COORD_TYPE = 'YYY'.
    data_package-PRODVERS = space.
    else.
    data_package-PRODVERS = /BI0/PPRODORDER-PRODVERS.
    endif.
    endif.
    if data_package-calday = space
    or data_package-calday = '00000000'.
    if data_package-TGTCONSQTY NE 0.
    data_package-calday = data_package-ACTRELDATE.
    endif.
    endif.
    data_package-agsu = 'GSU'.
    data_package-agsu_qty = 0.
    select single gr_qty
    base_uom
    into (/BIC/ODS-gr_qty,
    /BIC/ODS-base_uom)
    from /BIC/ODS
    where prodorder = data_package-prodorder
    and material = data_package-material.
    if sy-subrc = 0.
    if /BIC/ODS-base_uom = 'GSU'.
    data_package-agsu_qty = /BIC/ODS-gr_qty.
    else.
    SELECT SINGLE * FROM /bi0/pmat_unit
    INTO CORRESPONDING FIELDS OF l_s_mat_unit
    WHERE material = data_package-material
    AND mat_unit = 'GSU'
    AND objvers = 'A'.
    IF sy-subrc = 0.
    IF l_s_mat_unit-denomintr <> 0.
    e_factor = l_s_mat_unit-denomintr /
    l_s_mat_unit-numerator.
    multiply /BIC/ODS-gr_qty by e_factor.
    data_package-agsu_qty = /BIC/ODS-gr_qty.
    ENDIF.
    else.
    CALL FUNCTION 'UNIT_CONVERSION_SIMPLE'
    EXPORTING
    INPUT = /BIC/ODS-gr_qty
    NO_TYPE_CHECK = 'X'
    ROUND_SIGN = ' '
    UNIT_IN = /BIC/ODS-base_uom
    UNIT_OUT = 'GSU'
    IMPORTING
    OUTPUT = DATA_PACKAGE-gsu_qty
    EXCEPTIONS
    CONVERSION_NOT_FOUND = 1
    DIVISION_BY_ZERO = 2
    INPUT_INVALID = 3
    OUTPUT_INVALID = 4
    OVERFLOW = 5
    TYPE_INVALID = 6
    UNITS_MISSING = 7
    UNIT_IN_NOT_FOUND = 8
    UNIT_OUT_NOT_FOUND = 9
    OTHERS = 10.
    endif.
    endif.
    endif.
    modify data_package.
    endloop.
    some how the AGSU qyt is not populating in the cube and when I dbug the code, I could see a clean record in the internal table but not in the cube.
    your suggestion and solutions would be highly appreciated.
    thanks,
    Swathi.

    Hi Swathi
    In ODs we have option of overwriting and addition however in Cube we have only adition.Thats why you are getting multiple enteries.
    If you are running daily full load on the cube then please delete the earlier requests.
    So at one point of time there should be only one full load request in cube. Hope this will solve your problem.
    Regards,
    Monika

  • I can see my thumbnails for my events in iphoto, but when I click to open the folder, no photos show up. However, when I hover over the thumbnail, it shows the flicker of images that should be inside the folder, as well as

    I can see my thumbnails for my events in iphoto, but when I click to open the folder, no photos show up. However, when I hover over the thumbnail, it shows the flicker of images
    that should be inside the folder, as well as # of images in each folder. It also occasionally says the following when I try to even open iphoto:  "Your photo library will not be readable by previous versions of iPhoto after the upgrade. The upgrade process for very large libraries may take an hour or more to complete." So, I am scared to hit "upgrade" for fear I will never recover any of the images as the wording in this quote seems odd. The photos are not in the trash. Did I lose them all? Do you know if/how I can retrieve them?

    iPhoto 08?
    Try these in order - from best option on down...
    1. Do you have an up-to-date back up? If so, try copy the library6.iphoto file from the back up to the iPhoto Library (Right Click -> Show Package Contents) allowing it to overwrite the damaged file.
    2. Download iPhoto Library Manager and use its rebuild function. (In Library Manager it's the FIle -> Rebuild command)
    This will create an entirely new library. It will then copy (or try to) your photos and all the associated metadata and versions to this new Library, and arrange it as close as it can to what you had in the damaged Library. It does this based on information it finds in the iPhoto sharing mechanism - but that means that things not shared won't be there, so no slideshows, books or calendars, for instance - but it should get all your events, albums and keywords, faces and places back.
    Because this process creates an entirely new library and leaves your old one untouched, it is non-destructive, and if you're not happy with the results you can simply return to your old one. 
    3. If neither of these work then you'll need to create and populate a new library.
    To create and populate a new *iPhoto 08* library:
    Note this will give you a working library with the same Events and pictures as before, however, you will lose your albums, keywords, modified versions, books, calendars etc.
    In the iPhoto Preferences -> Events Uncheck the box at 'Imported Items from the Finder'
    Move the iPhoto Library to the desktop
    Launch iPhoto. It will ask if you wish to create a new Library. Say Yes.
    Go into the iPhoto Library (Right Click -> Show Package Contents) on your desktop and find the Originals folder. From the Originals folder drag the individual Event Folders to the iPhoto Window and it will recreate them in the new library.
    When you're sure all is well you can delete the iPhoto Library on your desktop.
    In the future, in addition to your usual back up routine, you might like to make a copy of the library6.iPhoto file whenever you have made changes to the library as protection against database corruption.

  • How do you show thumbnail images for the contacts?

    How do you show thumbnail images for the contacts on the iPod?
    -Thank You

    In another thread I posted a suggestion to try when the iPhoto app in the Application folder will not work:
    after upgrading the OS, iPhotos (and Aperture for that matter) should still be in the Applications folder...
    And running well in 10.10.3.
    If it stops running in a next "update" do not throw it away: most apps will continue running as follows:
    In the Applications folder "rightclick" (CTL+click) the iPhoto app, then "show package contents", then click the MacOs folder open: you see the real app (dark grey), rightclick this and choose "make alias", an alias is made, move this alias to the Applications folder and use it to run iPhoto.
    Same for Aperture.
    In older OS this survived several upgrades....
    Lex

  • How do I view multiple images in one window?

    How do I view multiple images in one window?  I want to compare images side by side, not in tabs.

    Thank you, Barbara.  I found that I had to close the program after I turned on "allow floating documents" and restart, before I was able to go to "float all in windows". 

  • Is it possible to have a hover effect easing out on multiple images when hovering on others?

    Im trying to use four small images to create a large image by using a hover effect. However when i hover over an image for instance 3 of 4, after hovering over 1 and 2, number 1's ease-out effects snaps back to the background image, rather than continuing to ease-out. Which i do not want. Is it possible to have numerous ease-out effects working at the same time? Using CSS.

    Could you show us a bit more of what you've done so far?
    I'm not sure I understand the desired result.
    Can you put your files online somwhere?
    Thanks

  • HT201401 i have a birthday showing in my calendar listed as an all day event and it is incorrect how can I delete it. When clicked on does not bring up the edit feature. The vodaphone shop thinks it has synced with my facebook app.

    i have a birthday showing in my calendar listed as an all day event and it is incorrect how can I delete it. When clicked on does not bring up the edit feature. The vodaphone shop thinks it has synced with my facebook app.

    hello, the addons manager is exactly the right place to look for it. please try disabling the addons that are listed there one-by-one (a restart of the browser might be necessary after each step). maybe one of them is bundling this kind of adware.
    [[Disable or remove Add-ons]]

  • HT2477 How do I select multiple images without clicking on each one? Is there a way to select duplicate photos to delete them?

    How do I select multiple images without clicking on each one? Is there a way to select duplicate photos to delete them?

    Consider adding the delete symbol to the Finder window tool bar.  This way you can highlight all the photos you want to delete at the same time then hit the "delete" symbol.
    Open a Finder window/View/Customize Toolbar - follow the directions in the customized pop down window.

Maybe you are looking for

  • I want to *use* very long file and path names!

    This is really a plea to Microsoft... There are several threads about copying or deleting files where the path and/or file name is too long. Most have explanations of why this problem occurs.  (depending on Windows version and application, the total

  • JDev 1013 Error: Internal compilation error, terminated with a fatal except

    I've a class I compiled used in JDev 10.1.2.1. Now I try to compile it with JDev 10.1.3 but I get an error : Error: Internal compilation error, terminated with a fatal exception What does it means ? How can I solve it ? I tried to use both 5.0 and 1.

  • How to make "Get Mail" button work for new IMAP acct?

    Recently, I started new Internet service with Charter. I set up my new email mail account on my iMac, and everything is working perfectly.....except that Mail checks the Charter email account for new messages ONLY when Mail is first started or the fi

  • Cost-reducing revenues

    Hi, 1 Can have example of Cost-reducing revenues cost element? 2 what is the difference between cost reducing revenue element and revenue element? i know cost reducing revenue is category 1 whereas revenue is category 11 but i do not know what is the

  • Why do I get bright colors when using the smudge tool?

    Why do I get bright colors when using the smudge tool?