Archive for April, 2004

Stage.onResize - Menú escalable.

Este script genera un menú horizontal cuyos botones se ajustan el ancho del navegador.
Ver ejemplo
PLAIN TEXT
Actionscript:

Stage.scaleMode = 'noScale';

Stage.align = 'TL';

formato = new TextFormat();

formato.font = 'verdana';

formato.size = 10;

function makeBoton(tmp_mc, ancho, largo, p, col, label) {

    var tm_mc = tmp_mc.createEmptyMovieClip("tempo" + p, p);

    tm_mc.beginFill(col);

    tm_mc.lineTo(0, 0);

    tm_mc.lineTo(0 + ancho, 0);

    tm_mc.lineTo(0 + [...]

 Votes | Average: 0 out of 5 Votes | Average: 0 out of 5 Votes | Average: 0 out of 5 Votes | Average: 0 out of 5 Votes | Average: 0 out of 5 (No hay votos todavia.)
Loading ... Loading ...