Pagina 1 di 4 1 2 3 ... ultimoultimo
Visualizzazione dei risultati da 1 a 10 su 38
  1. #1

    [MX][MX2004] Dissolvenza in entrata del testo..

    sera,

    Mi chiedevo come avere testo in dissolvenza in entrata in un MC!
    es.
    testo che proviene da nodoXML
    oppure da databaseMySql-PHP

    è una cosa fattibile solo con MX2004 ?
    o anche con MX?

    sempre grazie a tutti

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

  2. #2
    Utente di HTML.it L'avatar di negatyve
    Registrato dal
    Feb 2001
    Messaggi
    9,479
    Si può avere anche con flash5, ma qual'è il punto in cui "ti pianti"?

  3. #3
    in che senso... pianti?
    Interactive Html/CSS/JS Playground | @webbeloz ( cip..cip! )
    Mechanics & Expert Tuning Fix Z3 Roadster Community

  4. #4
    Utente di HTML.it L'avatar di negatyve
    Registrato dal
    Feb 2001
    Messaggi
    9,479
    Cosa non riesci a fare? Riesci a caricare il testo esterno?

  5. #5
    certo che si..

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

  6. #6
    Utente di HTML.it L'avatar di negatyve
    Registrato dal
    Feb 2001
    Messaggi
    9,479
    Quindi, se usi l'xml, usi l'evento onLoad per riempire il campo di testo, giusto? E allora:

    codice:
    data_xml = new XML();
    data_xml.ignoreWhite = true;
    data_xml.path = this;
    data_xml.onLoad = function(ok)
    {
    	if(ok){
    		this.path.testo_txt._alpha = 0;
    		this.path.testo_txt.text = il_tuo_nodo;
    		this.path.intervallo = setInterval(this.path, "fadeIn", this.path.testo_txt, 200);
    	} else {
    	}
    };
    function fadeIn(target)
    {
    	if(target._alpha < 100){
    		target._alpha += 5;
    	} else {
    		clearInterval(this.intervallo);
    	}
    }
    data_xml.load("file.xml");

  7. #7
    ho visto entrambe le cose, però ora non riesco a fare verifica..
    non appena, certo mi faccio sentire

    grazie di tutto,

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

  8. #8
    :bubu: echm..

    posto il punto in cui mi trovo: e non dissolve..
    codice:
    function displayXML()
    {
    	if(_alpha < 100){
    		_alpha += 5;
    	} else {
    		clearInterval(this.intervallo);
    	}
    }
    
    XML_var = new XML();
    // url
    XML_var.load("http://www.webbeloz.altervista.org/dataxml/flash.xml");
    // dopo che xml è rilevato, funzione display
    XML_var.onLoad = displayXML;
    // display in txt caricato
    txt = "Loading Data_";
    function displayXML() 
    {
        mainTag = new XML;
        elementTag = new XML;
        articleList = new Array;
        elementList = new Array;
        mainTag = this.firstChild.nextSibling;
        articleList = mainTag.childNodes; 
    txt = "";
        
    //loop xml
    for(i=0;i<=articleList.length;i++)
    {//start
    elementList = articleList[i].childNodes;
    //start 
    for(j=0;j<=elementList.length;j++) 
    	{//start 
    elementTag = elementList[j];
    head = elementTag.firstChild.nodeValue;
    if(elementTag.nodeName.toLowerCase() == "node1")
    {txt += head +"
    ";}
    if(elementTag.nodeName.toLowerCase() == "node2")
    {txt += head +"
    ";}
    if(elementTag.nodeName.toLowerCase() == "node3")
    {txt += head +"
    ";}
    if(elementTag.nodeName.toLowerCase() == "node4")
    {txt += head +"
    ";}
    if(elementTag.nodeName.toLowerCase() == "node5")
    {txt += head +"
    ";}
    	}//finito
    
    }//finish
    
    }
    :quipy:
    Interactive Html/CSS/JS Playground | @webbeloz ( cip..cip! )
    Mechanics & Expert Tuning Fix Z3 Roadster Community

  9. #9
    Utente di HTML.it L'avatar di negatyve
    Registrato dal
    Feb 2001
    Messaggi
    9,479
    Un attimo, la tua funzione per il fadeout è diversa dalla mia, e nella mia prevedo il fade di un movieclip alla volta..

  10. #10
    infatti io ho solo il campo testo con variabile txt
    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.