Visualizzazione dei risultati da 1 a 3 su 3
  1. #1

    [MX] createEmptyMovieClip & onclipEvent

    un saluto a tutti,

    come si applicano gli eventi associati alle MC create dinamicamente?
    es.
    se volessi applicare questo codeAS:
    codice:
    onClipEvent(load){
    	this._y = 0;
    	dec = 5;
    }
    onClipEvent(enterFrame){
    	this._y = this._y + (100 - this._y)/dec;
    }
    sempre un grazie a tutti
    Interactive Html/CSS/JS Playground | @webbeloz ( cip..cip! )
    Mechanics & Expert Tuning Fix Z3 Roadster Community

  2. #2
    codice:
    this.createEmptyMovieClip("mio_mc", 2);
    mio_mc._y=0;
    mio_mc.dec=5;
    mio_mc.onEnterFrame=function() {
    this._y = this._y + (100 - this._y)/this.dec;
    }
    ciao
    "La consapevolezza di Case suddivisa come perle di mercurio. La sua visione era sferica, come se una singola retina rivestisse la superficie interna di un globo che conteneva tutte le cose, se tutte le cose si potevano contare." —Neuromante, William Gibson (1984)

  3. #3
    è si..

    :adhone:

    ciaooo grazie


    Interactive Html/CSS/JS Playground | @webbeloz ( cip..cip! )
    Mechanics & Expert Tuning Fix Z3 Roadster Community

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.