Visualizzazione dei risultati da 1 a 5 su 5

Discussione: menu elastico

  1. #1

    menu elastico

    sapete dirmi dove posso trovare un esempio di menu elastico?

  2. #2
    su flash-mx.it credo tu ne possa trovare parecchi.

    Agli altri vorrei chiedere invece se qualcuno ha la mia prototype.elastic postata il giorno in cui e' andato in malora il forum
    Formaldehyde a new Ajax PHP Zero Config Error Debugger

    WebReflection @WebReflection

  3. #3
    codice:
    MovieClip.prototype.elastic = function(x, y, acc, inrz) {
    	// elastic prototype
    	// Author: [andr3a] [19/09/2003] [www.3site.it]
    	// instance_name.elastic(verso_x, verso_y, accelerazione, inerzia);
    	var spostamento_x = 0;
    	var spostamento_y = 0;
    	var checkpos = Array();
    	var remember = 1;
    	this.onEnterFrame = function() {
    		spostamento_x = (spostamento_x + (x - this._x) /acc) / inrz;
    		spostamento_y = (spostamento_y + (y - this._y) / acc) / inrz;
    		this._x += spostamento_x;
    		this._y += spostamento_y;
    		if( checkpos[remember-1] == (this._x+this._y) ) {
    			remember = 1;
    			delete this.onEnterFrame;
    		}
    		else {
    			checkpos[remember] = (this._x+this._y);
    			remember++;
    		}
    	}
    }
    
    
    // Come si usa ??? ... boh, questo e' un esempio, una piccola sfera
    // con punto di registrazione centrale e nome di istanza
    // sfera_mc
    _root.onMouseUp = function() {
    	sfera_mc.elastic(_root._xmouse, _root._ymouse, 1.7, 1.8);
    }
    Ok, guarda se puo' tornarti utile
    Formaldehyde a new Ajax PHP Zero Config Error Debugger

    WebReflection @WebReflection

  4. #4

  5. #5
    comunque quello che cercavo è come il menu di flash-mx.it...

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.