Inline < mx:Image... > < mx:itemRenderer > element could not see the defination of method

I was following the code and got a compilation error ("possiblely calls a function not defined") because the < mx:Image... > in the < mx:itemRenderer > did not see the method defination 'aMethod ':

< mx:Form... >

< mx:Script > <! [CDATA]

....

private void aMethod(evt:Event):void {
Code of...
}
[]] > < / mx:Script >

< mx:Canvas label = "Tile view" width = "100 percent" height = "100%" >

...
< mx:TileList id = dataProvider = "{this.photoDP"photosTileList"}" width = "100%" height = "100%" > "
< mx:itemRenderer >
< mx:Component >
< mx:Image horizontalAlign = "center" source = "{data.url.text ()}" "
"toolTip =" {data.caption.text ()} "width ="55"height ="38" complete =" aMethod (event) "/ > <! - it causes the error - >
< / mx:Component >
< / mx:itemRenderer >
< / mx:TileList >

< mx:Image... = full "aMethod (event)"/ > <!--it's OK here--> "

< / mx:Canvas >

< / mx:Form >

I don't know why the line < mx:Image > < mx:itemRenderer > inside cannot see the defination of function 'aMethod' in the same mxml file.

Any suggestions?

You need outerDocument and the method cannot be private, it must be public:

Complete = "outerDocument.aMethod (Event)" "

If this post answers your question or assistance, please mark it as such.

Greg Lafrance - Flex 2 and 3 certified ACE

www.ChikaraDev.com

Flex / development, training, AIR and Support Services

Tags: Flex

