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

    Testo che si alterna automaticamente : errore cercasi

    Ciao Ho provato a usare questo Script:

    http://www.flashroom.it/index.php?ti...um=208&modo=pg

    Ma Flash8 mi restituisce questo errore:

    **Error** Scene=Scena 1, layer=Layer 28, frame=1:Line 1: Statement block must be terminated by '}'
    function leggi() {

    **Error** Scene=Scena 1, layer=Layer 28, frame=1:Line 15: Syntax error.
    }

    Total ActionScript Errors: 2 Reported Errors: 2

    Cosa c'è che non va secodno voi??? Io proprio nn capisco!

    ciao e grazie!

  2. #2
    ci manca una parentesi graffa alla fine!
    :: www.madadayo.it :::: CINEMASCOPE - Independent Film Journal ::

    Esatto! - urlò Vroomfondel - Esigiamo aree di dubbio e di incertezza rigidamente definite!

  3. #3
    Grazie mille!
    Ma nn funge
    ...ho seguito alla lettera le indicazioni del tutorial ma nn riesco a vedere il testo nel campo dinamico!

    sullo stage ho un campo istanziato "testata"

    nella funzione:
    codice:
    function leggi() {
    	i++;
    	if (nuovo["argomento"+i] == undefined) {
    		i = 1;
    		mcTestata.testata.text = nuovo["argomento"+i];
    	}
    	nuovo = new LoadVars();
    	nuovo.load("news.txt");
    	nuovo.onLoad = function(success) {
    		if (success) {
    			setInterval(leggi, 3000);
    		} else {
    			trace("lettura fallita.");
    		}
    	};
    }
    e il mio file: news.txt è:
    codice:
    argomento1=News1, testo testo testo testo testo testo testo testotesto testo testo testo&argomento2=news2, testo testo testo testo testo testo testo testotesto testo testo testo&argomento3=NEWS3, testo testo testo testo testo testo testo testotesto testo testo testo&argomento4=NEWS4, testo testo testo testo testo testo testo testotesto testo testo testo&argomento5=NEWS5, testo testo testo testo testo testo testo testotesto testo testo testo&

  4. #4
    Codice PHP:
    function leggi() {
        
    i++;
        if (
    nuovo["argomento"+i] == undefined) {
            
    1;
            [
    B]mcTestata.[/Btestata.text nuovo["argomento"+i];
        }
        
    nuovo = new LoadVars();
        
    nuovo.onLoad = function(success) {
            if (
    success) {
                
    setInterval(leggi3000);
            } else {
                
    trace("lettura fallita.");
            }
        };
                [
    B]nuovo.load("news.txt");[/B

    nel tuo file esiste mcTestata ??
    posponi il load dopo la dichiarazione della funzione

    fai sapere

  5. #5
    Non so cosa sto combinando...ormai ho perso la lucidità su questa cxxxxxxxta..chiedo umilmente aiutoo!!!!!
    SORGENTI

    grazie infinite!




    @Rempox...il tuo "box news" : SORGENTE
    Come funziona? Anche lui ha un cambio automatico di pagina?

    thanx

  6. #6
    No le mie news sono in chiaro perche avendo un box grande a disposizione ed una scrollbar non voglio far impazzire chi vuole leggere le mie news, quindi non metterei mai una cosa del genere o quanto meno troverei per le Flash News di dare la possibilità di leggere tutte in chiaro da un'altra parte.

    Ciao

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.