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

    Chi mi aiuta a correggere questi as?

    Salve, avrei bisogno di ingrandire il carattere dei messaggi nel guestbook di yassassin (lui non mi risponde alle email)...qualcuno potrebbe dirmi dove cambiare il valore?
    Vi posto gli scrpt contenuti nel movie...più precisamente nella linea temporale c'è una cartella (read gb) con 4 layers (function,pulsanti, elaborazionedatixml e lettura file) ... penso che il codice per cambiare la grandezza del carattere sia negli ultimi due...
    ELABORAZIONEDATIXML:
    function creaArray(msgApag) {
    if (primaVolta == 1) {
    creaPulsanti();
    creaComponenti();
    primaVolta = 0;
    }
    vediMSG.testo.text = "Visualizzati "+((msgApag<10) ? "0"+msgApag : msgApag)+" firme per pagina";
    vediMSG.testo.autoSize = true;
    maxMsgGB = nick.length; //totale firme
    totMSG.testo.text = "tot firme: "+maxMsgGB;
    totMSG.testo.autoSize = true;
    a = Math.round(indietro._x+indietro._width);
    dist = Math.round(avanti._x-a);
    totMSG._x = a+Math.round((dist-totMSG._width)/2);
    totMSG._y = indietro._y;
    delete a; delete dist;
    vediMSG._x = indietro._x;
    cambiaMsgXpag._x = vediMSG._x+vediMSG._width+2;
    vai._x = cambiaMsgXpag._x+cambiaMsgXpag._width+5;
    vai._y = cambiaMsgXpag._y=vediMSG._y=totMSG._y+40;
    totPacchettiMSG = Math.ceil(maxMsgGB/msgApag);
    pacchettiMSG = new Array(totPacchettiMSG);
    for (j=0; j<totPacchettiMSG; j++) {
    pacchettiMSG[j] = "";
    counter = 1;
    for (i=(maxMsgGB-1); i>=0; i--) {
    if (counter<=msgApag) {
    counter++;
    pacchettiMSG[j] += (i+1)+" - <u><font color='#000000'>"+
    ladata[i]+"</font></u>
    <font color='#000000'>"+
    "Nickname:\t</font>"+nick[i];
    pacchettiMSG[j] += "
    <font color='#000000'>Messaggio:\t</font>"+msg[i];
    pacchettiMSG[j] += "

    <font size='12' color='#000000'>"+
    "**************************</font>

    ";
    } else {
    counter = 1;
    maxMsgGB = i+1;
    break;
    }
    }
    }
    counter = 0;
    datiGB.testo.htmlText = pacchettiMSG[counter];
    controllaPULS();
    }
    LETTURA FILE:
    primaVolta = 1;
    function letturaFile() {
    mioxml = new XML();
    mioxml.ignoreWhite = true;
    (inLocale==false)?filexml=filexml+"?a="+random(999 99):'';
    mioxml.load(filexml);
    datiGB.testo.htmlText = "


    Loading . . .

    Attendere prego . . .";
    mioxml.path = this;
    mioxml.onLoad = function(ok) {
    if (ok) {
    attributiXML = new Array("ladata", "nick", "mail", "web");
    for (i=0; i<attributiXML.length; i++) {
    this.path[attributiXML[i]] = new Array();
    }
    var nodi = this.firstChild.childNodes;
    msg = new Array();
    for (i=0; i<nodi.length; i++) {
    for (j=0; j<attributiXML.length; j++) {
    this.path[attributiXML[j]].push(nodi[i].attributes[attributiXML[j]]);
    }
    msg[i] = nodi[i].firstChild.nodeValue;
    }
    delete mioxml;
    creaArray(10);
    } else {
    datiGB.testo.htmlText = "


    ATTENZIONE

    Il file non è stato trovato";
    }
    };
    }
    letturaFile();

    Se qualcuno è tanto buono da aiutarmi...Grazie

  2. #2
    codice:
    function creaArray(msgApag) { 
    if (primaVolta == 1) { 
    creaPulsanti(); 
    creaComponenti(); 
    primaVolta = 0; 
    } 
    vediMSG.testo.text = "Visualizzati "+((msgApag<10) ? "0"+msgApag : msgApag)+" firme per pagina"; 
    vediMSG.testo.autoSize = true; 
    maxMsgGB = nick.length; //totale firme 
    totMSG.testo.text = "tot firme: "+maxMsgGB; 
    totMSG.testo.autoSize = true; 
    a = Math.round(indietro._x+indietro._width); 
    dist = Math.round(avanti._x-a); 
    totMSG._x = a+Math.round((dist-totMSG._width)/2); 
    totMSG._y = indietro._y; 
    delete a; delete dist; 
    vediMSG._x = indietro._x; 
    cambiaMsgXpag._x = vediMSG._x+vediMSG._width+2; 
    vai._x = cambiaMsgXpag._x+cambiaMsgXpag._width+5; 
    vai._y = cambiaMsgXpag._y=vediMSG._y=totMSG._y+40; 
    totPacchettiMSG = Math.ceil(maxMsgGB/msgApag); 
    pacchettiMSG = new Array(totPacchettiMSG); 
    for (j=0; j<totPacchettiMSG; j++) { 
    pacchettiMSG[j] = ""; 
    counter = 1; 
    for (i=(maxMsgGB-1); i>=0; i--) { 
    if (counter<=msgApag) { 
    counter++; 
    pacchettiMSG[j] += (i+1)+" - <u><font color='#000000'>"+ 
    ladata[i]+"</font></u>
    <font color='#000000'>"+ 
    "Nickname:\t</font>"+nick[i]; 
    pacchettiMSG[j] += "
    <font color='#000000'>Messaggio:\t</font>"+msg[i]; 
    pacchettiMSG[j] += "
    
    <font size='12'    color='#000000'>"+ 
    "**************************</font>
    
    "; 
    } else { 
    counter = 1; 
    maxMsgGB = i+1; 
    break; 
    } 
    } 
    } 
    counter = 0; 
    datiGB.testo.htmlText = pacchettiMSG[counter]; 
    controllaPULS(); 
    } 
    LETTURA FILE: 
    primaVolta = 1; 
    function letturaFile() { 
    mioxml = new XML(); 
    mioxml.ignoreWhite = true; 
    (inLocale==false)?filexml=filexml+"?a="+random(99999):''; 
    mioxml.load(filexml); 
    datiGB.testo.htmlText = "
    
    
    Loading . . .
    
    Attendere prego . . ."; 
    mioxml.path = this; 
    mioxml.onLoad = function(ok) { 
    if (ok) { 
    attributiXML = new Array("ladata", "nick", "mail", "web"); 
    for (i=0; i<attributiXML.length; i++) { 
    this.path[attributiXML[i]] = new Array(); 
    } 
    var nodi = this.firstChild.childNodes; 
    msg = new Array(); 
    for (i=0; i<nodi.length; i++) { 
    for (j=0; j<attributiXML.length; j++) { 
    this.path[attributiXML[j]].push(nodi[i].attributes[attributiXML[j]]); 
    } 
    msg[i] = nodi[i].firstChild.nodeValue; 
    } 
    delete mioxml; 
    creaArray(10); 
    } else { 
    datiGB.testo.htmlText = "
    
    
    ATTENZIONE
    
    Il file non è stato trovato"; 
    } 
    }; 
    } 
    letturaFile();
    credo sia qllo in rosso il tuo problema prova.
    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

  3. #3
    Scuate se vi stresso ancora, ma cambiando i font:
    function creaArray(msgApag) {
    if (primaVolta == 1) {
    creaPulsanti();
    creaComponenti();
    primaVolta = 0;
    }
    vediMSG.testo.text = "Visualizzati "+((msgApag<10) ? "0"+msgApag : msgApag)+" firme per pagina";
    vediMSG.testo.autoSize = true;
    maxMsgGB = nick.length; //totale firme
    totMSG.testo.text = "tot firme: "+maxMsgGB;
    totMSG.testo.autoSize = true;
    a = Math.round(indietro._x+indietro._width);
    dist = Math.round(avanti._x-a);
    totMSG._x = a+Math.round((dist-totMSG._width)/2);
    totMSG._y = indietro._y;
    delete a; delete dist;
    vediMSG._x = indietro._x;
    cambiaMsgXpag._x = vediMSG._x+vediMSG._width+2;
    vai._x = cambiaMsgXpag._x+cambiaMsgXpag._width+5;
    vai._y = cambiaMsgXpag._y=vediMSG._y=totMSG._y+40;
    totPacchettiMSG = Math.ceil(maxMsgGB/msgApag);
    pacchettiMSG = new Array(totPacchettiMSG);
    for (j=0; j<totPacchettiMSG; j++) {
    pacchettiMSG[j] = "";
    counter = 1;
    for (i=(maxMsgGB-1); i>=0; i--) {
    if (counter<=msgApag) {
    counter++;
    pacchettiMSG[j] += (i+1)+" - <u><font size='13' color='#000000'>"+
    ladata[i]+"</font></u>
    <font color='#000000' size='12'>"+
    "Nickname:\t</font>"+nick[i];
    pacchettiMSG[j] += "
    <font color='#000000' size='15'> Messaggio:\t</font>"+msg[i];
    pacchettiMSG[j] += "

    <font size='16' color='#000000'>"+
    "**************************</font>

    ";
    } else {
    counter = 1;
    maxMsgGB = i+1;
    break;
    }
    }
    }
    counter = 0;
    datiGB.testo.htmlText = pacchettiMSG[counter];
    controllaPULS();
    }

    Ottengo questo risultato (QUI )...in parte mi sta bene, ma vorrei cambiare anche bene, ma vorrei aumentare le font dei messaggi inseriti...
    grazie mille...se volete vi posto il file .fla

  4. #4
    Qualcuno mi aiuti vi prego

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.