davorian / flexible-chimp

Automatically exported from code.google.com/p/flexible-chimp
0 stars 0 forks source link

Index out of bound when invert process #4

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. add more than one child in HBox
2. remove child with child position = 0, based on the role
3. when invert process in Chimp, i've got error at Chimp.as line 152. 
Index out of bounds. They try to add child with child position = 1, but the 
parent have numChildren = 0.

What is the expected output? What do you see instead?
Expected output:
- child added just like when i change the command addChildAt with addChild

What version of the product are you using? On what operating system?
- Chimp 0.2
- Win 7

Please provide any additional information below.

Original issue reported on code.google.com by irsandim...@gmail.com on 12 Mar 2010 at 8:01