Return to Snippet

Revision: 21906
at December 23, 2009 10:24 by hermany


Initial Code
function CambiarBanner():Void{
    var num:Number = random(10); //suponiendo q tenes 10 banners
    _root.cargador.loadMovie("banners/banner_"+(num+1)+".sewf");
}
//cargamos el primer banner
CambiarBanner();

Initial URL

                                

Initial Description

                                

Initial Title
Flash randomico para imagenes

Initial Tags

                                

Initial Language
ActionScript