[html5] problems with setChildIndex

Bug #1005791 reported by pauLE
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
jeash
Fix Committed
High
Unassigned

Bug Description

When I have a grid of bitmaps and want to choose two of them and animate this two, the ZIndex is not set properly in html5 with this statement:
//setChildIndex works in flash but not in html5
 card1.parent.setChildIndex(card1, card1.parent.numChildren -1);
 card2.parent.setChildIndex(card2, card2.parent.numChildren -2);

This works in flash! What should I do?

Revision history for this message
pauLE (pp-88) wrote :
Revision history for this message
Niel Drummond (niel-drummond) wrote :

setChildIndex does not move its children in the DOM.. thanks for the test case.

Changed in jeash:
status: New → Confirmed
Changed in jeash:
status: Confirmed → Fix Committed
Changed in jeash:
importance: Undecided → High
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.