How to display multiple images when I hover over different areas with the function of mouse?

I worked on a flash Simulator to show what our product would look like twin rangefinder Expert. The idea is to fly over an area, or image and show the range or extent to which the object is to you.

expertlrf.jpg

I managed in the implementation with the following code below.  However, I can't add several images "range" (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 can't make it work.  I'm new to Flash, but begins to learn as much as I can.  Any help is appreciated!  Thank you!

ActionScript 3:

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 ();

}

You can't have different functions with the same name.  Back to my previous answer (4) where I talk about using the tables of information/data and event.currentTarget.name.

Tags: Adobe Animate

Similar Questions

  • How to display multiple images in a single window?

    How to display multiple images in a single window?  I want to compare images side by side, not in tabs.

    The editor preferences > General > turn on enable floating documents, then window > images > float all in windows.

  • How to display multiple images at the same time in CS6?

    How to display multiple images at the same time in CS6?

    Hello

    If you go to window > reorganize you can choose from several display options. Below, I have chosen two horizontal spaces since I have two images, but you can select other options if you have more than one image.

  • the ToolTip that fleet upward when you hover over a link with a mouse works erratically if said the link is in the lower left corner of web page

    So the title says pretty much everything that, but I would stay again.

    There is a small balloon that floats to the top in the lower left corner of the browser window when you hover over a link on a page with a mouse. The address of the link leads, indicates in the ToolTip.
    However, if the link in question is in the lower left corner of the Web page, the ToolTip floats high above right. Then he disappears to reappear a few milliseconds later. This blinking persists; You can neither do address or click on the link. By pressing several times shows RMB RMB menu for the link, which finally allows you to copy the link location and paste it into the address bar.

    Try disabling the Redirect Remover extension if you have. Disabling this extension worked for me which allows the address bar that appears at the bottom left when you move to a link to the right in certain situations.

  • How to display multiple windows next to each other on top of the other in the bottom task bar

    When I open a new Firefox window, he stacked it on top of all others in the taskbar at the bottom. I wish they were next to each other. He used to do this. Now, I have to hover over the element ONLY Firefox in the bottom task bar and read the list to find the one I want to go to. It is a waste of time and tedious.

    How can I change this?

    I think that this is governed by your general taskbar setting. Please see the screenshot joint. To get this dialog box, right-click an empty area of the taskbar, and then choose Properties.

  • Can I change the text in the pop-up window that appears when I hover over an icon to the toolbar?

    There are three icons of the toolbar I need to change the popup text.
    They are:

    "Window or close the open tab".
    "Close all tabs but the selected one.
    "Close all tabs".

    I would like to know where this text is stored so that I am able to change my wording preferred, such as:

    "Close this tab".
    "Close other tabs".
    "Close all Tabs" - OK, the last one is great!

    Thanks for any help you can give.

    - Baht
    

    OK, I found the text.

    The text is called the "tooltip" and it is an extension called "buttons of the toolbar.

    The file is called "button.dtd" and is located in the buttons.xpi toolbar / chrome / button.jar / local / en - us.

    I edited the text, replace the .dtd file in button.jar, updated the button.jar file in the as file and reinstalled.

    Now my ToolTips, look like I want to.

    Hope this helps others.

    - Baht
    
  • Firefox does not have what to do with the torrent files, it opens directly in bittorrent. How to switch this back when he asked what to do with the file?

    I need help

    You can check the setting for this MIME type in "tools > Options > Applications" and change the setting to 'always ask '.

    You may need to reset all the actions download by removing the file mimeTypes.rdf manually.

  • How to display multiple pages in Folio Builder LCA preview?

    I created a folio with an article that has two directions, but what displayed preview image shows only the first page. How to display multiple pages in Folio Builder LCA preview?

    You've probably noticed only the layout, not the article or folio.

    When you preview in InDesign using the file > preview Folio or when you click the button Preview in the Panel inlays Folio, you preview a version of raster of the provision itself. This preview contains no article property. If you use the Folio Builder Panel to get a preview of the article or the folio, you will have an overview of the double orientation.

    Moreover, most publishers prefer creating single-direction folios to reduce the dimensions of design efforts and folio.

  • How can I see the full target URL when I hover over a link? Not a short URL.

    How can I see the full target URL when I hover over a link? I don't want to see short URL. Is there a way to customize this?

    Full target URL allowing me to easily see how visitors reached my site via Google, Bing, Yahoo Research, etc. With the short URL I don't see what they entered into the search field.

    You can use this extension to restore the characteristics of loss of status bar and customize settings such as displaying the URL of a link to the overview.

  • display multiple images in Labview front panel

    Hi all

    I have an application in which I want to show multiple images (say, 16) on the façade of labview (thumbnail is preferable). I want to show some information about the image (like their quality and the index number). Now if the user double clicks on a thumbnail of the image then I want to choose this particular image for further processing.

    Could someone tell me please how to do this?

    I see several approaches here.  We need to start by a group of 16 indicators of photo.  Put the photos in them.  There are several ways to scale to the size of the thumbnails.  The simplest is probaby the ZoomFactor of an image property.  One of the toolkits - Vision, I think - includes functions to resize the images.  There are also screws posted on this forum to do simple image and someone recently released most of the code to do with .NET.  You can then seek a double click on any of these images and determine where the user has clicked.  I think you can find the sample code to detect a double-click; the basic idea is that you look two mouse events down within a certain period of time by using a structure of the event.

    Another method would be a single picture control displaying multiple images.  You want to search for two clicks to the same place (or very close to the same place) in a certain period of time, then determine the image that is displayed for this place.  A good start for it would be Ben emoticon display VI http://forums.ni.com/t5/BreakPoint/Starware-A-new-concept/m-p/616094?view=by_date_descending#M4595

  • How to add multiple lines when the button is clicked

    How to add multiple lines when the click on button now is just add a row .plz give me idea how... waiting for answer

    / public final class screen extends MyScreen
    {
    /**
    * Creates a new object of MyScreen
    */
    ObjectChoiceField obj1 obj2, obj3, obj4.
    Table of String() = {'101 ', ' 102'};
    String of shadow [] = {"Shade1", "Shade2"};
    Rolls of string [] = {'101 ', ' 102'};
    String cutting [] = {"100-150", "150-200"};
    Chain of selectedindex1, selectedindex2, selectedindex3, selectedindex4;
    LabelField lbl1 lbl2, lbl3, lbl4;
        
    GFM LinedGridFieldManager;
    HFM HorizontalFieldManager, hfm1, hfm2 hfm3;
    VerticalFieldManager vfmMain;
        
    public MyScreen()
    {
        
    Set the displayed title of the screen
    hfm1 = new HorizontalFieldManager (HorizontalFieldManager.NO_VERTICAL_SCROLL |) HorizontalFieldManager.NO_VERTICAL_SCROLLBAR);
    hfm2 = new HorizontalFieldManager (HorizontalFieldManager.NO_VERTICAL_SCROLL |) HorizontalFieldManager.NO_VERTICAL_SCROLLBAR);
    hfm3 = new HorizontalFieldManager (HorizontalFieldManager.NO_VERTICAL_SCROLL |) HorizontalFieldManager.NO_VERTICAL_SCROLLBAR);
    HFM = new HorizontalFieldManager (HorizontalFieldManager.FIELD_RIGHT);
    vfmMain = new VerticalFieldManager (Manager.NO_VERTICAL_SCROLL |) Manager.NO_HORIZONTAL_SCROLLBAR);
            
    obj1 = new ObjectChoiceField ("", graph, 0, FIELD_LEFT);
    obj2 = new ObjectChoiceField ("", blind, 0, FIELD_LEFT);
    Obj3 = new ObjectChoiceField ("", rolls, 0, FIELD_LEFT);
    Obj4 = new ObjectChoiceField ("", cuts, 0, FIELD_LEFT);
            
    LBL1 = new LabelField("");
    LBL2 = new LabelField("");
    lbl3 = new LabelField("");
    lbl4 = new LabelField("");
            
    ButtonField btnAdd = new ButtonField ("ADD", FIELD_RIGHT);
            
    GFM = new LinedGridFieldManager (4, LinedGridFieldManager.VERTICAL_SCROLL);
            
    hfm1.setMargin (20, 0, 10, 0);
    hfm1. Add (new LabelField ("Chart"));
    hfm1. Add (obj1);
    hfm1. Add (new LabelField ("Shade"));
    hfm1. Add (obj2);
            
    hfm2. Add (new LabelField ("Rolls"));
    hfm2. Add (Obj3);
    hfm2. Add (new LabelField ("Cuts"));
    hfm2. Add (Obj4);
    HFM. Add (btnAdd);
            
    GFM. Add (new LabelField ("Chart"));
    GFM. Add (new LabelField ("Shade"));
    GFM. Add (new LabelField ("Rolls"));
    GFM. Add (new LabelField ("Cuts"));
            
    vfmMain.add (hfm1);
    vfmMain.add (hfm2);
    vfmMain.add (hfm3);
    vfmMain.add (hfm);
    vfmMain.add (new SeparatorField());
    vfmMain.add (gfm);
    Add (vfmMain);
            
    btnAdd.setChangeListener (new FieldChangeListener()
    {
    ' Public Sub fieldChanged (field field, int context) {}
    TODO self-generating method stub
    selectedindex1 = chart [obj1.getSelectedIndex ()];
    selectedindex2 = shade [obj2.getSelectedIndex ()];
    selectedindex3 = rolls [obj3.getSelectedIndex ()];
    selectedindex4 = cuts [obj4.getSelectedIndex ()];
                    
    While (LBL1. GetText(). Equals("") | LBL2. GetText(). Equals("") | lbl3. GetText(). Equals("") | lbl4. GetText(). Equals(""))
    {
    LBL1. SetText (selectedindex1);
    LBL2. SetText (selectedindex2);
    lbl3. SetText (selectedindex3);
    lbl4. SetText (selectedindex4);
                    
    GFM. Add (LBL1);
    GFM. Add (LBL2);
    GFM. Add (lbl3);
    GFM. Add (lbl4);
                    
    }
    }
    });
    }
    }

    Hi Piya,

    I run your code, and according to your logic that it works correctly.

    It's adding that line only once because according to your logic that one line can be added to MDT, if you do not want to add line on each click on the button, follow these steps:

    selectedindex1 = chart [obj1.getSelectedIndex ()];
    selectedindex2 = shade [obj2.getSelectedIndex ()];
    selectedindex3 = rolls [obj3.getSelectedIndex ()];
    selectedindex4 = cuts [obj4.getSelectedIndex ()];

    Lbl1 LabelField = new LabelField("");
    Lbl2 LabelField = new LabelField("");
    LabelField lbl3 = new LabelField("");
    LabelField lbl4 = new LabelField("");
    If (LBL1. GetText(). Equals("") | LBL2. GetText(). Equals("") | lbl3. GetText(). Equals("") | lbl4. GetText(). Equals(""))
    {
    LBL1. SetText (selectedindex1);
    LBL2. SetText (selectedindex2);
    lbl3. SetText (selectedindex3);
    lbl4. SetText (selectedindex4);
                    
    GFM. Add (LBL1);
    GFM. Add (LBL2);
    GFM. Add (lbl3);
    GFM. Add (lbl4);
                    
    }

  • How to disable the preview images when you move to an icon in the taskbar

    How you turn off the preview of the image during a flight over an icon in the taskbar?  Who is considered the aero display?

    Go you through the related discussions at the top right?

    http://answers.Microsoft.com/en-us/Windows/Forum/Windows_7-desktop/how-do-you-disable-miniature-pop-up-Windows-when/e77ada42-29e5-440e-a0be-74e737cf969d

  • How to make my cursor stay an arrow when I hover over usemaps?

    I don't want my cursor to replace a pointer/hand when I hover over the links well. Yes, I don't want users to know that it is a clickable link. I tried everything I know. Can anyone help?

    Here is the Code:

    <! doctype html >

    < html >

    < head >

    < meta charset = "utf-8" >

    < title > < /title > Mobile phone

    < style type = "text/css" >

    {body

    margin: 0;

    }

    {a.Link}

    cursor: pointer;

    }

    {#wrapper}

    margin: 0 auto;

    style: cursor: default;

    }

    {#phone}

    Width: 400 PX;

    margin: 0 auto;

    do-size: 0;

    }

    #top {}

    position: fixed;

    }

    #left {}

    float: left;

    padding-top: 268px.

    position: fixed;

    }

    #display {}

    float: left;

    padding-top: 268px.

    padding-left: 28px;

    z-index: 1000;

    }

    #right {}

    float: left;

    padding-top: 268px.

    padding-left: 348px;

    position: fixed;

    z-index:-1;

    }

    {#bottom}

    position: fixed;

    top of the margin: 727px.

    }

    < / style >

    < / head >

    < body style = "background-color: #4B4B4B;" padding-top: 0px; ">

    < body >

    < div id = 'wrapper' >

    < div id = 'phone' >

    "< div id ="top"> < img src="Images/top.fw.png "alt =" "width ="375"height ="268"/ > < / div >"

    "< div id ="left"> < img src="Images/left.fw.png "alt =" "width ="28"height ="460"/ > < / div >"

    "< div id ="View"> < img src =" Images/AlbumPage.png"alt =" "width ="320"height ="2000"well ="#Map2"/ >

    < name of the map "Map2" = >

    < area shape = "rect" coords = "3,436,103,472" href = "Phone2.html" style = "cursor: default" > "

    < / map >

    < / div > <!--this is the div that you will use to place your model-->

    "< div id ="right"> < img src="Images/right.fw.png "width ="26"height ="460"alt =" "/ > < / div >

    "< div class ="link"id ="bottom"> < img src="Images/bottom.fw.png "alt =" "width ="375"height = '1076' well ="#Map"/ >"

    < name of the map 'Map' = >

    < area shape = "rect" coords = "35,3,74,42" href = "JavaScript:history.go(-1) (-1); ">

    < / map >

    < / div >

    < / div >

    < / div >

    < / body >

    < / html >

    I can confirm that adding display: block; the css area gets Chrome to pick up the setting of the selected slider.

    Change...

    area, map, img {}

    cursor: default;

    }

    TO

    area, map, img {}

    Display: block;

    cursor: default;

    }

    Works in Chrome 35.0.1916.114m

  • How to add multiple images to a JLabel since the jar file

    I want to add more than one image in a JLabel, but the icon property only allows me to add a. I thought I could use the rendered html to add the images I need using the < img > tab, but I need to use a URL that points to the image.

    How do I point to an image in the jar file? If I can't do it, is there another way to display multiple images in a JLabel since the jar file?

    Discover camickr [http://tips4java.wordpress.com/2009/03/29/compound-icon/ url] composed icon.

    DB

  • How to insert multiple images into a file

    How to insert multiple images into a file

    Hi Mary,

    See this tutorial on adding images in Photoshop Mix and the grantor together: http://tv.adobe.com/watch/learn-photoshop-cc/combine-two-photos/

    Hope that helps,

    Concerning

Maybe you are looking for

  • Satellite C660-15r stucks and without recovery possible

    Hello I hope someone can help me or who knows what to do. I have the Satellite C660-15r it been shut down correctly, but when put back come with start windows normally, as if it was interrupted, I clicked ok for that but instead of loading, let's mak

  • Satellite Pro 4600 Wireless card does not work with WIN2K?

    I have a Satellite Pro 4600 with UK dealer PA3070U-1MPC wireless operating with Windows 2000 card The wireless client Manager detects the network from my wireless router and the signal is excellent and I see all the Green swhowing bars. But I can't m

  • Satellite A200 - Sierra data card is not working properly because of the com port

    Hello I recently used a sierra on Satellite A200 computer laptop data card and devices Bluetooth is to share with the data card com port and lead to the client cannot find the data card. I tried the data card in lenovo t61 and another computer laptop

  • HP 15-g073nr Notebook PC: 3.4 GB of Ram instead of 4 GB of Ram

    I check the Task Manager and it displays 3.4 GB of ram as maximum instead of 4 GB use. How can I use the size of ram? My Bios is up to date and I have not seen anywhere to remap the RAM. I have 64-bit as well. Here is a screenshot.

  • My Acer V5-473P-5602 keeps shutting down codes?

    At random times, my computer will make a clicking sound and goes black and switches off. This can happen 10 minutes by turning on the computer or 2 hours in. The computer is mainly used for academic purposes and nothing really complicated. Earlier to