Comunidad de diseño web y desarrollo en internet online

UIScrollBar desde AS2

Citar            
MensajeEscrito el 26 Oct 2007 09:54 am
hola a tod@s
tengo el siguiente problema y es que estoy haciendo un programa en el cual creo dinamicamete dos cajas de texto, entonces, y tambien en tiempo de ejecucion, quiero crear un componente UIScrollBar asociado. en la ayuda de adobe he encontrao lo siguiente:

http://livedocs.adobe.com/flash/9.0_es/main/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Parts&file=00000487.html

Código :

import flash.net.URLLoader;
import fl.controls.UIScrollBar;
import flash.events.Event;

var myTxt:TextField = new TextField();
myTxt.border = true;
myTxt.width = 200;
myTxt.height = 16;
myTxt.x = 200;
myTxt.y = 150;

var mySb:UIScrollBar = new UIScrollBar();
mySb.direction = "horizontal";
// Size it to match the text field.
mySb.setSize(myTxt.width, myTxt.height); 


pero dice que solo funciona para AS3...y es lo unico que he encontrado. si alguien supiera decirme como hacer eso en AS2, le estaria muy agradecido.

muchas gracias de antemano
atentamente
maije

Por maije

Claber

104 de clabLevel



Genero:Masculino  

Valladolid

firefox
Citar            
MensajeEscrito el 26 Oct 2007 01:51 pm
Busca en la Ayuda de Flash. Allí tienes la explicación para instanciar un UIScrollBar y hasta un ejemplo en AS2.

Por The Fricky!

Presidente

6168 de clabLevel

3 tutoriales
8 articulos

Genero:Masculino   Bastard Operators From Hell Héroes

Piccola Venezia...

firefox

 

Cristalab BabyBlue v4 + V4 © 2011 Cristalab
Powered by ClabEngines v4, HTML5, love and ponies.