
13/08/2008, 10:06
|
| | Fecha de Ingreso: agosto-2008
Mensajes: 20
Antigüedad: 16 años, 6 meses Puntos: 1 | |
Respuesta: Juego Drag&Drop: Clases, Variables y como liarse con ellas... me respondo a mi mismo y dejo aqui esto por si a alguien le ayuda:
Equivalente AS3 para swapDepths:
function move_to_top() {
// This will move the current object to the topmost z-index
parent.setChildIndex(this, parent.numChildren-1);
}
Lo pegue en la clase del archivo y listo.
Visto aqui: http://snippets.dzone.com/posts/show/5130 |