Tengo que pasar el siguiente script de AS1 a AS2 y no se como hacerlo. Si alguien me puede ayudar se lo voy a agradecer mucho.
Código :
setProperty ("selectorig", _visible, false);
newY = 10;
function InitMenu (ImTitle, ImMax) {
for (i=0; i<IMMax; i++) {
duplicateMovieClip ("selectorig", "select" add i, i);
setProperty ("select" add i, _y, newY);
set ("select" add i add ".selecttext", _root.menuselect[i]);
setProperty ("select" add i, _visible, false);
newY = newY+20;
}
Title = ImTitle;
Max = ImMax;
}
function MakeVisible (SetOn) {
for (i=0; i<Max; i++) {
setProperty ("select" add i, _visible, SetOn);
}
}
Muchas Gracias.
Andres.
