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

    Unload immagine esterna

    ciao a tutti!

    mediante il seguente codice, carico un'immagine jpeg
    in un determinato punto dello schermo:

    codice:
    _root.createEmptyMovieClip("mcEsterno",10);
    function preload(){
    	car = mcEsterno.getBytesLoaded();
    	tot = mcEsterno.getBytesTotal();
    	if(car>1024 && car == tot){
    		mcEsterno._x = 100;
    		mcEsterno._y = 240;
    		clearInterval(a);
    	}
    }
    mcEsterno.loadMovie("pippo.jpg");
    a = setInterval(preload,50);
    L'immagine compare nella posizione voluta del movie.
    il problema è che dopo alcuni frame io vorrei far sparire
    questa immagine e non so come fare!


    grazie in anticipo.
    ::: cl@dy :::
    www.frascella.net
    Ma watt a farad in coulomb, un volt, due volt, tre volt, con un ohm. Così t'Ampere !!!
    Error. Mouse not found. Click mouse button to continue.

  2. #2
    Utente di HTML.it L'avatar di negatyve
    Registrato dal
    Feb 2001
    Messaggi
    9,479
    mcEsterno.unloadMovie();

    o

    mcEsterno._visible = 0;

  3. #3

    miiiii

    minch... che velocità! Grazie 1000, siete grandi.
    MITICI!

    ::: cl@dy :::
    www.frascella.net
    Ma watt a farad in coulomb, un volt, due volt, tre volt, con un ohm. Così t'Ampere !!!
    Error. Mouse not found. Click mouse button to continue.

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.