This should be easy

I try to display the info on "The Image" I click. I was able to get this working for a button, but for some reason, cannot operate on an image:

Someone at - it ideas?

< mx:Script >

<! [CDATA]

private void handleImageClick(event:MouseEvent):void

{

ExteriorUpperLabel.text = event.target.id;         //For that some reason this line is not running

mx.controls.Alert.show ("something new Got Clicked");

}

]]>

< / mx:Script >

< mx:Label = "106" x y = '342' id = 'ExteriorUpperLabel' / >

< mx:Image '891' = x y = "36" id = "dspOverlay" toolTip = 'Test' buttonMode = "true" click = "handleImageClick (event)" >

< mx:source > texture46.jpg < / mx:source >

< / mx:Image >

Thank you!

private void handleImageClick(event:MouseEvent):void

{

var img:Image = event.currentTarget as Image;

ExteriorUpperLabel.text = img.id;         //This line now runs :-)

mx.controls.Alert.show ("something new Got Clicked");

}

Tags: Flex

Similar Questions

  • This should be easy! How can I change the background color of my domains?

    My apologies if this has already been posted but nothing has developed by Google, nor the Forum search.

    I'm sure that this should be easy, but it really does my head!

    I have a number of text boxes, drop-down lists, etc. in my form - I put backgrounds customized to each that are visible in Design view. However, in the PDF preview all the fields have a blue color by default and don't change to my origins custom when you enter in the field.

    Is it possible to remove the coloring by defect in the fields while it's the same as my Custom background? My Custom backgrounds are "linear downstairs" so I don't want just the value one-colour border.fill.color.

    Thanks for any help,

    Hello

    If you include this Javascript in the node docReady event root (default ' form1').

    app.runtimeHighlight = false;
    

    This will stop the highlight of field. It does not prevent the user from back on the highest point, it means that your screen opens with the highlight off the coast.

    Hope that helps,

    Niall

    Ensure the dynamics

  • This should be easy but... VLANS and switches

    I have 2 switches Dell 6224 is in Vlan35 and the other is vlan110 - I have an Ethernet cable connecting a switch to another - the port on the vlan 110 arrives but the port on the vlan 35 does not work - I want to access the vlan switch 110 of vlan 35 - what should I add to my config so that it works?

    Thank you very much

    Eric

    When you need two different VLANS to communicate with each other if you have enabled an L3 device on the network to perform routing. Your 6224 ToR may already setup for VIRTUAL LAN routing. In the config, it will have the command # ip Routing. Then the switch should just an IP address for each VIRTUAL local area network, and can then route between the VLANS.

    Example of possible configuration:

    6224 ToR

    VLAN 1 = 192.168.1.1
    VLAN 35 = 192.168.35.1
    VLAN 110 = 192.168.110.1
    # ip Routing
    # int port-channel 1
    switchport mode trunk #.
    # permit switchport trunk vlan add 35 110

    6220

    VLAN 1 = 192.168.1.2
    VLAN 35 only = no IP address
    VLAN 110 no = no IP address

    port-channel int # 1 (connection to ToR 6224)
    switchport mode trunk #.
    # permit switchport trunk vlan add 35 110

    port-channel int # 2 (connection iSCSI 6224)
    switchport mode access #.
    # switchport access vlan 110

    iSCSI 6224

    VLAN 1 = 192.168.1.3
    VLAN 35 only = no IP address
    VLAN 110 no = no IP address

    port-channel int # 1 (connection to 6220)
    switchport mode access #.
    # switchport access vlan 110

    You can also try to continue in the way of the use of the static routes for everything, I don't know how this will work.

  • Help! This should be easy, but it's not...

    I can't find a way to make my website link from one page to another without opening a new window. It has never bothered me, but I had complaints from others about this and now I'm working on a website for my job and my boss is being one of those who can't check the pages of its site and have 20 windows open at the time wherever he leaned to each one(page/link). You can see what I mean if you check out the site, mine or my workplace... www.councileyecare.com or my www.brooketheartist.com site

    Any ideas? I think that it is probably just a little thing in the encoding of http or something, but all the help of dreamweaver menus do not seem to help. Can you help me please! I am cross eyed from reading all these how to manuals all day trying to figure it out myself...

    Thank you so much Alan!
    I knew it was something stupid I did...

    Good advice is and so fast... I will never hesitate to go back to one of these forums when I need help. Thank you! Thank you!! Thank you!!!
    * Big hug *.

  • Collectors form values - this should be easy!

    I have an application that dynamically creates an xml file form items. (text, date, radio, checkbox, combobox). I'm currently collecting ideas values of an object. This code works fine until it reaches a non-text such as checkbox or radiobutton component.

    I get this error: "not found text on mx.controls.CheckBox property and there is no default value.»

    Show how I treat non-text formItems?

    This is the function that I have:

    private function collectFormValues (): Object {}
    vals var: Object = new Object();
    var items: Object = userInfoForm.getChildren ();

    for (var i: int = 0; i < items.length; i ++)
    {
    var point = items. getChildren();
    Vals [item [0] .name] = item [0] .text;
    }

    return of vals;
    }

    Thanks for any help!

    ------------------------------------------------------------------------------------------ --------------------------

    Application URL: http://www.i-codedesign.com/dynform/etouch_form_2.html

    A lot of Code + xml below if necessary.



    null URL of the application

    It works well...

    public function collectFormValues (): Object
    {
    vals var: Array = new Array();
    var items: Object = userInfoForm.getChildren ();

    for (var i: int = 0; i< items.length;="" i++)="" looping="" around="" formitem="">
    {
    var point: Array = items . getChildren(); / / get the children of the formitem

    for (var j: int = 0; j< item.length;="" j++)="" looping="" around="" the="" controls="" contained="" in="" the="">
    {
    If (Item [j] .toLocaleString ().) IndexOf ("TextInput") >-1. item [j] .toLocaleString () .indexOf ("TextArea") >-1.
    Item [j] .toLocaleString (). IndexOf("DateField") > - 1).
    {
    Vals.push (ID of the item [j] "=" + item [j] .text);
    }
    another if (item [j] .toLocaleString () .indexOf ("CheckBox") >-1: item [j] .toLocaleString () .indexOf ("RadioButton") >-1)
    {
    Vals.push (ID of the item [j] "=" + item [j] .selected);
    }
    another if (item [j] .toLocaleString () .indexOf ("ComboBox") > - 1).
    {
    Vals.push (ID of the item [j] "=" + item [j] .selectedLabel);
    }

  • How can I convert stereo audio to mono? Cannot find what should be easy to answer.

    Well, that's another problem of CS5 that should be easy to find a solution, but one in which I can not find the answer. I tried the forum of Soundbooth, buit got no response.

    I have a dialog box that has been recorded and is due to an error, in stereo, with the left lane containing the dialog box and the empty road. Therefore, it is not mono. It's stereo, with all the sounds on the left.

    What I want is to make this mono, of course, but do not see how in Premiere Pro and Soundbooth.

    I have CS5 Prod Prem thank you much for the help.

    fix my fault of hit of the previous post:
    You probably applied an effect to "fill right" to the track.

    How is it that the right path is always empty? I apply the effect, but the display does not informqation for track.

    You have a stereo audio track, which channel right has no information.
    You need to make sure that you do not "Fill right", this channel is empty.

    Use 'fill the left"to hear the left channel of your audio stereo.

  • I AM TRYING TO BUY THE 64-BIT VERSION OF THIS BICYCLE CARD GAMES SHOULD BE EASY, BUT BELIEVE ME, IT'S NOT

    I AM trying to BUY a 64-BIT VERSION OF the BICYCLE CARD GAMES I HAVE a FEW VERSION COMPATIBLE WITH MY PC

    Hello

    ·        What operating system do you use?

    ·        The place where you try to buy?

    If you use Windows 7 or Windows Vista, the Bicycle card game is compatible with Windows 7. Check the links below.

    Windows 7

    http://www.Microsoft.com/Windows/compatibility/Windows-7/en-us/search.aspx?l=en-us&type=software&s=bicycle%20card%20game&OS=32-bit

    Windows Vista

    http://www.Microsoft.com/Windows/compatibility/Windows-Vista/search.aspx?type=software&s=bicycle%20card%20game

    Bicycle Card Games

    http://www.Microsoft.com/games/PC/bicyclecard.aspx

    If the game is not compatible with your operating system, as suggested by Mickeyshd you can install and play the game in compatibility mode and check. For more information, see the links below.

    Make older programs in this version windows 7

    http://Windows.Microsoft.com/en-us/Windows7/make-older-programs-run-in-this-version-of-Windows

    Make older programs in this version Windows Vista

    http://Windows.Microsoft.com/en-us/Windows-Vista/make-older-programs-run-in-this-version-of-Windows

    To further support on the Bicycle card game, you can check with the manufacturer of the game. Click on the link below.

    http://www.bicyclecards.com/game-rules-pages-2.php

    Thanks and regards.

    Thahaseena M
    Microsoft Answers Support Engineer.
    Visit our Microsoft answers feedback Forum and let us know what you think.

  • L10: Deletion of records - should be easy or is it?

    Hi ive just brought a new satalite L10 and im having a problem with it. I can't do the simplest thing - when I create a new folder on my desktop or document folder and try to rename it or delete it - it won't work and the computer laptop everything freezes! In view of its new brand should not be a problem! Any suggestions?

    Hello

    It s a strange question. I never heard that after deleting a file from the laptop freezes.
    Have you tried to recover the operating system?
    I heard about a question, after that opening an html document the laptop came down. In this case, the motherboard had a flaw.
    Well. As a first step, you can try to pick you up the system if it doesn t work I suggest you contact the service partner.

    Good bye

  • Since the (all updates) update yesterday, I find one inactive (used only for vpn) network adapter waiting for DHCP Ip address. 1 minute. This should not happen.

    This adapter (or should I say windows) should not ask an IP address until it is in use. There is no difference if I disable it in Device Manager. I get the following error (ID 1001):

    Your computer not was not assigned a network address (by the DHCP server) for the network card with the address...    The following error occurred: 0 x 79. Your computer will keep trying... Since the server (DHCP).

    The MAC address is the MAC address of my "virtual" network card

    In the meantime my physical network adapter does not work. It seems windows is just to wait a response "who will not to pass" a DHCP server which unless I launch the VPN software is simply not going to work.

    I suspect that it is the result of an update that should not work this way.

    Any suggestion is welcome.

    Thank you.

    I would just add - it may be important for long-term understanding of the issue. In network connections, the VPN arrested projected map (still there in Device Manager). I see only the physical card. After removing both and reinstall the two becomes visible. The previously hidden map (vpn) becomes visible. It was not until the physical adapter has been reinstalled (logically). Personally, I have no idea why this I messed up. There should not be.

    Best regards, Dave.

  • New to all this, should help understand what to try, to turn.

    I have a dl380 G3 and a Dell 2650 available.  Hardware Guide says that ESX3.5 U 5 is supported.  I think I read it correctly.  What I would like to have is a hypervisor, according to me, the os and VirtualHost combined into a single entity. I would like to install this on a cd.  I could download ESXi 3.5 U5 (I reg #).  Is it the same thing as U5 ESX3.5?  Uncertain as to the differences.  If not, how can I download ESX3.5?, as it is ESXi3.5 I have hangs during installation on the DL380.

    Perhaps reasking in another forum?  Maybe get some help with my existing ESXi installation?  Where should I go from here?

    ESX is not free.

    To have the old edition 3.5, you must buy the 4.x and then ask a downgrade of the license.

    André

  • This should be a simple query, shouldn't it?

    I have two tables: studentsand grades.

    My goal is to create a view that:
    -for each course in the categories table, shows the number of students who took the course,
    - and shows a column for each program , number of students in this program who have completed the course.






    It should look like this:

    COURSE_ID COUNT (STUDENT_ID) IN_BSC IN_ARTS IN_UT IN_CIS
    --------------------------
    17 10 3 1 3 COSC111
    16 9 2 2 3 COSC121
    etc.






    Of course, the above is an example - I still need to make the request. So far, I have the following statement:

    Select course_id, count (student_id)
    the first year
    Course_id group;

    .. .and it returns this:

    COURSE_ID COUNT (STUDENT_ID)
    -------------------------
    COSC111 17
    COSC121 16
    COSC126 1
    COSC211 9
    COSC218 7
    COSC222 4
    COSC224 6
    COSC226 8
    COSC229 8
    COSC304 2
    COSC310 2
    MATH111 14
    MATH222 4
    MATH226 8

    14 selected lines






    I am now faced with how to add columns showing how many students is everyone's programs.

    I was taken to countless attempts syntactically for the better part of 2 hours. I joined the two paintings together, but this does not seem to get me anywhere.

    I would appreciate a helping hand.

    Hello

    Welcome to the forum!

    Whenever you have questions, please post CREATE TABLE and INSERT statements for your sample data. If you do not, then people are unable to test their ideas, and your chances of getting a good response are reduced. Since this is your first post, I'll do it for you:

    CREATE TABLE     grades
    (     student_id     VARCHAR2 (11)
    ,     course_id     VARCHAR2 (7)
    ,     PRIMARY KEY (student_id, course_id)
    );
    
    INSERT INTO grades (course_id, student_id) VALUES ('COCS222', 'BSC-1');
    INSERT INTO grades (course_id, student_id) VALUES ('COCS222', 'ARTS-2');
    INSERT INTO grades (course_id, student_id) VALUES ('COCS222', 'UT-3');
    INSERT INTO grades (course_id, student_id) VALUES ('COCS222', 'CIS-4');
    INSERT INTO grades (course_id, student_id) VALUES ('COCS304', 'CIS-4');
    INSERT INTO grades (course_id, student_id) VALUES ('COCS304', 'CIS-5');
    
    CREATE TABLE     students
    (     student_id     VARCHAR2 (11)     PRIMARY KEY
    ,     program          VARCHAR2 (4)
    );
    
    INSERT INTO students (student_id, program) VALUES ('BSC-1',  'BSC');
    INSERT INTO students (student_id, program) VALUES ('ARTS-2', 'ARTS');
    INSERT INTO students (student_id, program) VALUES ('UT-3',   'UT');
    INSERT INTO students (student_id, program) VALUES ('CIS-4',  'CIS');
    INSERT INTO students (student_id, program) VALUES ('CIS-5',  'CIS');
    INSERT INTO students (student_id, program) VALUES ('CIS-6',  'CIS');
    COMMIT;
    

    I used VARCHAR2 in all the places where you used car. do not use TANK; There is nothing that trouble.
    Note that the CREATE TABLE statements above include all the columns, you say you have. Simply include columns that play some role in the problem. If you are unsure if a certain column is necessary in a problem or not, and then includes, to be sure.

    Also post the exact results of your choice in the sample data. The sample data above, I think you want:

    COURSE_ TOTAL_STUDENTS     IN_BSC    IN_ARTS      IN_UT     IN_CIS
    ------- -------------- ---------- ---------- ---------- ----------
    COCS222              4          1          1          1          1
    COCS304              2          0          0          0          2
    

    What you want is an example of a Pivot . Like many other things, exactly how do the articulation points depends on what version of Oracle you have. The following query works in Oracle 8.1 and higher:

    SELECT       g.course_id
    ,       COUNT (*)     AS total_students
    ,       COUNT (CASE WHEN s.program = 'BSC'  THEN 1 END)     AS in_bsc
    ,       COUNT (CASE WHEN s.program = 'ARTS' THEN 1 END)     AS in_arts
    ,       COUNT (CASE WHEN s.program = 'UT'   THEN 1 END)     AS in_ut
    ,       COUNT (CASE WHEN s.program = 'CIS'  THEN 1 END)     AS in_cis
    FROM       grades     g
    JOIN       students     s  ON     g.student_id     = s.student_id
    GROUP BY  g.course_id
    ORDER BY  g.course_id
    ;
    

    If you use Oracle 11, you can also use the SELECT... Function PIVOT.

    I guess that the combination (couse_id, student_id) is unique in the table of ranks, as it is in the CREATE TABLE statement that I made. If not, then the solution is a little messier: you have to COUNT (DISTINCT student) in all cases.

    Published by: Frank Kulash, 20 February 2012 18:51

  • Does anyone know how to create this quick and easy?

    Normal I have something like this would create is to set the type, change in contours and place the words in a form or a template

    and edit every word. Does anyone know how to make faster and easier? I work in CS4. Thanks for anyones help.

    Tshirt type.jpg

    1. Draw a shirt
    2. Step 2 Pathfinder > divide
    3. Set the type and turn it into position. Compensate for each section for the space between the two.
    4. Select a segment of the shirt and the segment type. CMD OPT C (object > envelope distort > make with the top object)
  • Should be easy: mark a file for download

    I'm trying to make a .kmz file (zipped google earth file) available on my site.  When I click on the link,

    my browser tries to open it in the web browser.  I want just a pop up box and give the user the option to download the file.

    How can I do this?  Thanks for any help!

    You should be able to click right on the link to download the linked file.

    If you want to force download left click then create a zip file and hyperlink to the .zip file.

  • I have 'hidden' bot aciddentally top a bottom of menu bars. Now I don't find ANY source on how to 'show' If this should not be among the bases?

    Up and down had the icons and the information that I use, of course. It should be clear how these are masked and not masked, while I spent a ridiculous amount of time trying to get in all sorts of items 'help' and can't find anything. Very frustrating

    Make sure that you run not Firefox mode full screen (press F11 or Fn + F11 to toggle; Mac: Command + SHIFT + F).

    Make sure the toolbars like the toolbar 'Navigation' and the 'personal bar' are visible.

    • View > toolbars (Linux, Windows: press F10 to display the menu bar)

    Use the toolbar (Customize) to open the Customize and set the toolbar to display items.

    • If the missing elements are in the toolbar palette then drag them from the window, customize the toolbar
    • If you do not see an item on a toolbar in the toolbar palette and then click the button "Restore default" to restore the default toolbar configuration

    You can check the problems caused by a corrupt localstore.rdf file if the above didn't help.

  • I have version 9.0.1 on 2 PCs, 1 on xp and 1 Windows 7. Windows 7 displays a new tab on the top left, but the xp looks like he always did. This should be so? Thank you

    Firefox 9.0.1 on XP sp3 and Windows 7 Home premium sp 1 with any other updates.
    new tab named is a menu drop-down showing that several options, e.g. new tab, start private browsing, to exit.

    The Firefox button menu is activated by default in Windows Vista and Windows 7. You can easily change XP.

    Other frequently asked questions after updating to Firefox 3.6: https://support.mozilla.org/en-US/kb/common-questions-after-upgrading-firefox-36

    If this answer solved your problem, please click 'Solved It' next to this response when connected to the forum.

Maybe you are looking for

  • Suggestion on live wallpapers

    They must absolutely be removed from the release, at least disable the ability to add to the standard desktop computer, but if someone uses another house (like Launcher Pro), it will always be able to access and activate wallpapers direct.

  • HP8600 Server2003 shared printer will install in XP but not Win 7 profiles

    Printer is shared on a Windows Server 2003 box. The driver provided by the Web site does not work with Win 7 profiles, XP only. I found another issue even in the printer forum installation/configuration:here where a HP technician recommended to use t

  • Read device settings programmatically

    Hello I'm reading some device programmatically setting but I have not found any appropriate API, for some of them: (1) telephone number of device (2) the current language of the device Can someone help me with this? Thanks in advance.

  • Two RichTextFields on the same line

    I am writing two RichTextFields in the same line, but one of them with a font in bold and plain text for the other. I do this, but for some reason any the second richtextfield is not shown in my screen. I have no idea what I'm doing wrong... myFontNe

  • How send/copy the files of the administrator account to a standard account on the same pc

    How can I copy files from my Administrators account of standard user account to my husband on the same PC