Comunidad de diseño web y desarrollo en internet online

texto con máscara no se ve, por quE?

Citar            
MensajeEscrito el 11 Oct 2006 01:02 pm
que tal, tengo un fla donde tengo 3 layers

el primero de abajo hacia arriba tiene la siguiente acción para hacer scroll de texto:


Código:

Código :

/////////
stop();

// --
stopScroll = function () { sonidoScroll.stop();delete loop.onEnterFrame;this.texto.textColor = 0x000000;suena = undefined;};
// --
startScroll = function (texto, direccion) { loop.onEnterFrame = function() {if (texto.scroll == texto.maxscroll && direccion == 1 || texto.scroll == 1 && direccion<1) {sonidoScroll.stop();} else {if (!suena) {sonidoScroll.start(0, 999);suena = true;}}texto.scroll += direccion;};};
// --

subir_btn.onRollOver = function() {
   this.texto.textColor = 0xff0000;
   startScroll(miTextField, 1);
};
bajar_btn.onRollOver = function() {
   this.texto.textColor = 0xff0000;
   startScroll(miTextField, -1);
};
// --
subir_btn.onRollOut = bajar_btn.onRollOut=stopScroll;



el layer del medio tiene el texto y el layer superior sobre ese segundo layer tiene una máscara sencilla...

cuando no tiene la acción el texto se ve, cuando la tiene se ve todo menos el texto mas si se ve los botones para hacer el scroll. ¿por qué?

saludos.-

usa las etiquetas code para postear tu codigo

Por unasemana

Claber

166 de clabLevel



 

Venezuela

firefox
Citar            
MensajeEscrito el 11 Oct 2006 02:23 pm
Hola. Para que un texto dinámico se vea dentro de una mascara tendras que incrustar toda la tipografia al campo de texto o crear la máscara dinámicamente.
ciao!

Por Zguillez

BOFH

10744 de clabLevel

85 tutoriales
17 articulos
3 ejemplos

Genero:Masculino   Bastard Operators From Hell Héroes Team Cristalab Editores

BCN

firefox
Citar            
MensajeEscrito el 11 Oct 2006 02:46 pm
O crear la mascara mediante código setmask()

Por Sisco

BOFH

3700 de clabLevel

12 tutoriales
4 articulos

Genero:Masculino   Bastard Operators From Hell

Catalunya

firefox
Citar            
MensajeEscrito el 11 Oct 2006 02:58 pm

Zguillez escribió:

... o crear la máscara dinámicamente.

Sisco escribió:

O crear la mascara mediante código setmask()

Código :

if(Sisco escribió == Zguillez escribió){
  que_alguien_tire_a_Sisco_a_la_piscina()
}

Por Zguillez

BOFH

10744 de clabLevel

85 tutoriales
17 articulos
3 ejemplos

Genero:Masculino   Bastard Operators From Hell Héroes Team Cristalab Editores

BCN

firefox
Citar            
MensajeEscrito el 11 Oct 2006 05:45 pm
solo por curiosidad, emebeb la fuente por favor y dime que te pasa

Por FeNtO

BOFH

5091 de clabLevel

18 tutoriales

1 ejemplo

  Bastard Operators From Hell

FeNtO DataCenter

firefox
Citar            
MensajeEscrito el 14 Oct 2006 12:19 pm
que tal, hice el embed de las fuentes y ha funcionado correctamente.

gracias...luego probaré haciendo el set mask.

saludos.-

Por unasemana

Claber

166 de clabLevel



 

Venezuela

firefox

 

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