GithubHelp home page GithubHelp logo

as3scrollinglist's People

Contributors

promatik avatar thanksmister avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

as3scrollinglist's Issues

Error #2094: Event dispatch recursion overflow.

I am getting the following when I try and call removeListItems(); This issue is not fixed yet. At first i thought it was my code but actually its happening even when i use the example provided from github svn repository.

Error: Error #2094: Event dispatch recursion overflow.
at flash.display::DisplayObjectContainer/removeChild()
at com.thanksmister.touchlist.renderers::TouchListItemRenderer/destroy()
at flash.display::DisplayObjectContainer/removeChild()
at com.thanksmister.touchlist.renderers::TouchListItemRenderer/destroy()
at flash.display::DisplayObjectContainer/removeChildAt()
at com.thanksmister.touchlist.controls::TouchList/removeListItems()

Event dispatch recursion overflow

I am getting the following when I try and call removeListItems();

Error: Error #2094: Event dispatch recursion overflow.
at flash.display::DisplayObjectContainer/removeChild()
at com.thanksmister.touchlist.renderers::TouchListItemRenderer/destroy()
at flash.display::DisplayObjectContainer/removeChild()
at com.thanksmister.touchlist.renderers::TouchListItemRenderer/destroy()
at flash.display::DisplayObjectContainer/removeChildAt()
at com.thanksmister.touchlist.controls::TouchList/removeListItems()

Any ideas?

removeListItem()

Using your demo and adding removeListItem(index) to your handler for the current selected item gives the following error:

[SWF] AS3ScrollingList.swf - 14808 bytes after decompression
List item selected: 9
destroy
destroy
Error: Error #2094: Event dispatch recursion overflow.
at flash.display::DisplayObjectContainer/removeChild()
at com.thanksmister.touchlist.renderers::TouchListItemRenderer/destroy()[/Users/XXXX/Documents/GitHub/as3scrollinglist/com/thanksmister/touchlist/renderers/TouchListItemRenderer.as:174]
at flash.display::DisplayObjectContainer/removeChild()
at com.thanksmister.touchlist.renderers::TouchListItemRenderer/destroy()[/Users/XXXX/Documents/GitHub/as3scrollinglist/com/thanksmister/touchlist/renderers/TouchListItemRenderer.as:174]
at flash.display::DisplayObjectContainer/removeChildAt()
at com.thanksmister.touchlist.controls::TouchList/removeListItem()[/Users/XXXX/Documents/GitHub/as3scrollinglist/com/thanksmister/touchlist/controls/TouchList.as:195]
at AS3ScrollingList/handlelistItemSelected()[/Users/XXXX/Documents/GitHub/as3scrollinglist/AS3ScrollingList.as:133]
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at com.thanksmister.touchlist.controls::TouchList/handleItemSelected()[/Users/XXXX/Documents/GitHub/as3scrollinglist/com/thanksmister/touchlist/controls/TouchList.as:409]
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at com.thanksmister.touchlist.renderers::TouchListItemRenderer/selectHandler()[/Users/XXXX/Documents/GitHub/as3scrollinglist/com/thanksmister/touchlist/renderers/TouchListItemRenderer.as:201]

(REPEATS)

Error #2094: Event dispatch recursion overflow.

Hi

I have read in your comments that this issue was resolved but i can confirm from github latest checkout that it remains. When you try to removeListItems if there is any item in the list this error happens. i have tried the fix you have mentioned but it has no effect.. Can you please suggest something ?

event recursion when destroy() function is fired

Thank for the great class. I am unable to remove the scrolling list from the stage without generating an event recursion error in the TouchListItemRenderer destroy() function. The error is thrown when the textfield is removed from the list.

I fixed the issue by changing the listener for the destroy() function. As written, the TouchListItemRenderer class listens for the EVENT.REMOVE event. This event bubbles into children like the textfield, so that the remove event fires once for the list item and again for any children of the list item, generating the error.

I changed this

public function TouchListItemRenderer(){
addEventListener(Event.REMOVED, destroy);
}

to this:

public function TouchListItemRenderer() {
addEventListener(Event.REMOVED_FROM_STAGE, destroy);
}

and made the error and problem go away. It's not trivial in that events floating around after their object has been removed can and do cause problems in apps.

clicking on lower end items in the list sometimes causes list to jump back up.

Hi'

Great work there. I am using it Ina. Project of mine and I notice that if I scroll towards the end of the list and they to click a item towards the end the list behaves abruptly and jumps back up. So I just cannot bring the item under the finger and have it clicked. The moment I touch the list position jumps back again.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.