Similar Questions

  • Could not see the LED in Windows 7 X 64

    Hello

    I write a progrm by measurement studio 8.1.2 + vs2005 in win XP, and I put a few LED components in form and generate an MSI for x 86.

    When I try to run the program to the other PC, a PC with windows 7 x 64 could not show the LED components.

    I try the other PC with windows 7 x 64 and the work, just only a PC could not see the LED components.

    How can I do?

    Thank you

    Dennis

    In general, this has to do with the Mesa.dll dependence, which is necessary for styles 3D as explained in this KB:

    http://digital.NI.com/public.nsf/allkb/ABAE912AAE671AC08625788D0076BE51?OpenDocument

    There is also a problem known to distribute to Windows 7, as documented in this KB:

    http://digital.NI.com/public.nsf/WebSearch/046E1B36934C7C198625788000591A1E?OpenDocument

  • could not see the image tiff, printed using Microsoft Office Image writer

    My OS is Windows Vista Home Premium.

    I am able to print a document using the printer, but when I print the same document by selecting the Microsoft Office Image writer, I cannot find the image file to the location that I saved. I am able to see the image immediately after printing, but does not after the closing of the window. I am able to see the document I'm trying to attach it to an email in the file to be attached to window, but if I join I get an error message saying that the file is not found at the location. If anyone can help...?

    Ooes that happen with all the tiff images or just a specific document?  It happens with any other type of file?

    If it occurs with a single document and works very well with other tiff files, then I would say that the file is corrupted.  Can you open it directly?  It may be a problem with Office Image Writer, and possibly your e-mail program - but it's not likely if they work with other files, tiff and other file types.

    Maybe the Office has a feature to repair corrupted files.  Also if the problem affects all files tiff and other types of files when you use Image Writer, I suggest that repost you your question in the Forum of the Office to: http://www.microsoft.com/office/community/en-us/flyoutoverview.mspx where the experts at the office will be more than happy to help you with your problem.  You can also find 3rd-party file corruption repair sofware online by searching for what I said just to www.download.com, www.tucows.com, Bing and Google.  If you use Outlook for e-mail, you can after there as well to cover the messaging problem you described.  If you use another e-mail program, answer simply by name.

    I hope this helps.

    Good luck!

    Lorien - MCSA/MCSE/network + / has + - if this post solves your problem, please click the 'Mark as answer' or 'Useful' button at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.

  • When I open an image in Photoshop, I can not see the file.  The thumbnail on the right, but I do not see the image on the work area. I use Windows 8

    When I open Photoshop CS6, I can't see the image.  The thumbnail is visible on the right side and the work area shows file information, but not picture.  I've updated PS, my driver. The same goes for the jpg or RAW.

    Make sure that your drivers are up-to-date. Try to disable the GPU acceleration in preferences then restart Photoshop.

    Benjamin

  • Images of blackBerry Smartphones could not load the BDS Version 7.1.0.37

    I have 8 and now put windows upgraded to version newly released from the COMICS (version 7.1.0.37 released on 13/12/12). When I go to media sync, the pictures folder says failed to load due to an unexpected error. Music and video tabs work fine. I repaired the installation, uninstalled and installed again with no luck whatsoever. Any ideas?

    Ah, the two phones.  What happens if you switch SD cards and try again for troubleshooting purposes?

  • Could not see the iSCSI target in the adapters iSCSI software under Configuration details page

    Detailed description:

    After you add the IP address of the iSCSI target in the target iSCSI dynamic discovery Tab names can be seen under static discovery. But, iSCSI target is not considered as adapters iSCSI software tab Configuration details page.

    This iSCSi target is already mounted as a data store VMFS5 with some VMS on an another ESX which is part of the different ESX cluster in the same center of work data.

    thinking the im network configuration

    You vm kernel ports configured correctly?

    you use VLAN? If so see if your config of vlan is correct

  • Time machine could not complete the backup of... The backup disk image could not be found (error (null))

    Running OS 10.11.3 on my early 2011 Macbook Pro 2.7 GHz Intel Core i7 with 4 GB 1333 MHz DDR3, use Time Machine to back up to my Airport 802.11ac purchased 16/09/2014:

    Backup failed: Time Machine could not complete the backup of... Airport Time Capsule.   The backup disk image ' / Volume/Data/MacBookPro.sparsebundle ' could not be found (error (null)).   Last successful backup: yesterday at 12:17

    I can see the airport and the data file in my network.

    I immediately did a full time Machine backup on a USB key and it disconnected from my system.

    I unplugged the airport, let it rest for a minute and returned the power plug, let it settle for a green light.  I'm restarting Time Machine backup to the airport.

    I need to replace the airport?  The appliance starts to fail?  Or, it is more likely is a problem with winter static electricity that has damaged the image and reconstruction will fix all this.  Reconstruction will take about four hours with no guarantee that it will work.

    Please see #C17 in this document great support... http://pondini.org/TM/troubleshooting.html

  • HAB check failed for start / could not validate the boot image

    Hello

    I have neglected my E bike for a few weeks and when I loaded and it fed today, it shows a menu and:

    HAB check failed to start

    could not validate the boot image

    Tried all the menu items and none of them worked. For me, it's very odd behavior, because BONE is not affected since the last Android 5 update, several months ago.

    Are there opportunities for the device?

    If you can't make an external reset via hardware buttons, then your phone will have to service.

  • HP Photosmart Premium C410b: could not save the scanned images

    I use the HP Scan application and the error message: -.

    Could not save the scanned images

    appears when you try to save in a folder as a PDF or any other format.

    Ironically, if I'm going by sending to the printer and then save to PDF it works!

    I checked and I'm using 4.2.2 with El Capitan HP driver software

    Any thoughts?

    Hello

    The application from HP for your printer is not compatible with El Capitan, so the output files incorrectly recorded.

    In the Hewlett-Packard folder move HP Scan to the trash and empty it.

    Before you install and use the HP Easy Scan application below which should save the files correctly:

    https://iTunes.Apple.com/us/app/HP-easy-scan/id967004861?MT=12

    Kind regards

    Shlomi

  • Retrieving error - could not find the path of the image... M:/RecoveryImage/install.wim

    So, I went out and bought the USB on the gateway site to restore this laptop again and when I tried to do, he says recovery failed - could not find the path of the image M:/RecoveryImage/install.wim.

    I contacted support and they issued me a replacement USB drive, I get the same failure.

    I diagnosed the HARD drive and it passes.  I used diskpart to 'clean up' the disk drive HARD all nothing doesn't.

    [Under the direction of privacy] order number

    What gives?

    Acupro1,

    I you sent a PM with respect to research purposes.

  • Windows could not load the installer of the image. Help please!

    My HP4010 scanner has stopped working. I tried to reload the software, but now get message ' windows has no load installer for the image. I have uninstalled and reinstalled the HP software and tried as far as I know. I downloaded the latest HP drivers but no change. I should be grateful if you would help.

    Thank you

    John

    Hello

    Step 1: This could also be a problem with the driver. I suggest you to install the right driver for your scanner from the manufacturer's Web site and check if it works very well.

    http://Windows.Microsoft.com/en-us/Windows-Vista/update-a-driver-for-hardware-that-isn ' t-work correctly

    Step 2: Install the latest version of DirectX on your computer.

    Reinstall the latest version of Microsoft DirectX. For more information about troubleshooting and installing DirectX click the numbers below to view the articles in the Microsoft Knowledge Base:
    (http://support.microsoft.com/kb/179113/ ) How to download and install DirectX

    (http://support.microsoft.com/kb/157730/ ) How to determine the version of DirectX using the DirectX Diagnostic tool

    Step 3: You can also delete the upper and lower of your registry filters and check if it works.

    WARNING:

    Change the settings of the REGISTRY can cause serious problems that may prevent your computer from starting properly. Microsoft cannot guarantee that problems resulting from the REGISTRY settings configuration can be solved. Changes to these settings are at your own risk.

    http://Windows.Microsoft.com/en-us/Windows-Vista/back-up-the-registry

    a. Click Start and then click all programs.

    b. click Accessories and then click Run.

    c. type regedit and then click OK.

    d. If you are prompted for an administrator password or a confirmation, type the password, or click on allow.

    e. in the navigation pane, locate and then click the registry key under:

    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\ {4D36E965-E325-11CE-BFC1-08002BE10318}

    f. in the right pane, click UpperFilters.

    Note You can also see an UpperFilters.bak registry entry. You don't have to delete this entry. Click UpperFilters. If you do not see the UpperFilters registry entry, you may still have to delete the LowerFilters registry entry. To do this, go to step i.

    g. in the Edit menu, click on delete.

    h. When you are prompted to confirm the deletion, click Yes.

    i. in the right pane, click LowerFilters.

    j. in the Edit menu, click on delete.

    k. When you are prompted to confirm the deletion, click Yes.

    Exit Registry Editor.

    Mr., restart the computer.

  • could not clean the file history data element not found in windows 8

    My drive hard ext fills, and when I try to clean the first versions or any version I get the same message "could not clean the file history data element not found in windows 8" I don't know if there is a corrupted file.  The only thing I have not done is to delete the entire folder FileHistory ext drive and start again.

    Hey Daley,

    If there are errors in your player in the history of the files that need to be repaired, try to repair your disk

    1. Open the Center of the Action drag from the edge right screen, quilting search (or if you use a mouse, pointing to the top right of the screen, move the pointer of the mouse down and then clicking search), entering in the center of Action in the search box, type or by clicking settings and then by typing or clicking on the center of Action.

    2. Tap or click repair.

    Warning of Chkdsk.

    Important: When running chkdsk on the drive if bad sectors are found on the disk hard when chkdsk attempts to repair this area if all available on which data can be lost.

    Reference:

    What happens if something is wrong in the history of the files?

    Please post back with more information and the status of the issue.

  • FRM-41331 could not remove the element

    Hi all

    I got the error when I am filling the list item...

    Here, I write the query in WHEN BUTTON PRESSED

    
    declare
      vGroupId  varchar2(10);
      vRecGrpId recordgroup := find_group('rg_test');
    begin
      clear_list('BLOCK3.DESCRIPTION');
      vGroupId := populate_group(vRecGrpId);
      clear_list('BLOCK3.DESCRIPTION');
      populate_list('BLOCK3.DESCRIPTION',vRecGrpId);
    end;
    

    I create a record group-> rg_test

    Request: select code, DESCRIPTION of test_list DESCRIPTION order

    If I run the form and press the button on his watch list item values

    My problem is after execution of forms, I inserted the new value in DB, again once I'll push her mistake to see the 'FRM-41331 could not remove the element'

    Please help me I want to fill in the values taken after insertion

    go_field ();

    clear_item;

  • "Could not complete the command image size because that file name is not valid"

    Hello

    Please help me, when I try to resize the file psd his watch this message... .whats the matter?

    "Could not complete the command image size because that file name is not valid"

    Thank you!

    I had the same problem with you and tried to look around, but I solved it myself. One or two layers created by the insertion of your library which have been uploaded to the server cloud.

    When you open the file, you can see the warning as "recreate a link... blah blah your file" If reject you the message, you can still work on it, but you cannot resize, or drag all layers to other new file (tried).

    Everything you need that discovering the layers that are related to the server delegating and delete it. FACT.

  • Could not use the Clone Stamp tool as the area to clone has not been set

    Freshly installed 10 items.  Can not use the option-click to define an area for the clone stamp.  The error I get is:

    Could not use the clone stamp tool because the area to clone has not been defined (option - click to set a sampling point).

    New Mac Mini.  Had the same problems in Elements 9 so I installed the trial of 10.  Is it an error of keyboard shortcut?  Do not have this problem with Elements 9 on my Mac Air or my Windows 7 system.

    I'm not a newbie and know how to use the tool clone.  I won't say that I'm an expert, so if it's something related to diapers please throw some ideas.

    Yes, that sounds like a problem of layers.  If the area that you use to define the source of duplication is a transparent area on one of your layers, it will not work.  Released from the Palette layers, then make sure that you use the area of the image (and not the mask area) - if the area of the image on the layer is active, it will have a border.

    Ken

Maybe you are looking for