Flex Mobile List Item Renderer problems

i have flex mobile list created with item renderer,i remove individual item in flex mobile list,it is worked very well,but some times i double click action or another scroll event using in list, last item doesn't delete in flex mobile list.it is repeated again and again.so anyone this problem faced,give me a solution.
i expect your feedback.Thanking You

Hi Alex,
I've searched a lot for that post (on this forum and on google). Not sure if this is the post you were talking about: http://tech.groups.yahoo.com/group/flexcoders/message/161146
I have fixed the setter of the data not to also manage the state (I figured it was inappropriate there)... overrode the getCurrentRendererState, I'm managing the state staight from the data. When I run the following... All sold items show as sold... and normal states show as normal. When I try to hover over the normal state, it dosen't play the hovered state, and when I click to the selected state. These built in states don't work.
override public function set data(value:Object):void {
     super.data = value;
     ticketNumber_ti.text = value.slots_id;
override protected function getCurrentRendererState():String {
     var state:String;
     if (data.date_purchased != null) {
          state = 'sold';
          mouseChildren = false;
          mouseEnabled = false;
     }  else {
          state = 'normal';
          mouseChildren = true;
          mouseEnabled = true;
     return state;
On another note, the states only update, once I start scrolling, everything updates... I tried to validateDisplayList() to the List after setting the dataProvider with no luck.
Once I find a solution I will certainly add it to my Blog as I have not found a lot of solutions for this problem.
Any help is grteatly appreciated.

Similar Messages

  • AdvancedDataGrid Item Renderer Problem

    I have a problem in AdvancedDataGrid Item Renderer.
    The Grid is having dynamic add/remove row functionality and the first column I having an Item Renderer.
    I am facing a problem when I add and remove row from the grid. The item Renderer.
    is misplaced in different row.
    If you click on the node new row will get added. (only by clicking Asset Sale & CDS node, not for other nodes).
    Try clicking more than 6 times then do delete row you can see the problem.
    Please find the attachment for code sample.
    I have been trying this out for quiet some time. But no hope.
    Can any one solve this issue?
    Thax
    Tamil Selvan

    Sorry, I forgot to tell the file in the attached zip.
    THe file name is: ActionPlanTest.html

  • ColumnChart - 3D Item Renderer problem

    I'm building a 3D column chart and am finding that I need to
    draw the columns in a specific order other than the default, which
    appears to be by series.
    Things go just fine until the z-order depth is greater than
    the distance between the series. Once that occurs, the potential
    exists for things to go south.
    To demonstrate the issue, I've put a few screenshots here:
    3D Column Chart
    Images
    My question: Is there a way to define, or otherwise take over
    the drawing order of the ColumnSeriesItems? I want to draw the
    columns in the order they appear from left to right, but Flex seems
    to want to draw by order of series - first Series1, then Series2,
    then Series3, etc.
    I'm looking through the Framework source code, but I haven't
    found a way around this - yet. Of course, if there's another
    approach, like using some clipping method I'm not aware of, etc,
    please feel free to clue me in.
    Thanks in advance to anyone with useful info.

    Thanx for reply.But this is not what i am looking for.I need
    to apply different colors for each bars.I am generating charts
    dynamically.The item renderer is working fine.But at specific
    condition the item renderer shold ne removed from the chart series

  • Datagrid and Inline Item renderer problem

    I have a datgrid with two inline item renderers. The dataprovider for my DG is a nested object (objects within objects within objects i.e 3-layered).
    Main Object - 1st Level
                              |
                  2nd Level Object 1
                                    |
                                3rd level object '1' => ('name'=>somename,'id'=>someid)
                                3rd level object '2'
                                3rd level object 'n'
                 2nd Level Object 2
                                    |
                                3rd level object '1' => ('name'=>somename,'id'=>someid)
                                3rd level object '2'
                                3rd level object 'n'
    I use 2 item renderers (one for each datagrid column) which loops thro the 2nd level object1 and 2 respectively (the 2nd level object is a dynamic array of objects, in that the number of objects within keep changing).
    Within the item renderer I loop thro the 2nd level object using a foreach and then display the data. The data is a linkbutton, which when clicked , calls a remote object function to delete the data from the database
    now on the result event of the remote object function call, i call the function to repopulate the DG, so that the updated data is displayed.
    When i click on the linkbutton in the first row, the backend works perfectly fine (the data gets deleted from the database and the refreshed data is sent back), but for some reason, the deleted data suddenly appears in the 2nd row.
    When i delete it from the second row, it appears on the 3rd row (nothing happens in the backend since the data is already deleted).. and so on, till it appears on the last row and then the DG looks exactly the way it shld have looked after the first delete.
    This is just the beginning. The second item renderer also displays a linkbutton, which when clicked, displays that data in the previous column (the one where this data can be deleted). When i click on 1st row, the data gets added in the previous column of the second row .. and so on..
    Basically, my DG is acting really weird. I overrided the set data function in the item renderer to refrsh the data and called its invalidateDisplayList. I also call the Datagrid's invalidateDisplayList function after each refresh.  The behavior remains the same.
    Please help me on this ...

    Hi, Post a test code.... It will be a lot easier to help you Mich

  • Flex Mobile List view only displaying correctly in debug build

    I've got a horizontal list view that I've created in my app. There is a button that changes it's layout and items between a small thumbnail grid layoutand a larger thumbnail single row layout.
    In my debug build, this works just fine every single time. However, once I create a release build and install it, the listview doesn't have anything in it initially. If I press my layout change button, the large images show up, but they are shown vertically instead of horizontally.
    And if I hit the button again, I see the smaller images, except that they are in white boxes the size of the larger images.
    Here's some screenshots:
    Here's my layout creation code:
    // setup the scroll view
                    scrollView.horizontalAlign="center";
                    scrollView.horizontalGap=20;
                    scrollView.orientation="columns";
                    scrollView.requestedRowCount=1;
                    scrollView.verticalAlign="middle";
                    scrollView.verticalGap=20;
                    // setup the grid view
                    gridView.horizontalAlign="center";
                    gridView.horizontalGap=20;
                    gridView.orientation="columns";
                    gridView.requestedRowCount=2;
                    gridView.verticalAlign="middle";
                    gridView.verticalGap=20;
    Here is my layout swap code and my item adding:
    var imageClass:Class;
                    if(view == 1){
                        listy.layout = gridView;
                        imageClass = getDefinitionByName(getQualifiedClassName(new gridImg())) as Class;
                    }else{
                        listy.layout = scrollView;
                        imageClass = getDefinitionByName(getQualifiedClassName(new scrollImg())) as Class;
                    var x:ArrayList = new ArrayList();
                    var im:BitmapAsset;
                    im = new imageClass() as BitmapAsset;
                    var i:BitmapImage = new BitmapImage();
                    i.source = im;
                    x.addItem(i);
                    i = new BitmapImage();
                    i.source = im;
                    x.addItem(i);
                    i = new BitmapImage();
                    i.source = im;
                    x.addItem(i);
                    i = new BitmapImage();
                    i.source = im;
                    x.addItem(i);
                    i = new BitmapImage();
                    i.source = im;
                    x.addItem(i);
                    i = new BitmapImage();
                    i.source = im;
                    x.addItem(i);
                    i = new BitmapImage();
                    i.source = im;
                    x.addItem(i);
                    i = new BitmapImage();
                    i.source = im;
                    x.addItem(i);
                    listy.dataProvider = x;
    And in case it's relevant, here's my embedded image code:
    [Embed(source="assets/logo.png")]
                [Bindable]
                public var gridImg:Class;
                [Embed(source="assets/logo2.png")]
                [Bindable]
                public var scrollImg:Class;
    Any help would be appreciated.

    The red arrow shows the floating bar in Reader X, outside the visible area of the screen

  • Datefield as Item renderer problem

    I am having problems with the datefield while using it in a
    renderer. If you click the text area of the datefield to bring up
    the datechooser everything works, if you click the datefield icon
    the date is not bound properly.
    Try out the code below and you will see what I am talking
    about. Any idea what im doing wrong?
    dateRenderer.mxml
    <?xml version="1.0" encoding="utf-8"?>
    <mx:VBox xmlns:mx="
    http://www.adobe.com/2006/mxml"
    creationComplete="{newDate = data.Date}">
    <mx:Script>
    <![CDATA[
    import mx.events.DataGridEvent;
    import mx.binding.utils.ChangeWatcher;
    import mx.formatters.DateFormatter;
    // Define a property for returning the new value to the
    cell.
    [Bindable]
    public var newDate:Date;
    private var df:DateFormatter = new DateFormatter();
    private function test(event:Event):void {
    trace(df.format(dateFieldTI.selectedDate));
    newDate= new Date(dateFieldTI.text);
    this.dispatchEvent(new
    DataGridEvent(DataGridEvent.ITEM_EDIT_END, true, false, 0,
    "newDate", -1, null, this));
    ]]>
    </mx:Script>
    <mx:DateField id="dateFieldTI"
    showToday="false"
    selectedDate="{newDate}"
    text="{df.format(newDate)}"
    click=""
    change="test(event)"/>
    </mx:VBox>
    /////////////////////////////////////////// dateRenderer.mxml
    File///////////////////////////////////////////////////////
    /////////////////////////////////////////////// Begin
    application ///////////////////////////////////////////////////
    <mx:Application xmlns:mx="
    http://www.adobe.com/2006/mxml"
    height="700" width="700">
    <mx:Script>
    <![CDATA[
    import mx.collections.ArrayCollection;
    [Bindable]
    private var initDG:ArrayCollection = new ArrayCollection([
    {Date: new Date("3/14/2007")},
    {Date: new Date("3/14/2007")}]);
    [Bindable]
    public var displayedDate:String;
    private function getDate():void {
    displayedDate = initDG[0].Date;
    ]]>
    </mx:Script>
    <mx:DataGrid id="myDG"
    width="500" height="250"
    dataProvider="{initDG}"
    variableRowHeight="true"
    editable="true">
    <mx:columns>
    <mx:DataGridColumn dataField="Date"
    width="200"
    editable="true"
    rendererIsEditor="true"
    itemRenderer="dateRenderer"
    editorDataField="newDate"/>
    </mx:columns>
    </mx:DataGrid>
    <mx:Button label="getIt" click="getDate()"/>
    <mx:Text text="{displayedDate}"/>
    </mx:Application>

    Hi Proeliata ,
    I am using mx.controls.DateField as itemRenderer in the
    DataGridColumn as Below.
    <mxataGrid
    id="dgDetailsContainer" dataProvider="{alphaGroups}"
    variableRowHeight="true"
    sortableColumns="true" editable="true" width="100%"
    itemEditEnd="editGrid(event)">
    <mx:columns>
    <mxataGridColumn
    headerText="ETA Date" itemRenderer="mx.controls.DateField"
    editorDataField="selectedDate"
    rendererIsEditor="true"
    editable="true" dataField="EtaDate" />
    </mx:columns>
    </mxataGrid>
    While I was submitting the dataGrid values If I try to alert
    the EtaDate using the below call
    I am getting null value always.
    private function submitChanges():void
    try{
    Alert.show("EtaDate0 is"+alphaGroups[0].EtaDate);
    Alert.show("EtaDate1 is"+alphaGroups[1].EtaDate);
    commonWebService.submitChanges(alphaGroups);
    }catch(err:Error){
    Alert.show("Please choose Title and Alpha");
    Please help me to re-solve,If any one handled this scenario
    please provide me the sample code to update dataProvider.
    Back to top
    Thanks,
    Ravindra

  • Item renderer problem

    I don't seem to have the correct syntax for adding a check box to a datagrid.  Here is what I have:
    <cust:MyAdvancedDataGrid
    id="dgData"
    width="100%" height="85%"
    textAlign="center"
    fontWeight="normal"
    dataProvider="{custVO}"
    selectionMode="singleCell"
    accessibilityName="Case Composition, DataGrid, use arrow keys to navigate between cells">
    <cust:columns>
    <mx:AdvancedDataGridColumn
    headerText="Select"
    rendererIsEditor="true"
    width="100">
    <mx:itemRenderer>
    <fx:Component>
    <s:CheckBox selected="false"/>
    </fx:Component>
    </mx:itemRenderer>
    </mx:AdvancedDataGridColumn>
    This was based on a google search.
    What is the correct format?

    I had no idea this was such a hard question that no one had done one of these.
    Also, if anyone knows why a cut and paste in here produces such a goofy table please let me know.

  • Open a SharePoint List item in Modal Pop up in SP 2013 fails after you filter or sort the list

    Sorry for the long post. This has been killing me. I had this script working perfectly fine in SharePoint 2010 (online) and basically i have a source custom list (list A) with a hyperlink column and a Destination List with say title and my name.
    Source List (list A) looks like this with these 2 columns
    Title    Test Link
    A         Link 1
    B         Link 2 
    C         Link 3
    Each of these links link to the actual list item in the destination list, so for example, link 1 is/sites/2013DevSite/Lists/Destination%20List/EditForm.aspx?ID=1
    So basically i want anytime the Link are clicked that point to another list's item to open in a modal dialog and the script below worked perfectly fine in SharePoint 2010 (online)
    <script language="javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js" type="text/javascript"></script>
    <script language ="javascript" type="text/javascript">   
    jQuery(document).ready(function() {
    jQuery('a[href*="EditForm.aspx"]').each(function (i, e) {
    // Store the A tag's current href in a variable
    var currentHref = jQuery(e).attr('href');
    jQuery(e).attr({
    'href': 'javascript:void(0);', 
    // Use the stored href as argument for the ShowInModal functions parameter.
    'onclick': 'ShowInModal("' + currentHref + '");'
    function ShowInModal(href) {
    SP.UI.ModalDialog.showModalDialog({title: "Edit Item", url: href});    
    </script>
    All it does is find the href tags for that particular value Editform.aspx and the pop modal works in SP 2010 online. So the site page is designed in such a way there is a content editor web part with the reference to this javascript file and the sharepoint
    list is right beneath it and this worked perfectly opening in modal windows in SP 2010.
    Since migration to 2013, this is what exactly happens
    1.) when you come to the site page, the modal works,
    2.) If you filter or sort on say the Title or Test Link column in Source list (lets say you select the Value A), the script does not fire at all, if i hover over the hyperlink, the who hyperlink is shown and does not open the hyperlink in the modal pop up.
    - This is important because i want to be able to sort on a particular item...
    Could someone please let me know what am i doing wrong and why is this not working when i sort the list. Thanks for all the help.
    Once again i am trying to open a sharepoint list item in Sharepoint 2013 from another list using Jquery

    A ListItem has its own unique row id so in all likelihood, an insert with the same data will result in a new list entry. The Lists Web Service however, has an UpdateListItem method which will take an update request. [refer
    http://msdn.microsoft.com/en-us/library/office/websvclists.lists.updatelistitems(v=office.15).aspx ]
    There is another note in the conference (marked answered) to your List Item Update problem. Probably worth a try too. [refer
    http://social.msdn.microsoft.com/Forums/en-US/bee8f6c6-3259-4764-bafa-6689f5fd6ec9/how-to-update-an-existing-item-in-a-sharepoint-list-using-the-wss-adapter-for-biztalk?forum=biztalkgeneral ]
    Regards.

  • Flex 3 Item renderer in List dissapear and shifted place

    I successfully added ItemRenderer in my List but whenever I scroll down to the bottom and scroll up again. The ItemRenderer in the List would be either gone or shifted places.
    I have search up on possible solution but they doesn't seen like working. I tried to put dataChange=”validateNow()” in the ItemRenderer but it doesn't work. I read something about useVirtualLayout="false" but it seen like my List doesn't have useVirtualLayout ?
    <mx:List
            id="rowsList2" width="{VBoxCall.width}" height="{ scheduleViewerHeight }"
            rowHeight="{ scheduleViewer.rowHeight }"
            verticalScrollPolicy="off" verticalAlign="middle"
             horizontalScrollPolicy="off"
            alternatingItemColors="[0xEEEEEE, 0xDFDFDF]" itemRenderer="RendererState">
            <!-- Example to showcase Item renderer -->
            <mx:dataProvider>
                <mx:Object label="Mr Swabby"
                           data="Juneau"
                           webPage="http://www.state.ak.us/"/>
                <mx:Object label="Mrs Harrington"
                           data="Montgomery"
                           webPage="http://www.alabama.gov/" />
            </mx:dataProvider>
        </mx:List>
    Before (picture) http://i.stack.imgur.com/VxoeP.gif
    After (picture) http://i.stack.imgur.com/3qHO9.gif
    Any Ideas ?
    Regards, Mike

    Hi Alex,
    I've read your blog but I still could find the solution.
    I tried to override the set data but it is not working. Whenever I scroll to the bottom and move up again, all the buttons are gone.
    Please advise me on this.
    Regards,
    Mike
    <?xml version="1.0" encoding="utf-8"?>
    <mx:VBox xmlns:mx="http://www.adobe.com/2006/mxml">   
              <mx:Script>
                        <![CDATA[
                                  // Import Event and URLRequest classes.
                                  import flash.events.Event;
                                  import flash.net.URLRequest;
                                  override public function set data(value:Object):void{
                                            if(value != null)
                                            super.data = value;
                                            if(data.label == null)
                                                      Button.label="";
                                            else
                                                      if(data.label == null || data.label=="")
                                                                Button.label = "";
                                                      else
                                                                Button.label = data.label;
                                            else
                                                      myVBox.removeChild(Button);
                        ]]>
              </mx:Script>
              <mx:VBox id="myVBox">
                        <mx:Button id="Button" width="90">
                        </mx:Button>
              </mx:VBox>
    </mx:VBox>

  • Image in item renderer issue for List Components

    Hello,
    I have an issue when I use an item renderer with an image in
    it. This happens when I do this with a List or TileList component
    that has enough items to create a scroll bar. What happens is the
    images load fine, then I scroll down and the other items and their
    images start appearing, but then the first and last images start
    loading the wrong image. I'll scroll back up and the first item now
    has a different image, and when I scroll back down, the last images
    changes too.
    Has anyone had this problem with image itemrenderers in List
    components?
    Thanks for any help.
    Brade

    The creationComplete event is called ONCE and that's it. But
    each time an itemRenderer is recycled it will have its data
    property reset with new a new record from the dataProvider. Thus
    overriding the set data function lets you inspect the data and do
    what you want with it.
    Data binding in MXML <mx:Image source="{data.image}" />
    is set up by the Flex compiler. When the data property is reset it
    will trigger the data binding notifications. The Flex
    compiler-generated code will intercept that and update the Image
    source property.
    If you use MXML, then use data binding. If you write your
    itemRenderer in ActionScript, override the set data
    function.

  • Data provider problem in custom item renderer

    I have a complex, custom item renderer for a list. I add
    items that I extracted from an xml to the data provider using the
    IList interface. But when displaying the list, the items are all
    screwed up. Each rendered item has some parts which are initialized
    as different components depending on the values from the xml. This
    initialization is called in the item renderer for the
    creationComplete event.
    The weird thing is that when I output the dataProvider to
    check its values, some of the items have internal uids sometimes
    and sometimes they don't. If I output the dataProvider right after
    I add the items to it, none of them get internal uids. But from the
    initialize method, some of them do and some don't.
    To make things weirder, sometimes, as I scroll up and down
    the list, the dynamic components get all switched up. I'm either
    having a problem with internal uids or with the creation policies
    for lists. Or it's probably some simpler mistake I have yet to see.
    Anyone have any idea where the problem could lie? Any help is
    greatly appreciated.

    Any successful render must:
    1) override the set data property of the component
    Further, best practice is to store any data you need in the
    override set data(), and call invalidateProperties(). Then do the
    actual work in an override commitProperties() function.
    The framework is smart about when to call commitProperties
    efficiently. set data() gets called much more often.
    Tracy

  • Check box rendering problem in List.

    Hi All,
                I am using list component in my app and list component allows multiple selections. I am using an itemrenderer having the checkbox and label in hbox.
    Rendering is working fine. but when I selected three or four items randomly using check boxes in list and If I scroll it vertically (up and down) the selections of check boxes changedto another items. If I keep on doing this finally I will get all the check boxes selected. but I have selected only three check boxes.
                 I wanted get out of this problem. If i selected two or three checkboxes and when scroll it vertically it should remain as it is. Selections should not change... please help on this.. 
                     I am posting the code of Item renderer
    <?xml version="1.0" encoding="utf-8"?>
    <mx:HBox xmlns:mx="http://www.adobe.com/2006/mxml" horizontalGap="2"
        width="100%" height="100%"
        implements="mx.controls.listClasses.IDropInListItemRenderer"
        initialize="init()"
        verticalScrollPolicy="off"
        horizontalScrollPolicy="off"
        click="handleClick(event)">
        <mx:Metadata>
            [Event(name="checkBoxEvent", type="com.comp.name.ui.events.CheckBoxEvent")]
        </mx:Metadata>
        <mx:Script>
            <![CDATA[
                import mx.controls.List;
                import mx.controls.listClasses.ListData;
                import com.comp.name.ui.events.CheckBoxEvent;
                import com.comp.name.ui.filters.StringUtils;
                import mx.controls.dataGridClasses.DataGridListData;
                import mx.controls.listClasses.BaseListData;
                private var _listData:BaseListData;
                private var _list:List;
                public function init():void
                    this.addEventListener(Event.CHANGE, onChangeEvent);
                public function get listData() : BaseListData
                    return _listData;
                public function set listData( value:BaseListData ) : void
                    _listData = value;
                    if(listData)
                        _list = listData.owner as List
                override public function set data(value:Object):void
                    super.data = value;
                protected function handleClick(event:MouseEvent):void
                    if(check.selected)
                        check.selected = false;
                    else
                        check.selected = true;
                protected function checkBoxSelected(event:Event):void
                    if(data)
                        if(check.selected){
                            dispatchEvent(new CheckBoxEvent(CheckBoxEvent.CHECKBOX_EVENT, data.mx_internal_uid,data as Object, true,true));
                        }else
                            dispatchEvent(new CheckBoxEvent(CheckBoxEvent.CHECKBOX_EVENT, data.mx_internal_uid,data as Object, false,true));
                protected function onChangeEvent(event:Event):void
            ]]>
        </mx:Script>
        <mx:CheckBox id="check" change="checkBoxSelected(event)" click="handleClick(event)"/>
        <mx:Label id="lb" width="100%" height="100%" htmlText="{_list.labelFunction(data)}"/>
    </mx:HBox>
    I have faced this problem in so many times in so many list component..  Please help me on this...

    Can any one please give a reply .. If you dont understand it please let me .. I will give you detailed explanation.. Please it is an urgent requirement..

  • TypeError: s.text(...).addClass is not a function on a Select list item jquery mobile theme

    Hi.
    i got a page with jquery mobile template, i got an select list item based on customers , when i touch the field, it display correcty all my customers, but when i try to pick some records i just get the error (i am using firefox firebug to see the error):
    TypeError: s.text(...).addClass is not a function
    ...ollapsiblebound",!0).bind("expand collapse",function(t){var n=t.type==="collapse...
    here is my query :
    select
    nombre_cliente || ' ' || apellidos_cliente a, codigo_cliente b
    from sti_cliente
    where
    codigo_compania in (select distinct codigo_compania from STI_COMPANIA_SUCURSAL_USUARIO where upper(codigo_usuario) = upper(:APP_USER))
    and estado_cliente = 'A'
    and (MANEJA_INVENTARIO_CONSIGNACION = 'S'
    and (codigo_compania, codigo_vendedor) in (select codigo_compania, codigo_vendedor from VTA_MAESTRO_VENDEDORES where codigo_usuario = upper(:APP_USER)) or cliente_contado = 'S')
    order by nombre_cliente, apellidos_cliente
    i have supress a dynamic action based on the field, but seems the problem is something within the query.
    i am running on :
    Application Express 4.2.4.00.08
    Application Express Listener version : 2.0.5.287.04.27
    Application Express Listener server info: Grizzly/1.9.49
    thanks for any tip.

    PLEASE DO NOT post to long since expired threads.  The poster is probably NOT following this thread and your response doesn't really help them with their issue...
    Elephants wear tu-tus so they can hide in pine trees. Did you ever see an elephant in a pine tree? No? Well then, you know it works.
    Thank you,
    Tony Miller
    LuvMuffin Software
    Ruckersville, VA

  • Flex Mobile Project only lists "Google Android" in Target Platforms

    I just downloaded the masters colection cs5.5 and im am using FlashBuilder 4.5.  When I create a new Flex  Mobile Project, only Google Android is a target platform.  I don't see  Blackberry or iOS as options.
    I do see Apple iOS when I create a mobile ActionScript project.
    This must be due to a configuration setting.  Can anyone help?
    i have already looked at this peron post and i have tryed all of the sollutions and none of them seem to work http://forums.adobe.com/thread/867857

    That didn't help me either.  Ultimately, here's what I did.
    I uninstalled and reinstalled the software
    After it was reinstalled, I updated to the 4.5.1 SDK PRIOR to doing any other software update.
    Then I updated the Software
    The software update found all new items and installed them properly (which is what I believe the issue is -- if you update prior to using the 4.5.1 SDK it doesn't install the required bits).
    Now it seems to be working for me.
    Not sure if that's the problem, but that's how I fixed it.

  • Flex SDK 3.4 Tree Item Renderer Root Folder displays Tooltip for Child

    I have a Flex Tree that uses a custom item renderer.  The item renderer extends Tree Item Renderer and I add my button in commit properties (since the data is dynamic) and I use update displaylist to move it to the right position.  I set the button to be visible on rollover and make the icon invisible. On rollout I reverse that logic.
    When I have my item renderer add the button, it causes only one problem and it seems to be under certain conditions:
    - Single root folder for the tree
    - Upon opening the tree, the root folder displays the tool tip for the last child in the tree
    Any idea why the tooltip comes up?
    public function AssetTreeItemRenderer ()
                super();
                addEventListener(MouseEvent.ROLL_OVER, onItemRollover);
                addEventListener(MouseEvent.ROLL_OUT, onItemRollout);
                addEventListener(ToolTipEvent.TOOL_TIP_SHOWN, toolTipShown);
                addEventListener(ToolTipEvent.TOOL_TIP_CREATE, onCreateToolTip);
            // OVERRIDEN FUNCTIONS
             * override createChildren
            override protected function commitProperties():void {
                super.commitProperties();
                if(data is IAsset) {
                    if(playBtn === null) {
                        playBtn = new Button();
                        playBtn.styleName = "previewPlayButton";
                        playBtn.toolTip = "Play";
                        playBtn.width = icon.width + 2;
                        playBtn.height = icon.height + 2;
                        playBtn.visible = false;
                        playBtn.addEventListener(MouseEvent.CLICK, onPlayBtnClick);
                        addChild(playBtn);
                } else {
                    if(playBtn !== null) {
                        removeChild(playBtn);
                        playBtn = null;
             * override updateDisplayList
             * @param Number unscaledWidth
             * @param Number unscaledHeight
            override protected function updateDisplayList(unscaledWidth:Number,
                                                          unscaledHeight:Number):void
                super.updateDisplayList(unscaledWidth, unscaledHeight);
                //Move our play button to the correct place
                if(super.data && playBtn !== null)
                    playBtn.x = icon.x;
                    playBtn.y = icon.y;

    You are not clearing tooltip if data is not IAsset

Maybe you are looking for

  • When do VI and queue references become invalid?

    Hi all, I have a fairly complicated problem, so please bear with me. 1)  I have a reentrant SubVI (let's call it VI "Assign") that has an input cluster of (VI ref, queue ref) (let's call the cluster type "Refs").  If the VI ref is invalid (first exec

  • Mini Won't mount

    When I boot under OS 9.1, my iPod won't mount, why? What extension do I need to install?

  • Software not supported? what?

    Hello! This is my first time posting on here so please bare with me! I just bought myself a new Macintosh OSX computer, as to which I am very unfamiliar with. I know and have used Microsoft Windows in the past, but this is confusing me... I purchased

  • Duplicating contacts with Gmail

    Hi All, On my 4s in the contacts settings I have Gmail and Iphone ticked to show contacts. This duplicates a lot of contacts so I need to delete the duplicates. I need both Gmail and Iphone settings ticked as the Gmail is my work contacts with our fu

  • Install Oracle Fusion More than Version In Windows 7

    Hi, It's possible to install oracle fusion middle ware More than one version in windows 7 (same Machine) Suppose i need to install Oracle Fusion Version 11.1.1 & 11.1.2&11.1.6&11.2 Regards,