Foros del Web » Creando para Internet » Flash y Actionscript »

problema con codigo html en flash

Estas en el tema de problema con codigo html en flash en el foro de Flash y Actionscript en Foros del Web. Hola, soy novata en esto, les cuento: hice una pagina en flash 8 en la cual debo insertar un link de paypal. El link debería ...
  #1 (permalink)  
Antiguo 19/04/2007, 17:43
 
Fecha de Ingreso: noviembre-2005
Mensajes: 8
Antigüedad: 18 años, 4 meses
Puntos: 0
problema con codigo html en flash

Hola, soy novata en esto, les cuento: hice una pagina en flash 8 en la cual debo insertar un link de paypal. El link debería ir dentro de un scroll. que tiene el siguiente codigo:

#include "scroll_easyn.as"
var nivel = _root.mcCont;
var clip = _root.mcCont.mc;
var anchoScroll = 5;
var suavizado = 5;
var contenidoTexto =
"<br>"
+ "<p>Argentina:</p>"
+ "<p>Please call to this number: 1567454111</p></br>"
+ "<br>"
+ "<p>US and rest of the world:</p>"

ACA TIENE QUE IR EL LINK A PAYPAL


+ "<br>"
+ "<br>"
+ "<br>"
+ "<br>"
+ "<p>For fastest response, with any questions, please contact us via email:</p></br>"
+ "<br>"
+ "<p><u><a href='mailto:%[email protected] '><font color='#6699FF'>[email protected] </font></a></u></p></br>"
+ "<br>"
+ "<p>Our DVDs are region-code free, manufactured in the USA at world-class &nbsp;"
+ "factories and shipped only from the USA. All the prices are in US dollars.</p></br>"
+ "<br>"
+ "<p>Shipping and handling:</p></br>"
+ "<br>"
+ "<p>1. Within USA: starting at $7.45 using U.S. Priority Mail.</p></br>"
+ "<br>"
+ "<p>2. To Canada or Mexico: $19.50 using U.S. Express Mail.</p></br>"
+ "<br>"
+ "<p>3. To Brazil: $54 using FedEx.</p></br>"
+ "<br>"
+ "<p>4. The rest of the world: $29.50 using U.S. Express Mail.</p></br>"
+ "<br>"
+ "<p>In case of orders from outside the USA, the buyer is responsible for &nbsp;"
+ "any and all import taxes/duties/</p>"
+ "<p>fees.</p></br>"
+ "<br>"
+ "<p>Please allow up to 7 days for processing of your order. You will &nbsp;"
+ "receive an e-mail when your order is shipped.</p></br>"
+ "<br>"
+ "<p>Refund Policy on Videos and DVDs:</p>"
+ "<p>30 days full price refund less &nbsp;"
+ "shipping and handling for unused, unopened or defective DVDs.</p>"
+ "<p>Authorization code must be obtained prior &nbsp;"
+ "(email to &nbsp;<u><a href='mailto:%[email protected] '><font color='#6699FF'>[email protected] )</font></a></u>"
+ "&nbsp; to return shipping</p></br>"

clip.texto.autoSize = true;
clip.texto.htmlText = contenidoTexto;
_root.generarScrollEasyn(nivel, clip, anchoScroll, suavizado);

Me pasaron de paypal un código html pero cuando lo inserto no solo no aparece la imagen del link sino que deja de funcionar el scroll, no soy experta en scripts por lo tanto no se si escribo mal el código o bien no se puede hacer de esta manera. Por favor necesito que me expliquen como hacerlo, aún cuando la solución sea sacarlo de scroll. Desde ya muchas gracias...
Fer
  #2 (permalink)  
Antiguo 20/04/2007, 07:56
 
Fecha de Ingreso: septiembre-2006
Mensajes: 1.193
Antigüedad: 17 años, 6 meses
Puntos: 30
Re: problema con codigo html en flash

puede ser por que el codigo del campo de texto no este utilizando la propiedad html y tampoco es multilinea.escribelo asi:
Código:
#include "scroll_easyn.as"
var nivel = _root.mcCont;
var clip = _root.mcCont.mc;
var anchoScroll = 5;
var suavizado = 5;
contenidoTexto.multiline = true;
contenidoTexto.html = true;
contenidoTexto.htmlText = "<br>"+"<p>Argentina:</p>"+"<p>Please call to this number: 1567454111</p></br>"+"<br>"+"<p>US and rest of the world:</p>"+"<br>"+"<br>"+"<br>"+"<br>"+"<p>For fastest response, with any questions, please contact us via email:</p></br>"+"<br>"+"<p><u><a href='mailto:%[email protected] '><font color='#6699FF'>[email protected] </font></a></u></p></br>"+"<br>"+"<p>Our DVDs are region-code free, manufactured in the USA at world-class &nbsp;"+"factories and shipped only from the USA. All the prices are in US dollars.</p></br>"+"<br>"+"<p>Shipping and handling:</p></br>"+"<br>"+"<p>1. Within USA: starting at $7.45 using U.S. Priority Mail.</p></br>"+"<br>"+"<p>2. To Canada or Mexico: $19.50 using U.S. Express Mail.</p></br>"+"<br>"+"<p>3. To Brazil: $54 using FedEx.</p></br>"+"<br>"+"<p>4. The rest of the world: $29.50 using U.S. Express Mail.</p></br>"+"<br>"+"<p>In case of orders from outside the USA, the buyer is responsible for &nbsp;"+"any and all import taxes/duties/</p>"+"<p>fees.</p></br>"+"<br>"+"<p>Please allow up to 7 days for processing of your order. You will &nbsp;"+"receive an e-mail when your order is shipped.</p></br>"+"<br>"+"<p>Refund Policy on Videos and DVDs:</p>"+"<p>30 days full price refund less &nbsp;"+"shipping and handling for unused, unopened or defective DVDs.</p>"+"<p>Authorization code must be obtained prior &nbsp;"+"(email to &nbsp;<u><a href='mailto:%[email protected] '><font color='#6699FF'>[email protected] )</font></a></u>"+"&nbsp; to return shipping</p></br>";
Atención: Estás leyendo un tema que no tiene actividad desde hace más de 6 MESES, te recomendamos abrir un Nuevo tema en lugar de responder al actual.
Respuesta




La zona horaria es GMT -6. Ahora son las 07:08.