Ver Mensaje Individual
  #1 (permalink)  
Antiguo 10/05/2003, 13:11
Avatar de harg
harg
 
Fecha de Ingreso: abril-2002
Ubicación: Querétaro
Mensajes: 573
Antigüedad: 22 años
Puntos: 3
estela del mouse

Hola a todos, en el script master encontré este código, cabe señalar que soy nuevo en flash, mi pregunta es ¿dónde lo debo de poner? o como lo debo de usar? de antemano gracias por su ayuda.

movieclip.prototype.split = function (obj) {
inhalt="Flashstar Duo";
anzahl= length(inhalt);
inhalt=inhalt.toUpperCase();
for(i=1; i<=anzahl; i++){
clip.duplicateMovieClip(obj+i,i);
_root[obj+i].zeichen= inhalt.substring(i-1,i)
_root[obj+i].posX= 0;
_root[obj+i].posY= 0;
}
}
movieclip.prototype.trailer = function (p,q,breite,obj) {
for(i=1; i<=_root.anzahl; i++) {
neu = _root[obj+i];
alt = _root[obj+(i-1)];
neu.posX = (neu.posX + ((alt._x + breite) - neu._x)*1/p)/q;
neu.posY = (neu.posY + (alt._y - neu._y)*1/p)/q;
neu._x += neu.posX;
neu._y += neu.posY;
}
}
Call:
onClipEvent (load) {
this.startDrag(true);
}
onClipEvent (enterFrame) {
Trailer(5,1.7,_root.clip._width,"mc");
}

on (release) {
split("mc");
}
__________________
"Semper est periculosam societas cum potentem"