/ Published in: ActionScript
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
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();