Pagina 2 di 3 primaprima 1 2 3 ultimoultimo
Visualizzazione dei risultati da 11 a 20 su 21

Discussione: transizioni

  1. #11
    Ecco fatto

    puoi scaricare la cosa qui

    www.4ward.it/test/caricaeffetto.zip

    Come funziona?

    Ho cercato di semplificarti il lavoro da fare al massimo infatti non
    devi inserire il nome di tutte le tue foto.
    Devi modificare solo il file txt scrivendo il numero totale di immagini che hai

    poi inserisci le immagini che si devono chiamare in modo sequenziale

    1.jpg
    2.jpg
    3.jpg
    .....
    n.jpg

    Nel fla se vuoi puoi modificare il tempo di attesa io lo ho messo ogni 6 secondi tu lo puoi mettere come preferisci
    cambiando solo la variabile
    OgniQuantiSecondi.



    Ciao e buon lavoro.
    Consulenza aziendale a 360° http://www.gruppodg.it http://www.gruppodg.it/3d
    Realizzazione siti internet, Siti Flash, Ricerca Location per bar negozi , esercizi commerciali, sviluppo pratiche e allestimento

  2. #12
    semplicemente perfetto... infinitamente grazie.

    A buon rendere!

    Ciao
    Io_FraNo

  3. #13
    di niente ciao
    Consulenza aziendale a 360° http://www.gruppodg.it http://www.gruppodg.it/3d
    Realizzazione siti internet, Siti Flash, Ricerca Location per bar negozi , esercizi commerciali, sviluppo pratiche e allestimento

  4. #14
    Utente di HTML.it
    Registrato dal
    Feb 2001
    Messaggi
    1,471
    anch'io ero interessato agli effetti di transizione di sephiroth.

    Oltre a poter scegliere effetto di transizione, si può modificare leggermente effetto dal codice ?

    grazie




  5. #15
    si si può ma chiaramente ne devi essere in grado di modificare il codice

    Consulenza aziendale a 360° http://www.gruppodg.it http://www.gruppodg.it/3d
    Realizzazione siti internet, Siti Flash, Ricerca Location per bar negozi , esercizi commerciali, sviluppo pratiche e allestimento

  6. #16
    Utente di HTML.it
    Registrato dal
    Feb 2001
    Messaggi
    1,471
    Dove si può vedere il codice dal filmato in flash ?
    dove sono gli action script ?


  7. #17
    Originariamente inviato da enigma_79
    Ecco fatto

    puoi scaricare la cosa qui

    www.4ward.it/test/caricaeffetto.zip

    Come funziona?

    Ho cercato di semplificarti il lavoro da fare al massimo infatti non
    devi inserire il nome di tutte le tue foto.
    Devi modificare solo il file txt scrivendo il numero totale di immagini che hai

    poi inserisci le immagini che si devono chiamare in modo sequenziale

    1.jpg
    2.jpg
    3.jpg
    .....
    n.jpg

    Nel fla se vuoi puoi modificare il tempo di attesa io lo ho messo ogni 6 secondi tu lo puoi mettere come preferisci
    cambiando solo la variabile
    OgniQuantiSecondi.



    Ciao e buon lavoro.
    Ciao Enigma scusa io ho un problema nell'uasare il componente ImageFolder e su alcune transizioni si inchioda e mi resta parte della foto precedente (PROVA)

    Questo è il codice che uso:

    codice:
    #initclip 1
    ImageFader = function () {
    	this.__init__ ();
    };
    ImageFader.prototype = new MovieClip ();
    // ** init class ** //
    ImageFader.prototype.__init__ = function () {
    	this._xscale = 100
    	this._yscale = 100
    	this.bounding_box.unloadMovie()	
    	this._fader_.unloadMovie()
    	this._dataProvider = new Array ();
    	this._count = 0;
    	this._depth = 1;
    	this._isLoaded = -1;
    	if (this._S_) {
    		clearInterval (this._S_);
    	}
    	if (this._xmlfile != "") {
    		this.loadXML (this._xmlfile);
    	}
    };
    // *** load the external xml ** //
    ImageFader.prototype.loadXML = function (x) {
    	var _xml = new XML ();
    	_xml.ignoreWhite = true;
    	_xml.path = this;
    	_xml.load (x);
    	_xml.onLoad = function () {
    		for (var a = 0; a < this.firstChild.childNodes.length; a++) {
    			var _trans = this.firstChild.childNodes[a].attributes.TRANSITION;
    			var _pause = this.firstChild.attributes.PAUSE
    			var _img = this.firstChild.childNodes[a].firstChild.nodeValue;
    			this.path._dataProvider.push ({img:_img, transition:_trans, pause:_pause});
    		}
    		this.path.startFading ();
    		delete this;
    	};
    };
    // ** start fading procedure ** //
    ImageFader.prototype.startFading = function () {
    	if (this._dataProvider.length > 0) {
    		this.makeFader(true)
    	}
    };
    // ** load images ** //
    ImageFader.prototype.makeFader = function (first) {
    	this._isLoaded = -1;
    	this._tmp = this.attachMovie ("ImageLoader", "ImageLoader" + this._depth, this._depth++);
    	this._old1 = this['ImageLoader' + (this._depth - 1)]
    	this._old2 = this['ImageLoader' + (this._depth - 2)]
    	this._tmp.loadHandler ("isLoaded", this._count);
    	this._tmp.autoStart = false;
    	this._tmp.transition = this._dataProvider[this._count].transition
    	this._tmp.loadImage (this._dataProvider[this._count].img);
    	this._t1 = getTimer()
    	this.onEnterFrame = function(){
    		this._t2 = getTimer()
    		if((this._t2 - this._t1) > this._dataProvider[this._count].pause || first==true){
    			if(this._isLoaded == this._count || this._isLoaded == 1 && this._count == 0){
    				delete this.onEnterFrame;
    				this._tmp.start()
    				this._old1.fadeOut()
    				this._old2.removeMovieClip()
    				if(this._count + 1 < this._dataProvider.length){
    					this._count++
    					this.makeFader()
    					return;
    				} else {
    					if(this._loop == true){
    						this._count = 0
    						this.makeFader()
    					}
    				}
    			}
    		}
    	}
    };
    // ** which has been loaded ? ** //
    ImageFader.prototype.isLoaded = function (num) {
    	this._isLoaded = num;
    };
    Object.registerClass ("ImageFader", ImageFader);
    #endinitclip
    Mi puoi aiutare o dirmi se è sbagliato qualcosa?

  8. #18
    Originariamente inviato da zeweb
    Ciao Enigma scusa io ho un problema nell'uasare il componente ImageFolder e su alcune transizioni si inchioda e mi resta parte della foto precedente (PROVA)

    Questo è il codice che uso:

    codice:
    #initclip 1
    ImageFader = function () {
    	this.__init__ ();
    };
    ImageFader.prototype = new MovieClip ();
    // ** init class ** //
    ImageFader.prototype.__init__ = function () {
    	this._xscale = 100
    	this._yscale = 100
    	this.bounding_box.unloadMovie()	
    	this._fader_.unloadMovie()
    	this._dataProvider = new Array ();
    	this._count = 0;
    	this._depth = 1;
    	this._isLoaded = -1;
    	if (this._S_) {
    		clearInterval (this._S_);
    	}
    	if (this._xmlfile != "") {
    		this.loadXML (this._xmlfile);
    	}
    };
    // *** load the external xml ** //
    ImageFader.prototype.loadXML = function (x) {
    	var _xml = new XML ();
    	_xml.ignoreWhite = true;
    	_xml.path = this;
    	_xml.load (x);
    	_xml.onLoad = function () {
    		for (var a = 0; a < this.firstChild.childNodes.length; a++) {
    			var _trans = this.firstChild.childNodes[a].attributes.TRANSITION;
    			var _pause = this.firstChild.attributes.PAUSE
    			var _img = this.firstChild.childNodes[a].firstChild.nodeValue;
    			this.path._dataProvider.push ({img:_img, transition:_trans, pause:_pause});
    		}
    		this.path.startFading ();
    		delete this;
    	};
    };
    // ** start fading procedure ** //
    ImageFader.prototype.startFading = function () {
    	if (this._dataProvider.length > 0) {
    		this.makeFader(true)
    	}
    };
    // ** load images ** //
    ImageFader.prototype.makeFader = function (first) {
    	this._isLoaded = -1;
    	this._tmp = this.attachMovie ("ImageLoader", "ImageLoader" + this._depth, this._depth++);
    	this._old1 = this['ImageLoader' + (this._depth - 1)]
    	this._old2 = this['ImageLoader' + (this._depth - 2)]
    	this._tmp.loadHandler ("isLoaded", this._count);
    	this._tmp.autoStart = false;
    	this._tmp.transition = this._dataProvider[this._count].transition
    	this._tmp.loadImage (this._dataProvider[this._count].img);
    	this._t1 = getTimer()
    	this.onEnterFrame = function(){
    		this._t2 = getTimer()
    		if((this._t2 - this._t1) > this._dataProvider[this._count].pause || first==true){
    			if(this._isLoaded == this._count || this._isLoaded == 1 && this._count == 0){
    				delete this.onEnterFrame;
    				this._tmp.start()
    				this._old1.fadeOut()
    				this._old2.removeMovieClip()
    				if(this._count + 1 < this._dataProvider.length){
    					this._count++
    					this.makeFader()
    					return;
    				} else {
    					if(this._loop == true){
    						this._count = 0
    						this.makeFader()
    					}
    				}
    			}
    		}
    	}
    };
    // ** which has been loaded ? ** //
    ImageFader.prototype.isLoaded = function (num) {
    	this._isLoaded = num;
    };
    Object.registerClass ("ImageFader", ImageFader);
    #endinitclip
    Mi puoi aiutare o dirmi se è sbagliato qualcosa?

    scusa ma a me funziona il link che mi hai dato poi l codice è corretto il componente funziona

    devi solo cambiare il file xml niente altro
    Consulenza aziendale a 360° http://www.gruppodg.it http://www.gruppodg.it/3d
    Realizzazione siti internet, Siti Flash, Ricerca Location per bar negozi , esercizi commerciali, sviluppo pratiche e allestimento

  9. #19
    strano non vedi a volte che restano le immagini precedendi? Ho notato che questo problema se non metto la visualizzazione RANDOM non c'è...


    <?xml version="1.0"?>
    <!--
    set transition number from 1 to 9
    set transition number to 0 for random effect
    -->
    <RSS PAUSE="5000">
    <IMAGE TRANSITION="1">/spot/top5.jpg</IMAGE>
    <IMAGE TRANSITION="2">/spot/top2.jpg</IMAGE>
    <IMAGE TRANSITION="3">/spot/top3.jpg</IMAGE>
    <IMAGE TRANSITION="4">/spot/top4.jpg</IMAGE>
    <IMAGE TRANSITION="5">/spot/top1.jpg</IMAGE>
    </RSS>

  10. #20
    Originariamente inviato da zeweb
    strano non vedi a volte che restano le immagini precedendi? Ho notato che questo problema se non metto la visualizzazione RANDOM non c'è...


    <?xml version="1.0"?>
    <!--
    set transition number from 1 to 9
    set transition number to 0 for random effect
    -->
    <RSS PAUSE="5000">
    <IMAGE TRANSITION="1">/spot/top5.jpg</IMAGE>
    <IMAGE TRANSITION="2">/spot/top2.jpg</IMAGE>
    <IMAGE TRANSITION="3">/spot/top3.jpg</IMAGE>
    <IMAGE TRANSITION="4">/spot/top4.jpg</IMAGE>
    <IMAGE TRANSITION="5">/spot/top1.jpg</IMAGE>
    </RSS>
    quello che ho visualizzato era ok e che io sappia con 0 nn da problemi forse mi sbaglio
    Consulenza aziendale a 360° http://www.gruppodg.it http://www.gruppodg.it/3d
    Realizzazione siti internet, Siti Flash, Ricerca Location per bar negozi , esercizi commerciali, sviluppo pratiche e allestimento

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 © 2026 vBulletin Solutions, Inc. All rights reserved.