Visualizzazione dei risultati da 1 a 4 su 4
  1. #1
    Utente di HTML.it L'avatar di ELFO-3P
    Registrato dal
    Dec 2001
    Messaggi
    365

    si puo' applicare uno scroller a un testo xml caricato esternamente in flash?

    io ho usato questo per caricare il file xml:

    ApriXml();
    fscommand ("allowscale", "false");


    function ApriXML () {
    mioxml = new XML();
    notizie = new Array();
    arraynews = new Array();
    mioxml.load('public/domande.xml');
    // mioxml.load(filexml);
    mioxml.onLoad = ParseXML;
    function ParseXML (success) {
    if (success) {
    notizie = new Array();
    // metto il file XML dentro un array.
    notizie = mioxml.childNodes;
    // trace(notizie);
    // leggo l'array e solo gli elementi non vuoti (che sarebbero gli spazi bianchi lasciati tra i tag dell'XML) vengono aggiunti alla stringa delle news
    for (i=0; i<notizie.length; i++) {
    if (notizie[i].childNodes.toString() != "") {
    arraynews.push(notizie[i].childNodes.toString());
    }
    ;
    }
    ;
    _root.Clipnews.testonews = arraynews[0];
    }
    ;
    }
    ;
    }
    ;



    ora ho un problema...volevo ke questo testo scrollasse
    si puo'?
    SOLO COLORO CHE TENTANO L'IMPOSSIBILE RAGGIUNGERANNO L'ASSURDO

  2. #2

    Re: si puo' applicare uno scroller a un testo xml caricato esternamente in flash?

    Originariamente inviato da ELFO-3P
    io ho usato questo per caricare il file xml:

    ApriXml();
    fscommand ("allowscale", "false");


    function ApriXML () {
    mioxml = new XML();
    notizie = new Array();
    arraynews = new Array();
    mioxml.load('public/domande.xml');
    // mioxml.load(filexml);
    mioxml.onLoad = ParseXML;
    function ParseXML (success) {
    if (success) {
    notizie = new Array();
    // metto il file XML dentro un array.
    notizie = mioxml.childNodes;
    // trace(notizie);
    // leggo l'array e solo gli elementi non vuoti (che sarebbero gli spazi bianchi lasciati tra i tag dell'XML) vengono aggiunti alla stringa delle news
    for (i=0; i<notizie.length; i++) {
    if (notizie[i].childNodes.toString() != "") {
    arraynews.push(notizie[i].childNodes.toString());
    }
    ;
    }
    ;
    _root.Clipnews.testonews = arraynews[0];
    }
    ;
    }
    ;
    }
    ;



    ora ho un problema...volevo ke questo testo scrollasse
    si puo'?
    apri il pannello dei components e trascina una barra sul campo dinamiko, questa si aggangia e scrolla il tutto

  3. #3
    Utente di HTML.it L'avatar di ELFO-3P
    Registrato dal
    Dec 2001
    Messaggi
    365
    no non ho capito :/
    cioè kiamami anke down...
    se ti mando il fla me lo potresti fare tu?
    :tongue:
    SOLO COLORO CHE TENTANO L'IMPOSSIBILE RAGGIUNGERANNO L'ASSURDO

  4. #4
    guarda in pvt

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.