![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
22/01/2003, 04:17
|
| | Fecha de Ingreso: diciembre-2002
Mensajes: 18
Antigüedad: 22 años, 2 meses Puntos: 0 | |
hay dos opciones en ppio que puedes utilizar:
usar hitTest o usar la posicion _x/_y de tu mc
Si usas hitTest deberías crear otro mc para que, al chocar con este nuevo mc, tu mc se agrandara.
onClipEvent(enterFrame){
if(this.hitTest(nuevoMc)){
tuMc._xscale+=10
}
}
o si no usando la pos _x y _y de tu mc:
onClipEvent(enterFrame){
if(this._x =100 && this._y=100){
tuMc._xscale+=10
}
} |