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

    cdrom motore di ricerca

    Salve, devo fare un cdrom in flash con motore si ricerca, ne ho sviluppato uno utilizzando xml e flash, ma credo a causa della grosa quantità di dati da gestire il sistema è un po troppo lento.

    Nessuno ha mai avuto problemi simili? Accetto qualsiasi suggerimento. Grazie.
    quanne good good cchiù black in the night nun se pò fà...

  2. #2
    Utente di HTML.it
    Registrato dal
    May 2002
    Messaggi
    1,037
    Ho avuto lostesso tuo problema, tra che il file XML pesava 1.5 mb, e andava anche lento.Cosi ho formattato l'XML al mio piacere.ES:
    codice:
    /// XML
    <?xml version="1.0" encoding="iso-8859-1"?>
    <nodo>
    	<subNodo titolo="bllalalal" id="1">ghaerbaebvgasdfhbfhklbflkasdbcvhkbsdhcfbsdhbvhils </subNodo>
    	<subNodo titolo="bububu" id="2">gasdfas   iqwrgwgiwr  wer ifiruir i u huietgh u eh  </subNodo>
    </nodo>
    // Flash
    class Prova
    {
    	private var _titolo:String;
    	private var _ID:Number;
    	private var _testo:String;
    	function Prova (tit:String, id:Number, txt:String)
    	{
    		_titolo = tit;
    		_ID = id;
    		_testo = txt;
    	}
    	public function cercaNelTesto (str:String):Void
    	{
    		if (_testo.indexOf (str))
    		{
    			trace ('Testo trovato');
    		}
    	}
    }
    // Flash timeline
    var n1 = new Prova ('bllalalal', 1, 'ghaerbaebvgasdfhbfhklbflkasdbcvhkbsdhcfbsdhbvhils');
    var n2 = new Prova ('bububu', 2, 'gasdfas   iqwrgwgiwr  wer ifiruir i u huietgh u eh  ');
    n1.cercaNelTesto ('bu');
    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.