Why do list s:itemRenderer      in sdk 4.5 need a child   fx:Component

If I do this
<s:List>
<s:itemRenderer>
<fx:Component>
<s:HGroup >
<s:TextArea text="{data.comment}" height="40">
I get an error  Access of undefined property data

however in an external file you can do this:
<?xml version="1.0" encoding="utf-8"?>
<s:ItemRenderer xmlns:fx="http://ns.adobe.com/mxml/2009"
                xmlns:s="library://ns.adobe.com/flex/spark"
                xmlns:mx="library://ns.adobe.com/flex/mx"
                autoDrawBackground="true">
    <fx:Script>
        <![CDATA[
            import utils.Formatters;
        ]]>
    </fx:Script>
    <s:HGroup width="100%" verticalAlign="middle" paddingRight="10" paddingLeft="10" paddingBottom="5" paddingTop="5">

Similar Messages

  • In the numbers app, using the "date and time" function, is it possible to remove the time? I need to put together a list of dates, but I don't need or want times.

    In the numbers app, using the "date and time" function, is it possible to remove the time? I need to put together a list of dates, but I don't need or want times.

    When formatting your column to date/time, pick Date & time, and then pick the letter i in the circle to the right. Then scroll down and pick "No time"
    Jason

  • HT1414 why does my iPhone 5s shut down unpredictably and needs to be reset every time to start back up?

    why does my iPhone 5s shut down unpredictably and needs to be reset every time to start back up?

    Hi Cyprus11,
    Thanks for visiting Apple Support Communities.
    If your iPhone is shutting down unexpectedly, I recommend going through these troubleshooting steps:
    iPhone: Hardware troubleshooting
    http://support.apple.com/kb/TS2802
    Will not turn on, will not turn on unless connected to power, or unexpected power off
    Verify that the Sleep/Wake button functions. If it does not function, inspect it for signs of damage. If the button is damaged or is not functioning when pressed, seek service.
    Check if a Liquid Contact Indicator (LCI) is activated or there are signs of corrosion. Learn about LCIs and corrosion.
    Connect the iPhone to the iPhone's USB power adapter and let it charge for at least ten minutes.
    After at least 30 minutes, if:
    The home screen appears: The iPhone should be working. Update to the latest version of iOS if necessary. Continue charging it until it is completely charged and you see this battery icon in the upper-right corner of the screen . Then unplug the phone from power. If it immediately turns off, seek service.
    The low-battery image appears, even after the phone has charged for at least 20 minutes: See "iPhone displays the low-battery image and is unresponsive" symptom in this article.
    Something other than the Home screen or Low Battery image appears, continue with this article for further troubleshooting steps.
    If the iPhone did not turn on, reset it while connected to the iPhone USB power adapter.
    If the display turns on, go to step 4.
    If the display remains black, go to next step.
    Connect the iPhone to a computer and open iTunes. If iTunes recognizes the iPhone and indicates that it is in recovery mode, attempt to restore the iPhone. If the iPhone doesn't appear in iTunes or if you have difficulties in restoring the iPhone, see this article for further assistance.
    If restoring the iPhone resolved the issue, go to step 4. If restoring the iPhone did not solve the issue, seek service.
    Best,
    Jeremy

  • Why is this file locked (man chflags), does it need to be, and is it safe to unlock it?

    Why is this file locked (man chflags), does it need to be, and is it safe to unlock it?
    ~/Library/Application Support/Adobe/Enterprise/Resources/Resource_3_1.db
    Type this into a terminal in OS X, the above file appears to have a flag set to lock.
    x-man-page://chflags

    <the-sound-of-crickets>
    The reason I'm asking, we have a bunch of computers we inherited that have some permissions issues within each user's respective home directory ("~"). The issue effects Acrobat Pro X's ability to launch ("Internal error occurred") since it tries to get access files/folders it doesn't have access to when the user launches. Recursively setting ownership to the respective user fixes the problem (and follows Apple's guidelines). However, that one file appears to have the unix file lock set (man chflags). So we are using a pre-installation script on our push policy to loop through every home directory. It appears the above file is the only one that won't let us change permissions.
    Don

  • Why does my computer occasionally/randomly tell me "I need to restart..." - in four languages. Something ain't right.

    Why does my computer occasionally/randomly tell me "I need to restart..." - in four languages. Something ain't right.

    Thanks, rkaufmann87, that sounds like me all over. I didn't have a DiagnosticReports folder but I did have a "PanicReporter" folder. I have copied the most recent log (from earlier today) below. I would be grateful for your thoughts on solution or any further direction you can provide. Thanks.
    2011-11-17-085303.panic
    Thu Nov 17 08:53:13 2011
    panic(cpu 2 caller 0x00143764): "zalloc: \"kalloc.4096\" (311818 elements) retry fail 3"@/SourceCache/xnu/xnu-1228.15.4/osfmk/kern/zalloc.c:966
    Backtrace (CPU 2), Frame : Return Address (4 potential args on stack)
    0x7ef4f888 : 0x12b4c6 (0x45f91c 0x7ef4f8bc 0x13355c 0x0)
    0x7ef4f8d8 : 0x143764 (0x4614d8 0x460150 0x4c20a 0x3)
    0x7ef4f978 : 0x12fdc2 (0x26f045c 0x1 0x3df2d040 0x12ffb7)
    0x7ef4f9a8 : 0x1304e9 (0xd3c 0x1 0x7ef4f9d8 0x8c)
    0x7ef4f9d8 : 0x97e2436d (0xd3c 0xaa99a80 0x7ef4fa18 0x12fdc2)
    0x7ef4fa08 : 0x97e277b3 (0x1 0xd38 0x7ef4fa38 0x68d89e00)
    0x7ef4fa28 : 0x97e23514 (0x68d89e14 0x0 0x0 0x0)
    0x7ef4fa58 : 0x3bfc6b (0x3df2d054 0x2b9317f8 0x0 0x24f0a3)
    0x7ef4fa98 : 0x3bfd28 (0x2b9317f8 0xaa02904 0x0 0x0)
    0x7ef4fab8 : 0x3af826 (0x2b9317f8 0x0 0x0 0x0)
    0x7ef4fae8 : 0x248b69 (0x2b92dbf4 0x0 0x7ef4fbe8 0x100007f)
    0x7ef4fce8 : 0x23ee2e (0x7b19f300 0x14 0x14 0x6)
    0x7ef4fd28 : 0x240ba9 (0x7b19f300 0x14 0x6 0x0)
    0x7ef4fe48 : 0x240be5 (0x7b19f300 0x0 0x1 0x549124)
    0x7ef4fe68 : 0x22ca34 (0x2 0x7b19f300 0x7ef4fea8 0xffffffff)
    0x7ef4fea8 : 0x21b36e (0x2 0x7b19f300 0x0 0x0)
              Backtrace continues...
          Kernel loadable modules in backtrace (with dependencies):
             com.symantec.kext.confidentialData(1.3f44)@0x97e22000->0x97e2dfff
                dependency: com.symantec.kext.internetSecurity(1.3.2f5)@0x62b000
    BSD process name corresponding to current thread: kernel_task
    Mac OS version:
    9L30
    Kernel version:
    Darwin Kernel Version 9.8.0: Wed Jul 15 16:55:01 PDT 2009; root:xnu-1228.15.4~1/RELEASE_I386
    System model name: MacPro1,1 (Mac-F4208DC8)
    System uptime in nanoseconds: 145228120280331
    vm objects:5850460
    non-kernel map entri:1264428
    kernel map entries:8462300
    pv_list:1851864
    kalloc.16:5443584
    kalloc.32:81367040
    kalloc.64:63418368
    kalloc.128:2445312
    kalloc.256:80748544
    kalloc.4096:1277206528
    kalloc.8192:2015232
    vm pages:66613448
    ipc ports:1197700
    MAC Labels:1326168
    vnodes:5018400
    namecache:1644240
    HFS node:6737024
    HFS fork:2779840
    buf.4096:2920448
    buf.8192:56360960
    Kernel Stacks:1785856
    PageTables:29204480
    Kalloc.Large:11616404
    unloaded kexts:
    com.apple.iokit.IOUSBMassStorageClass          2.0.8 - last unloaded 78388390721999
    loaded kexts:
    com.symantec.kext.fw          1.0.3f5
    com.symantec.kext.confidentialData          1.3f44
    com.symantec.kext.filesecurity          1.3.3f65
    com.symantec.kext.SymAPComm          11.1.2f17
    com.symantec.kext.pf          4.1.1f13
    com.symantec.kext.ips          3.2f8
    com.symantec.kext.internetSecurity          1.3.2f5
    com.apple.driver.iTunesPhoneDriver          1.0 - last loaded 78264274723293
    com.apple.iokit.IOUSBMassStorageClass          2.0.8
    com.apple.filesystems.msdosfs          1.5.5
    com.apple.driver.AppleHWSensor          1.9d0
    com.apple.filesystems.autofs          2.0.2
    com.apple.driver.AppleUpstreamUserClient          2.7.5
    com.apple.driver.AppleHDA          1.7.1a2
    com.apple.iokit.IOBluetoothSerialManager          2.1.9f10
    com.apple.GeForce          5

  • Why redeeming a code is so complicated? We need valid reason and explanation to get and satisfied on what we paid for. Make things easy, not messy.

    Why redeeming a code is so complicated? We need valid reason and explanation to get and satisfied on what we paid for. Be user-friendly to make it easy not messy.

    I did that link you refer to me (manually and using camera). But still nothing happens, always prompted "not properly activated" or "invalid code". And i did follow the instructions how to send an issue/problems/case regarding itunes card code query.
    My apology dude.
    I did change country/region, itunes store country, apple id, but still prompting FAILURE "The Gift Certificate or Prepaid Card you entered has not been properly activated." Does it mean it needs to activate by Apple Inc. before i can use it? If that's the case, everytime i buy an itunes card, i need to go Apple Support? Is that so?
    Please help me dude regarding this matter, i know you're well knowledgeable about apple systems.
    Thanks in advance.

  • Would like to purchase PSE 12 to process Camera Raw files for the following cameras: Nikon D800, Nikon DF, Canon G9 and Pentax K-3 does the Raw Converter that comes with  PSE 12 when purchased recognize  the cameras listed in the question or do I need to

    Would like to purchase PSE 12 to process Camera Raw files for the following cameras: Nikon D800, Nikon DF, Canon G9 and Pentax K-3 does the Raw Converter that comes with  PSE 12 when purchased recognize  the cameras listed in the question or do I need to download  the camera Raw Version 8.3 ?

    While the G9 RAW files can be read by Adobe Camera RAW and Lightroom, these file are unsupported at this time. Here is a link to Adobe's latest list of cameras that are supported and this list came out yesterday http://www.adobe.com/products/photoshop/cameraraw.html
    I have not done a comparison between Lightroom and Canon's software but others have and say that Canon's software is clearly better. I am sure when Adobe updates their software again to include the G9 it will be a very good RAW converter as it is will most other cameras.

  • Why it won't let me install key please need help

    I bought this photoshop elements yrs ago and have never used it would like to try it now but am hoping it is compatable w/my new pc HP touch screen 520-1070 also why wont it let me install registration key please need help

    First try going to appleid.apple.com and reset your password.
    After resetting you password, log into your account, at same site and go to manage my account.
    Verify any info on account. Add/remove any relavant data. Remove any duplicate email address, make sure you have an additonal email aside from your apple id.
    After verifying all this info, try accessing the app store with new password to update apps.
    If unable to at this point and you can verify your identity with the serial number of a apple product registerd to you, verify your apple id, and the billing info on your account; you can call support at 1-800-APL-CARE and ask to speak to account security to reset security questions.

  • Why do i get a message that my printer needs to be installed when it is

    why do I get a message that my printer needs to be installed before I can print when it is installed?

    If changing your password does not solve then contct itunes support

  • HT203097 Why do I receive a message that states I need to change to my media sync settings on iphone when my summary shows over 3GB of free space?

    Why do I receive a message that states I need to change to my media sync settings on iphone when my summary shows over 3GB of free space? THe message states the amount of storage needed (610 MB), which is considerably less than my summary shows currently available.

    # Yes, if you go to accounts.firefox.org, sign out, you will now be signed out.
    # Sign back in, and you will be asked to save the password you entered.
    # This will save the password and autocomplete if you have this option turned on.
    I am not exactly sure why the menu did not detect the password change or if it was stored incorrectly after you changed it? But after storing the correct password you can manage any duplicate passwords in the password manager.[[Password manager - Remember, delete and change saved passwords in Firefox]]

  • Cannot set the properties of an itemrenderer in sdk 4

    Hi,
    I have a project working in sdk 3 that creates an item renderer for a grid, and passes the field index to the renderer. In sdk 4, the
    property is null. Is this a bug? (code truncated)
    <?xml version="1.0"?>
    <mx:HBox xmlns:mx="http://www.adobe.com/2006/mxml" horizontalScrollPolicy="off" verticalScrollPolicy="off" horizontalGap="5" paddingLeft="6" implements="mx.core.IFactory">
        <mx:Script>
            <![CDATA[
                [Bindable] public var fieldIndex:int = -1;
                public function newInstance():*
                    return new statusItem();
                override public function set data(value:Object):void { 
                    super.data = value;
                    var status:String = "";
                    var statusImg:String = "";
                    if (value != null && value.length > 0 && fieldIndex > -1)   {
                        status = value[fieldIndex];       
                        if (status != null && status.length > 0) {
                            switch(status.toLowerCase()) {
                                case "open" : img.source = Icon1;
                                            break;
                                case "closed" : img.source = Icon2;
                                    break;
                                default : img.source = Icon9;
                                    break;
                    else {
                        img.source = errorIcon;
            ]]> 
        </mx:Script> 
        <mx:Image id="img" source="{blankIcon}" verticalAlign="middle" width="10" height="10" /> 
        <mx:Label id="lbl" text="{data[fieldIndex]}" /> 
    </mx:HBox> 
    parent code
    var sRenderer:ClassFactory = new ClassFactory(statusItem);
                                                sRenderer.properties = { fieldIndex: x };
                                                dgc.itemRenderer = sRenderer;
    It is simple code that works in version 3, but not in version 4.
    thanks,
    Jon

    Okay, I cant remember whether it was NULL.
    All I know is that it is not being set using SDK 4 and it works perfectly in SDK 3.
    Jon

  • ASDoc, why are features missing in the SDK?

    I've been using ASDoc for a project of mine and I've been really trying to extract some of the functionality I see in Adobe's documentation. I've noticed that there is a lot of functionality that is either missing portions to work right, or disabled altogether. Is there a reason the full version of ASDoc is not included in the SDK?
    Some of the features I'm most concerned with is local search, being able to search my documentation without using LiveDocs. I noticed there is JavaScript setup to handle a local search, but you can't enable it. I hardcoded it on, but it then references a search.html which is not included in the templates or generated by Saxon or ASDoc, so i'm confused on where this is supposed to come from.
    Another big feature i'm curious about is setting a description for the overview.html page. This would be like settings comments for -package but at the Top level. there are a handful of references to overview.html in the templates, but again. Neither Saxon or ASDoc generate this. But if you go to Adobe's site, their overview.html page has the auto-generated footer so their version of ASDoc must generate the file.
    Other misc features I've stumbled across were conventions, appendixes, top level, @author, and @review. All which aren't enabled but work in some fashion or another.
    If i could just get those two main features enabled somehow it would be SUPER AWESOME. But at the least, why is all this functionality disabled/broken in the latest sdk?
    - gabriel

    Hi Gabriel,
    Features like local search etc are not available because no one has asked for them so far. Feel free to log an enhancement request at http://bugs.adobe.com/flex.
    The other request to set package description via overview.html seems similar to http://bugs.adobe.com/jira/browse/SDK-19755, currently you can do this via Overviews_Base.xml, but when the feature request is implemented you would be able to do it using a config option.
    >> Other misc features I've stumbled across were conventions, appendixes, top level, @author, and @review. All which aren't enabled but work in some >> fashion or another.
    This is intentional, so we can generate asdoc faster by avoiding extra transformation processing. The current asdoc tool targets the most common use cases. If you feel these are important to you, please log enhancement requests.
    Thanks,
    Gaurav Jain
    Flex SDK Team

  • List custom itemRenderer disabled state

    Is there a way to implement a disabled state on a (Spark) List ItemRenderer? I'm developing a List that has a counter on each of it's items. When a user drops that item, the counter decreases. When the item counter reaches 0 the item becomes disabled and the item image becomes black and white.
    I have the disabled state in my custom item renderer but it doens't work. It's state should become "disabled" when I set the enabled property to false.  I've tried to manually set the itemRenderer.currentState to "disabeld" and it becomes "normal" after I click on the list or if I resize the window.
    This is how it should look like (notice that only the orange item is enabled and has colors because his counter still has 9 items):
    I have no idea what's going in the background, can you please point me into the right direction?
    Here's the SWF (source enabled )
    http://dl.dropbox.com/u/6767802/Examples/ListItemDisabledIssue/Flex4ListIssue.html

    I would suggest you to go through the LifeCycle of a component. Those methods will help you manage this.
    In your case you would need a property in you dataProvider that provides the quantity. This property should set a custom property of your component. The custom property should have a setter. Call invalidateProperties() and invalidateDisplayList() to do what you are trying to do in the setter.
    You will have to override commitProperties() and updateDisplayList().

  • Why is list box field highlighted?

    I am creating a fillable PDF form using Acrobat Pro X (10.1.7) that is intended to be filled in using Reader or by hand. I have only one field that is a list box (with 43 items), and for some unknown reason, in both Acrobat Pro X and in Reader XI, it is being highlighted in blue even when all other fields are not highlighted (Highlight Existing Fields off). When the other fields are highlighted in light blue, the list box field is highlighted in a darker blue. It displays the same behavior whether the fill color is white or no color. When I print the form in black and white, which is how it will normally be printed, the field is filled in with a medium gray. I'm an Acrobat newbie so I haven't done anything fancy with the field. I need to get rid of the highlighting ASAP and I don't have a clue about what could be wrong. Does anyone have any suggestions?

    Perhaps "highlighting" is not the correct term for what is happening, sorry for the misuse of terminology. I need this field to have no background color and I don't understand why it does. I have difficulty believing this is a standard display methology because the field prints as medium gray on a B&W printer, and the black text is hardly visible as a result.
    The State field is a drop-down list and has no color. Do I need to change the County field to a drop-down list as well to get rid of this problem?

  • Spark List alternating ItemRenderer

    Hello,
    lets say that I what a Spark List display its content like the following:
    [Picture]  text
    text  [Picture]
    Is there a way to define two (or even more,e.g: as  template) custom ItemRenderer and toggle between them?
    How is that solved in the DataGrid for example, where the background color is alternating.
    Best regards
    Marc

    You can try to build a custom ItemRenderer and determine the color,
    state, etc. based on the itemIndex property. For example you
    can use something like:
    if (itemIndex % 2 == 0)
         setStyle("backgroundColor", 0xFF0000);
    In your case I would try adding custom states to the ItemRenderer. You can read more about this in this post:
    http://forums.adobe.com/message/2082895

Maybe you are looking for