Visualizzazione dei risultati da 1 a 2 su 2

Discussione: Ombra a Clip [MX]

  1. #1

    Ombra a Clip [MX]

    Ciao a tutti,
    come creo un'ombra che segue un movie clip particolare.

    Il clip contiene questo codice :

    onClipEvent (enterFrame) {
    if (vai) {
    w = Number(_global.arrayW[_root.num])+20;
    h = Number(_global.arrayH[_root.num])+20;
    if (!dw) {
    if (_width != w) {
    _width += (w-_width)/6;
    }
    if (Math.round(Math.abs((w-_width)/2.5)) == 0) {
    dw = 1;
    }
    }
    if (!dh) {
    if (_height != h) {
    _height += (h-_height)/4;
    }
    if (Math.round(Math.abs((h-_height)/2.5)) == 0) {
    dh = 1;
    a = false;
    }
    }
    if (dw && dh) {
    if (!a) {
    _root.cont._alpha = 0;
    _root.cont._visible = 1;
    _root.preloader._visible = 0;
    _root.cont._x = this._x+((this.width/2)-_root.cont._width/2);
    _root.cont._y = this._y+((this.height/2)-_root.cont._height/2);
    a = true;
    }
    }
    }
    }
    onClipEvent (load) {
    _root.num = 0;
    }


    Questo clip e un quadrato che si apre e assume il formato della foto caricata.

    Ciao grazie.
    Simone Musiu

  2. #2
    NESSUNO MI AIUTA
    Simone Musiu

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved.