Ver Mensaje Individual
  #2 (permalink)  
Antiguo 09/04/2005, 07:02
xavi
 
Fecha de Ingreso: abril-2005
Mensajes: 76
Antigüedad: 19 años
Puntos: 0
prueba con algo así
Código:
createEmptyMovieClip("superLinea",getNextHighestDepth());
superLinea.lineStyle(1,0x333333,100);
superLinea.moveTo(mcDeLaFoto._x,mcDeLaFoto._y);
superLinea.lineTo(mcDeLaFoto._width+mcDeLaFoto._x,mcDeLaFoto._y);
superLinea.lineTo(mcDeLaFoto._width+mcDeLaFoto._x,mcDeLaFoto._y+mcDeLaFoto._height);
superLinea.lineTo(mcDeLaFoto._x,mcDeLaFoto._y+mcDeLaFoto._height);
superLinea.lineTo(mcDeLaFoto._x,mcDeLaFoto._y);
pero la imagen tendrá que estar cargada para que funcione, ya que el clip contenedor no tendrá width ni height hasta que la imagen esté dentro