ciao a tutti è quasi tutto scritto nel titolo, ho questo script che mi fa ruotare e ingandrire la clip con un hittest della xy del mouse:
vorrei pero' che la clip si spostasse leggermente a destra e poi che ritornasse al suo posto originale quando non si verifica più l'hit test... ci sto provando in mille modi ma non ci riesco ... mi potete aiutare?codice:onClipEvent (enterFrame) { this._xscale += (this.end-this._xscale)/2; this._yscale = this._xscale; this._rotation += (this.ruota-this._rotation)/2; if (this.hitTest(_root._xmouse, _root._ymouse, true)) { if (!this.sopra) { this.ruota = 12; this.sopra = true; this.end = 800; } } else { if (this.sopra) { this.ruota = -12; this.sopra = false; this.end = 280; } } }
grazie tante!![]()


Rispondi quotando
