Skip to main content
Known Participant
August 12, 2007
Question

Need Formatting Help with Scroling Text

  • August 12, 2007
  • 2 replies
  • 306 views
I have a script that will bring in my resume and scroll it beautifully - the only problem is that the text is extremely small and hard to read. If you could alter this text in a way that will let me apply font, style, size, and color to the imported text, and then display it that way as it scrolls, I would be most grateful. Telling me to use such and such a function doesn't work at my level of understanding - I need to see it in the code for me to be able to get it to work.

Thanks,
jcarruth
This topic has been closed for replies.

2 replies

August 13, 2007
what erros di u get. I cant see it would hurt to place the actual format paramters(the first four lines) above your external_text declarations. Whilst palcing the 5th line just above your addingof external_text to display list
Known Participant
August 13, 2007
quote:

Originally posted by: zibber
what erros di u get. I cant see it would hurt to place the actual format paramters(the first four lines) above your external_text declarations. Whilst palcing the 5th line just above your addingof external_text to display list


I either get a blank screen, or no change to the text being displayed. Here's where I put the first four lines of your code:
I can't seem to get the location of where to put the "external_txt.defaultTextFormat = format;" line. Could you give me the full line of code, and then tell me if it goes before or after that line? I tried "Whilst palcing the 5th line just above your addingof external_text to display list" and it was not specific enough for me, obviously. Here's the code with your 4 lines added. So far, the text appears and scrolls, but no formatting happens.

Thanks,
jcarruth

August 12, 2007
var format:TextFormat = new TextFormat();
format.font = "Arial";
format.color = 0xFFFFFF;
format.size = 14;

external_txt.defaultTextFormat = format;


hope this of some help
Known Participant
August 12, 2007
Zibber,

Thanks for your answer. Do I just stick your code as is on top, above my first line?

jcarruth
Known Participant
August 12, 2007
I put the code in the top above my first line and it generated errors and did not work.

I put the code after textReady); and it created a blank screen.

Any ideas on how (or where) to implement this code?

Thanks,
jcarruth