TileList problem with effects - 'RangeError: Index '8′ specified is out of bounds.' error.

Flex 3.0 beta TileList problem with effects
I have a problem with deleting item from a Flex 3.0 beta
TileList component. While a delete item effect is playing and I
delete another item (while the first effect is still playing) , I
get an ‘RangeError: Index ‘8′ specified is out of
bounds.’ error. How do you delay processing until the effects
are done? or is there another solution? do I use a callLater()? or
remove the eventListener and wait until the effect finishes?
To see the problem, hit the down error twice quickly.
To see the application ->
http://designwithflex.com/pics/fasterror.swf
Here is Thumbnail.mxml
<?xml version="1.0" encoding="utf-8"?>
<mx:VBox xmlns:mx="
http://www.adobe.com/2006/mxml"
width="100" height="100">
<mx:Label text="{data.name}" />
<mx:Label text="{data.age}" />
</mx:VBox>
and here is main.mxml:

luvgelato,
Can you please file a bug at
http://bugs.adobe.com/flex/
and attach all your MXML code.
Thanks,
Peter

Similar Messages

  • RangeError: Index '-1' specified is out of bounds.

    Hi ,
    Whenever i try to deselect a checkbox i get this error
    RangeError: Index '-1' specified is out of bounds
                     at mx.collections::ListCollectionView/removeItemAt()
    Can anyone guide me in this ?
    Thanks

    HI tuliptaurus,
    I think the problem is within the function below in the first line of code:
    public function removeField(field:Object):void
                    var index:int = selectedFields.getItemIndex(field);
                    selectedFields.removeItemAt(index);
    What does your function getItemIndex(field) include...I think the problem is in this function since in this function you are trying to getItemIndex based on the field Object...If there is no exact match in the function this function is returning index = -1 so in your removeField() function you are trying to remove the item at index at -1 which in real doesn't exist so it throws the error.
    So you first needs to examine the code in getItemIndex() function that it is returning the correctIndex if not then write a check in removeField() function
    public function removeField(field:Object):void
                    var index:int = selectedFields.getItemIndex(field);
                   if(index >= 0)
                         selectedFields.removeItemAt(index);
    Try posting the getItemIndex() function...
    Thanks,
    Bhasker Chari

  • How to avoid  specified is out of bounds error in flex 4 mxml web application

    how to avoid  specified is out of bounds error in flex 4 mxml web application
    hi raghs,
    i  want to add records in cloud.bt while adding the records if we enter  existing record details and try to save again na it wont allow to that  record.
    that time the alert box  should show this msg "This record is already existing record in cloud database.
    ex:  one company name called mobile. i am adding a employee name called raja  now i save this record,its data saved in     cloud DTO
      again try to add same employee name raja under the same compny means it should through error.
    I am give my code here please if any suggession tel.
    CODE:
    private function saveRecord():void
                refreshRecords();
                model.employeeDetailsReq=new EMPLOYEEDETAILS_DTO();
                    var lengthindex:uint=model.employeeDetailsReqRecordsList.length;
                    var i:int;
                    for (i = 0; i < lengthindex; i++)
                    if((model.employeeDetailsReqRecordsList.getItemAt(lengthindex).employ ee name==customerdet.selectedItem.employeename)&&
                          (model.employeeDetailsReqRecordsList.getItemAt(lengthindex).employeeN    umber==customerdet.selectedItem.employeeID)){
                        Alert.show("you cannot Add Same CustomerName and Invoiceno again");
    (when this line come the error through like this: Index '8' specified is out of bounds.
    else
    var dp:Object=employeedet.dataProvider;           
    var cursor:IViewCursor=dp.createCursor();
    var employeename:String = employeename.text;
             model.employeeDetailsReq.employename = employeename;
    model.employeeDetailsReq.employeeNumber=cursor.current.employeeID;
    var sendRecordToLocID:QuickBaseEventStoreRecord = new
                        QuickBaseEventStoreRecord(model.employeeDetailsReq, new
                            KingussieEventCallBack(refreshList))
                    sendRecordToLocID.dispatch();
    <mx:Button   id="btnAdd" x="33" y="419" enabled="false" label="Add" width="65"   fontFamily="Georgia" fontSize="12" click="saveRecord()"/>
    employeename and employeeID are datafields of datagrid. datagrid id=customerdet
    employeeDetailsReqRecordsList---recordlist of save records
    Thanks,
    B.venkatesan

    I do not know for sure as to how to do this, but I found this on Adobe Cookbook
    http://cookbooks.adobe.com/post_Import_Export_data_in_out_of_a_Datagrid_in_Flex-17223.html
    http://code.google.com/p/as3xls/
    http://stackoverflow.com/questions/1660172/how-to-export-a-datagrid-to-excel-file-in-flex
    http://wiredwizard.blogspot.com/2009/04/nice-flex-export-to-excel-actionscript.html
    This has a demo that works
    http://code.google.com/p/flexspreadsheet/

  • Hello , please am having a problem with my iphone 5 , the battery runs out quickly , also if i turn on 3G it will run faster , 15 minutes and the iphone battery will be out , and my final problem is that is "no service " appears a lot can you help ?

    Hello , please am having a problem with my iphone 5 , the battery runs out quickly ,another problem also if i turn on 3G it will run faster , 15 minutes and the iphone battery will be out . My final problem is that  "no service " appears a lot  especially when opening wifi or 3G , can you help ?

    Your battery is running quickly because your cellular data connection is weak.
    Is your phone carrier a supported carrier:   Wireless carrier support and features for iPhone in the United States and Canada - Apple Support
    For your no service issues:  If you see No Service in the status bar of your iPhone or iPad - Apple Support

  • HP 8500 printer will not print fast on firefox, but does on Safari. HP support says it is a problem with firefox. Can you help me out?

    Question
    HP 8500 printer will not print fast on firefox, but does on Safari. HP support says it is a problem with firefox. Can you help me out? edit

    Thank you for posting your list of installed Extensions. One of them might be intercepting the menu command. Since you have the Add-on Compatibility Reporter, it's possible that an older add-on that doesn't actually work well with Firefox 5 could be to blame. Could you try disabling the "HP Smart Web Printing" extension and see whether that makes any difference?
    Also, you can simulate a print button on a web site by pasting this to the location bar and pressing Enter. You also can save it as a bookmark for easier access (when scripts are saved as bookmarks, we call them bookmarklets). Hopefully you won't need it for long.
    <br>javascript:void(window.print());

  • I am having Problems with using my adobe digital Reader ,it gives me the error E_ADEPT_IO Activation

    i am having Problems with using my adobe digital Reader  ,it gives me the error E_ADEPT_IO Activation,what can i do to activate

    This is the Adobe Reader forum. If you are talking about Digital Editions, the right forum is here:
    http://forums.adobe.com/community/adobe_digital_editions

  • Problem with bitmap partitioned index

    My order table (3.6 M rows) has got 4 partitions (one per year). I've defined 24 LOCAL BITMAP INDEXES on the data (DSS environment); every index is built on one column.
    The cardinality of these columns is quite various (from 10% to 80%) - I know in some case the use of bitmap index is not OK -.
    The table is manipulated in this way:
    - Nightly it has about 5K new rows inserted.
    - All of this rows have update after insertion (only some of this update are referred to indexed column).
    - Early in the morning the partition table referred to actual data, is analyzed with COMPUTE STATISTICS option.
    - During the day the data are queried thousand times.
    The problem is:
    1. Before table/index partitioning all the indexes of the table were BITMAP too, and their size were acceptable; these size did not grow up to much during the time. We use to rebuild index once at 2-3 months.
    2. After table/index partitioning some of the bitmap indexes related to the partition that contain actual data, get poor in few days. Their size grow up very quickly (about 16mb at day) and they can allocate 100 times more space than before partitioning. So, I must rebuild these indexes / partitions once at 2-3 days. I have checked the distinct values of poor indexes column, and there is not correlation between cardinality and growth (I mean, this problem happens on index with low cardinality as well as high cardinality).
    3. I have the same order table in another schema with the same indexes and similar number of rows (1.7 M). Any of these indexes have strange growth. (I.E.: size of index on AGENT column is normally 2Mb; the poor index is about 200Mb after 4 work days).
    We work with 8.1.7.2 on Windows 2000.
    Does anyone have any idea about my problem?
    Thanks in advance L.

    Nirpol wrote:
    I create 2 different bitmap join index:
    CREATE BITMAP INDEX lsa.AAB_V_ARTICOLO_MARCA_IDX ON LSA.AAB_VENDUTO(MARCA)
    FROM LSA.AAB_VENDUTO vv, LSA.AAB_ARTICOLO aa WHERE vv.articolo_id=aa.articolo_id;
    CREATE BITMAP INDEX lsa.AAB_V_CLIENTE_TIT_STUDIO_IDX ON LSA.AAB_VENDUTO(TITOLO_STUDIO)
    FROM LSA.AAB_VENDUTO vv, LSA.AAB_CLIENTE cc WHERE vv.cliente_id=cc.cliente_id;
    What happens if you just create two plain bitmap indexes without the join?
    CREATE BITMAP INDEX lsa.AAB_V_ARTICOLO_MARCA_IDX ON LSA.AAB_VENDUTO(MARCA);
    CREATE BITMAP INDEX lsa.AAB_V_CLIENTE_TIT_STUDIO_IDX ON LSA.AAB_VENDUTO(TITOLO_STUDIO) ;You can also go with normal indexes on the FK rows (cliente_id) and the optimizer can do a bitmap conversion from normal index to bitmap index if needed. Are the column values evenly distributed? If not you might need to go for some column histogram. but I don't have the impression that this is really useful in your case.

  • Problem with Display,The color of display washed out!!!

    i got problem with the screen. the color around corner of display and 6 rounds circle spot in middle of display, it looks like washed out( become white) when i view it on black background it looks more stand out. What can i do now? i only have Iphone 4s on 24/10/11

    BBMX_777 wrote:
    The Apps that not show the version number are all, for example, BlackBerry Messenger, Notes, BrickBraker, etc..
    There is a way to restore the device's OS?
    Interesting problem...I would agree that the OS likely needs to be reloaded..see this process:
    http://supportforums.blackberry.com/t5/BlackBerry-Device-Software/How-To-Reload-Your-Operating-Syste...
    Good luck!
    Occam's Razor nearly always applies when troubleshooting technology issues!
    If anyone has been helpful to you, please show your appreciation by clicking the button inside of their post. Please click here and read, along with the threads to which it links, for helpful information to guide you as you proceed. I always recommend that you treat your BlackBerry like any other computing device, including using a regular backup schedule...click here for an article with instructions.
    Join our BBM Channels
    BSCF General Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • I am having problems with Apple tv radio. It cuts out after a few minutes this appears to have happened after update to IOS 8

    I Am having problems with the radio on the Apple TV cutting out after a few minutes. This has started to happen after software update to Ios8. Has anyone else had this problem and are Apple looking into fixing it?

    I am having the same problem also  Thought it was my network and reset everything including Apple TV but still the problem is there . I assume now it is down to iOS 8 prior to that was perfect

  • Probleme mit dem Zen Toch 40gb/ Problems with the Zen Touch 40gb!!:( Out of Gara

    Hallo ich br?uchte dringend Hilfe. Ich kriege den Creative Zen 40gb nicht mehr zum laufen Da er nur ab und zu angeht Das ?rgerliche daran ist das ich im Ausland war und das Teil nur 4 mal benutzt habe Leider geht er nur ab und zu an und wenn er mal an war, ist er dauernd abgest?rzt Da ich so lange weg war, ist mir jetzt auch noch die Garantie abgelaufen ( Jahr 3 Monate). Im Media Markt bekomme ich leider keine Unterst?tzung nichteinmal ein Versuch das Ger?t auf Kulanz reparieren zu lassen
    Leider ist mir das ein wenig zuviel Geld f?r 3 mal musikh?ren. Vielleicht kann mir hier einer Helfen!!!!!!!
    I have big Problems with my Zen Touch 40gb May be one of the members here can help me!!because my local dealer isnt able to do this Because the player is older than one year ( y and 3 months) I think that the garanty is normaly to short for this player. In germany you can read a lot about the problems of the Zen. Can it be that the Software doesnt work 00 % I was the last year in Poland so i had the zen 3 times in use The player freeze everytime and the biggest problem now, i cant switch the player on to make an update or something !!! please help.
    Greetings

    sry about ur problem. I had/have some of ur problems with my zen micro 5g. have u tried 2 reset it into recovery mode and do a cleanup? it won't mess up any of ur songs or anything like that.

  • Array Index out of bounds error when rendering graph

    Hello,
    OBIEE 11.1.1.5 running on RHEL version 5.7
    I'm encountering a strange problem with graph rendering. I have a graph and a table that are tied to a list of values. The graph renders correctly for many of the values in the list, but for certain values the graph does not render while the table does. What is even more odd is that the graph renders correctly using BI mobile on an iPad for all values in the LOV.
    From the Weblogic fusion bipublisher.log, I see this log entry immediately after getting the rendering error:
    Message:     java.lang.ArrayIndexOutOfBoundsException: 124
    The above log entry is followed about a minute later with this:
    Message ID: ADF_FACES-60099
    Component: AdminServer
    Module: oracle.adfinternal.view.faces.renderkit.rich.RegionRenderer
    Message: The region component with id: emTemplate:fmwRegion has detected a page fragment with multiple root components. Fragments with more than one root component may not display correctly in a region and may have a negative impact on performance. It is recommended that you restructure the page fragment to have a single root component.
    Any ideas on how to fix this?

    Hi Ray,
    I cannot find an array.  The only one I see is ResultList.  This one seems to be in all Test Stand sequences.  I am not sure exactly how it's used.
    I have pulled the sub-sequence out of the main sequence and made a new main sequence with all of the same variables.
    Look at it and let me know what you think.
    Thanks
    Attachments:
    Excel - Set Cell Color.seq ‏59 KB

  • Problem with effectiveness of filters

    I have at several occasions run into cases were the built in "query optimizer" don’t apply filters in the best order from a performance point of view when dealing with multiple filters joined together using AND-filters.
    As a work-around to the problem I have sub classed the built-in filters adding an extra constructor that allow setting the effectiveness as a hard coded integer value that (if specified) is returned instead of the calculated value. This way I was able to force an AND filter to pick the filter I know (from application knowledge) is most likely the most efficient first.
    Would it be possible to get this kind of constructor added to the standard filter classes?
    I would also like to know how a few things about how indexes are used by Coherence:
    1.     How does the various built in filters calculate there effectiveness? Do coherence for instance keep some statistics about how many unique values an index contain or how does it decide what index that is more effective than another?
    2.     Can Coherence use more than one index at the same time (i.e. merge indexes)? From my experience it seems like only one index is used fully, other indexes are only used to avoid de-serialization when performing a linear search of the hits from the first index. As far as I know only the most advanced RDBM are able to use more than one index (instead of only performing linear search from the result of one index) so I am not really surprised if Coherence do the same...
    3.     Does making an index sorted in any way improve the performance if the index is used as the second or third index applied in a query (one could envision that some sort of binary search could be used instead of linear search of the hits from the first index used if a sorted index is available)?
    /Magnus

    MagnusE wrote:
    I have at several occasions run into cases were the built in "query optimizer" don’t apply filters in the best order from a performance point of view when dealing with multiple filters joined together using AND-filters.
    As a work-around to the problem I have sub classed the built-in filters adding an extra constructor that allow setting the effectiveness as a hard coded integer value that (if specified) is returned instead of the calculated value. This way I was able to force an AND filter to pick the filter I know (from application knowledge) is most likely the most efficient first.
    Would it be possible to get this kind of constructor added to the standard filter classes?
    You can simply create a wrapper filter which implements IndexAwareFilter and wraps another IndexAwareFilter. The calculateEffectiveness should be implemented as you want it, and you can delegate applyIndex() and evaluateEntry() to the wrapped filter.
    MagnusE wrote:
    I would also like to know how a few things about how indexes are used by Coherence:
    1.     How does the various built in filters calculate there effectiveness?I believe they return the number of reverse index accesses as effectiveness if the index exists, and maybe the size of the candidate set if it does not exist.
    MagnusE wrote:
    Do coherence for instance keep some statistics about how many unique values an index contain or how does it decide what index that is more effective than another?Since the reverse index is just a map between extracted values and a collection of keys, practically this information is available from MapIndex.getIndexContents().size(), if I correctly understand your question, where you can get the MapIndex for an extractor with mapIndexes.get(extractor).
    MagnusE wrote:
    2.     Can Coherence use more than one index at the same time (i.e. merge indexes)? From my experience it seems like only one index is used fully, other indexes are only used to avoid de-serialization when performing a linear search of the hits from the first index. As far as I know only the most advanced RDBM are able to use more than one index (instead of only performing linear search from the result of one index) so I am not really surprised if Coherence do the same...Yes, any number of indexes can be used, but the stock filters use only a single index (as you can specify a single extractor to the filter). Of course if you form a logical expression between two filters using different extractors, indexes to both extractors will be used if they exist. The applyIndex() and calculateEffectiveness() methods receive all indexes in the mapIndexes parameter, so your custom index-aware filter can use any number of existing indexes at the same time.
    MagnusE wrote:
    3.     Does making an index sorted in any way improve the performance if the index is used as the second or third index applied in a query (one could envision that some sort of binary search could be used instead of linear search of the hits from the first index used if a sorted index is available)?If you need range queries on the extracted value, sorted index can help a great deal as you don't have to iterate all the keys in the reverse index. This is independent of what other filters you use in your logical expression, the evaluation of the subexpression on the sorted index will still be more efficient than if the index was unsorted.
    Best regards,
    Robert

  • Problem with effect in fcpx 10.0.9

    Hi,
    almost all the effect don't work.
    When I go on the effect icon with the mouse, nothing append and when i apply the effect on a sequence, it is the same, nothing append.
    When i increase the amount of the effect, the screen become black (like as i decrease the opacity).
    I have uninstall fcpx yesterday (following the instruction of apple) and reinstall but the problem stays.
    my configuration:
    imac 2013 with OSX 10.8.4
    fcpx 10.0.9
    tks for your help
    L.

  • Problem with replacement of index series, change of base year

    Hi Experts!
    I try to explain my problem in Real Estate.
    In Italy from January 2011 the baseline (base year) national index of consumer prices for the entire community (NIC) and national consumer price index for families of workers and employees (CPI) moved from 1995 to 2010.
    So, I have to change the base year of index in Rent Adjustment.
    I think I have changed the base year from 1995 to 2010.
    (Path: Real Estate>Rent Adjustment>Index>Replacement of index series, change of base year)
    In table TIVAJINDXCON (previous was empty) now there is this record:
    SERIESTO: 08000
    BASEYEARTO: 1995
    SERIESFROM: 08000
    BASEYEARFROM: 2010
    CHAINDATE: 31.12.2010
    INDEXBASETO: 1,373
    But with transaction FOA0 it seems that the rent adjustment still consider 1995 as base year instead of 2010.
    I have to set the SAP application as to use 2010 as new base year instead of 1995.
    Would you please forward me with any support.
    Best regards,
    Thank you.
    Tania

    My question has been answered by SAP.

  • Problem with Pages/SpotLight index

    Hi
    I posted a question regarding a problem I am having using "Open existing files" in Pages. The thread is called "Can't find pages files".
    After some responses I was asked to use Onyx to rebuild the spotlight index. However the problem was fixed on the first search but soon returned back. One of the posters said that it seems that something on my system is clobbering the Spotlight index. He says I may require a clean system install to get rid of the issue. However before doing so, he suggested I ask in the forum dedicated to _Mac OS X v10.6 Snow Leopard _
    Can anyone help?
    Thanks,
    Raffaele

    If you want to report this issue to Apple's engineering, send a bug report or an enhancement request via its Bug Reporter system. To do this, join the Mac Developer Program—it's free and available for all Mac users and gets you a look at some development software. Since you already have an Apple username/ID, use that. Once a member, go to Apple BugReporter and file your bug report or enhancement request. The nice thing with this procedure over submitting feedback is that you get a response and a follow-up number; thus, starting a dialog with engineering.

Maybe you are looking for