eventhandling for buttonmode images

Hello

I am trying to rotate an image by making it clickable like this:

                ListEntriesCondition[i] = new Image();
                ListEntriesCondition[i].setImage("img/test-icon-black.png");
                ListEntriesCondition[i].setPosition(175, 25 + (i*40));
                ListEntriesCondition[i].buttonMode = true;
                ListEntriesCondition[i].addEventListener(MouseEvent.CLICK, toggleMyCondition);

Then I next to the click event handler:

private function toggleMyCondition(e:MouseEvent): void
        {
            e.currentTarget.setImage="img/test-icon-blue.png";
        }

However, that does not work for images buttonmode. The problem is that the subject of the image is part of a table, so I need to be able to dynamically address inside the event handler. Any good idea how to do this?

See you soon!

Too bad...

e.target.setImage("img/test-icon-blue.png");

It did for me

Tags: BlackBerry Developers

Similar Questions

  • When I right click on an image, I can't see the option "search Google for this image. How can I get that back?

    I don't know what that I have maybe changed, but right-click on any image, gave me the option in the Google search menu for the image. This option is gone.

    This is not a built-in feature. Have you used any of these extensions:

    You might first check the addons page to ensure that it is not disabled. Either:

    • CTRL + SHIFT + a
    • "3-bar" menu button (or tools) > Add-ons

    In the left column, click Extensions. On the right side, off the cluster of extensions at the bottom.

    If it is enabled, it could be a problem with some of the code in the extension is not compatible with Firefox 40, or one other extension it bumping from the context menu.

  • HP Image Zone Update for HP Image Zone Plus?

    I have a Hp Pavilion a350n. With a HP Photosmart 2610 installed. The HP Image Zone is the 4.5 version, (which contains my version 045.004.157.000 Images, Edit version 045.004.157.000, version 3,0,0,10 of the picture library, version of the creative projects 045.004.157, HP Image Share 045.004.157.000 version) in the downloads and updates for the ngn350 section (http://h10025.www1.hp.com/ewfrf/wc/softwareList?os=228 & lc = en & cc = us & dlc = en & product = 371643 & lang = en) there is an update for HP Image Zone Plus (large enough 254 M), the upgrade is the file 'sp26422.exe., published on 30/11/04, Version 4.2.3  I thought that it would be upgrading my area of Image to Image Zone Plus. This is not the case. In my view, he says that I had need of HP Image Zone version 4.7 or later or something like that. I'm not under the HP/Windows delivered software came with the computer (a long story) so I have Windows XP Pro with the printer driver (solid line). The printer was purchased in December 04. Is it possible to upgrade the software of HP Image Zone for HP Image Zone Plus? Or update the current HP Image Zone 4.7 and update Image Zone Plus? Any ideas would be appreciated.

    Thanx

    Only after the last tree has been cut down.
    Only after the last river has been poisoned.
    Only after the last fish has been captured.
    Then only you find that money cannot be eaten.
    -Indian prophecy screams-

    Current offer of HP's HP Photosmart Essential:

    http://www.HP.com/United-States/consumer/digital_photography/free/software/index.html?JumpID=hpr_R1002_USEN

  • Can I have a global calibration for different images sizes in VBAI

    I run a VBAI algorithm on images from several cameras to linear scan.  We use a square, simple, calibration (.42mm/pixel) for each image, they are always 1024 pixels wide, but can vary in length of the image.  Currently, I use several instances of Calibration Wizard then 10 to account for variations in length, but it seems to me that the internal calibration resulting is the same for each instance.  So is it possible that I can set up a unique calibration use if for any length of the image?

    Thank you

    This is a feature that we added in the latest version of Vision Builder AI (2012), which will be available very soon.

    Would it be possible for you to use the LabVIEW execution step to calibrate your image? If so, you can call a LabVIEW VI that sets the calibration using IMAQ Calibration2 Simple to set, after the steps in the acquisition. Once the image is calibrated, all subsequent steps must return results calibrated, even if you do not use the VBAI built in calibration.

    Christophe

  • Train of SVM IMAQ for no Image data

    Hello

    I am fairly new to machine algorithms for learning about Labview so please be patient if my question seems stupid. I was wondering if there is a workaround to use the screw of Machine Vision SVM (e.g. IMAQ SVM Train) for not the image data. I know Machine learning package and I will surely give it a try with those but MV screws are really well organized and allow to record the training in a very elegant manner.

    Indications, suggestions or, well, even a "no, can't it' is really appreciated!

    Moreover, any luck of having the learning algorithm Machine present natively in LV?

    Thank you

    FRAX

    -According to my knowledge IMAQ screws are specifically for the Images.

    -Your best chance is using Machine learning package that you have already found.

  • save an image in an image file and reloaded on another computer for the image processing

    Hello

    Can I save the image to an image file and then reload the file on another computer for the image processing? What type of image format should I save for it? Is there any loss of image if I do this? The machine with the camera sits in our lab, and I want to test the software on my own computer image processing. So can someone give some good ideas on this. Thank you

    Jane

    I assume you have the module development VDM and vision acquisition software going TO on your computer.

    So just use playback IMAQ and IMAQ save functions. BMP, png are good for losless save unlike jpg and jpeg2000.

    Hope this helps

  • Thin Client T510: Do not support the SMB for no image preload on Linux platform

    Hello world

    I have a problem with a Thin Client T510 (C4G87AT #ABA), this one came with Windows CE and today I flashed with a USB to thin Pro 5 (T6X52011). When I want to deploy the image I captured (wallpaper, RD Session etc...) I have the following error:

    2015-08-19 15:30:43 [error details]:... /... / Task/linux/ImageTask_Thinpro.cpp@384: Metheod of the Image is not compatible.
    .. /.. / Task/linux/ImageTask_Thinpro.cpp@1624: do not support SMB for no image preload on Linux platform.

    When I look in the console HPDM, I see the T510 and connected

    Agent version: 4.6.3670.21244

    HDPM 4.6 SP5

    OS: T6X52011

    My OS: Windows 8.1 x 64

    Can someone help me please? Thks and have a nice day.

    Hi, thks for this Council. Theres is how I fix.

    Firstly, the master repository has change from D:\HPDM\HDPM to D:\HPDM on the server, so the configuration was not good at the moment. Another thing, the password of the user hpdm has changed in Active Directory, but not in the configuration. I changed all the settings for in line with the current configuration and capture Images of thinpro news works very well and deploy this new works pictures well too but Deplopyement of old images does not work.

    I'll open another thread if I need assistance. In this case, I'll mark as fixed.

  • Cannot specify a different location for multiple-image backups.

    I want to record several image files on an external drive (which can contain a large amount of data)... It was suggested to specify a different location for the second image... but when I run the process of backup image... first a screen shows my external drive where the image will be stored... but then the screens seem to just continue to do a backup. I don't see any place where I can change the location of the image... It keeps on the re-write on the last saved... image I think that maybe you can change the location of the regular backups... but not for the image file... its on another screen or buried somewhere... the help screen with "attention, images can be replaced" is meaningless for me... I thought he said that it would only replace old images if there is not enuf room on the disc.

    thanx

    Steve

    Hello bichon,

    Thanks for posting on the Microsoft answers Forum.

    Look at the post below which asked questions on images and backup locations.
    http://social.technet.Microsoft.com/forums/en/w7itprogeneral/thread/338e311d-c0fc-4c56-a4c2-b25a7028188b
    With this option, below is where you can make changes.
    Select the drive to destination or optical disk or network location to store backup files. (this is where I want to change the destination directory name).

    If please reply back and let us know if this helps answer your question.

    Sincerely,

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

  • Is it possible in Windows Live Mail to change the settings for the images remain in the body of the email, not in a slide show?

    change how I get pictures on incoming emails

    Most, but not all emails that I receive that contains images come as 'slide show', and where the image should be, there is a blank box with a red x.  Is it possible in Windows Live Mail to change the settings for the images remain in the body of the email, not in a slide show?

    I know that they are sent correctly, because I send on my iPod and the photos are where they should be.

    I have Windows 7 and I hope you can help me.

    Thank you

    Hello

    ·         What browser do you use?

    ·         What happens when you click on the slideshow of the photo? The photos are displayed when you click the slide show?

    If you use Internet Explorer, then I would suggest that you follow the instructions in the link and check if this can help:

    http://support.Microsoft.com/kb/283807

    If operations since the link above does not help then I suggest that you post your query on the Windows Live forum for assistance:

    http://windowslivehelp.com/product.aspx?ProductID=15

  • Search for vector images

    I have connected today and saw the new site of stock look and was horrified to see that I can specify is no longer I want to search for vector images.

    Has anyone found how do it now?

    If not it's horrible, I have to sift through the results more as much as I should to find what I want and be checking on the details page file formats to make sure it is the vector.

    OK I found it. You must click on the bit next to the search field settings icon and then there's a section called ' subcategory and under that, there is a button for the vectors. " Not particularly intuitive and certainly not as easy it was on the first page.

    Please correct Adobe.

    See you soon

  • need to install office jet 7410 mac software for hp image zone and Director of hp

    just converted from PC to Mac.  Need for HP Image Zone and HP Director software can print good but need for verification of ink and scanning

    Hello

    The software for your printer provided by Apple Software Update.

    Click the Apple icon, and then click software update.

    Make sure to install any update HP available.

    You can find any method of analysis available below:

    http://support.HP.com/us-en/document/c01910186

    Ink levels can be checked by the HP utility:

    • Go into System Preferences
    • Click on the print icon & scanning.
    • Double-click the name of the printer.
    • Click Printer Setup
    • Click on utility
    • Click Open Printer Utility.
    • Under information and Support, click the icon status of supplies.

    Please let me know of any questions,

    Shlomi

  • How can I put pictures outside the window of Photoshop elements 14 work, so that I'm not obliged to work within the program window, but use my screen completely for the image?

    How can I put pictures outside the window of Photoshop elements 14 work, so that I'm not obliged to work within the program window, but use my screen completely for the image?

    dannyb76251437 wrote:

    How can I put pictures outside the window of Photoshop elements 14 work, so that I'm not obliged to work within the program window, but use my screen completely for the image?

    Note that you can work with two screens and drag and drop the image to display on the other window.

    I think you mean working temporarily with the window enlarged image without displaying all the tools and panels.

    See:

    Panels and bins in Photoshop Elements

    My advice: take the time to read the above help and especially to look at ways to maximize this window if you are on Mac or Win.

    Set your preferences in the Edit menu to "allow the floating windows in expert mode.

    Use the "tab" on the keyboard key to hide or show your panels and tools quickly.

    Find out how to hide the photo tray.

  • Bought in video. Cannot download. Says "Licensing for this image are no longer available." Money from account.

    Bought in video. Cannot download. Says "licensing for this image are no longer available. Money from account.

    Hello

    You will need to contact support by calling/chat for this request.

    Contact the customer service

    * Be sure to stay connected with your Adobe ID before accessing the link above *.

    Please see Support FAQ: how to contact Adobe for support?

    Hope that helps!

    Kind regards

    Sheena

  • How to check the image source for the image which is losted?

    Hello world

    How to check the image source for the image which is losted?

    If the image source already exists, I can read the PlaceItem.file.fsName.

    But if remove the image of the source, read the PlaceItem.file.fsName will report the error: there is no file associated with this element

    Thank you

    If (app.documents.length > 0) {}

    var sourceDoc = app.activeDocument;

    sourceName = sourceDoc.name var;

    artItem =]

    for (i = 0; i < sourceDoc.pageItems.length; i ++) {}

    artItem [i] = sourceDoc.pageItems [i];

    If (.) TypeName artItem [i] == 'PlacedItem') {}

    If (.imageColorSpace [i] artItem == undefined) {}

    Alert ("the file is the link, but I don't know whether or not the source image is losted");

    }

    }

    }

    }

    Use try/catch to catch the error

    if (app.documents.length > 0) {
        var sourceDoc = app.activeDocument;
        var sourceName = sourceDoc.name;
        artItem = []
        for (i = 0; i < sourceDoc.pageItems.length; i++) {
            artItem[i] = sourceDoc.pageItems[i];
            if (artItem[i].typename == 'PlacedItem') {
                if (artItem[i].imageColorSpace == undefined) {
                    try {
                        var fname = artItem[i].file.name;
                        alert("file name: " + fname);
                    }
                    catch (e) {
                        alert("The file is linking ,but source image is lost");
                    }
                }
            }
        }
    }
    
  • I paid for 50 images.  How can I download the my library.  I have a mac

    I have I paid for 50 images.  How can I download the my library.  I have a mac

    Follow these steps: I downloaded my 10 free images and they all have the Adobe watermark on them, so I can't use them. Why do they have a watermark on them?

Maybe you are looking for