A Flash Developer Resource Site

Results 1 to 6 of 6

Thread: Easy Question

  1. #1
    Ivor1 ivor1's Avatar
    Join Date
    Aug 2006
    Location
    Dundee, Scotland
    Posts
    478

    Easy Question

    I found this old text script but I don't know where I can change the text in the fla- please see attached..
    Can anyone help? I think it should be easy to locate but I can't find it!
    Attached Files Attached Files

  2. #2

  3. #3
    Ivor1 ivor1's Avatar
    Join Date
    Aug 2006
    Location
    Dundee, Scotland
    Posts
    478
    That's great. I appreciate your answer. Can you tell me how to make a new line though? e.g. This is my new text
    This is another line
    and so on..
    Thanks again.

  4. #4
    AS3 Mod
    Join Date
    Sep 2007
    Location
    O-H-I-O
    Posts
    2,385
    For plain text the new line character is "\n".

    PHP Code:
    zz.text "This is my new text\n";
    zz.text += "This is another line\n"

  5. #5
    Ivor1 ivor1's Avatar
    Join Date
    Aug 2006
    Location
    Dundee, Scotland
    Posts
    478
    I tried that- please find attached fla but the text stays on the same line? Have I done something wrong?
    Attached Files Attached Files

  6. #6
    Senior Member
    Join Date
    Aug 2007
    Posts
    228
    text.multiline = true;
    text.wordWrap = true;

    put that before your text,,,,,, atleast i think thats the right function

    I dont think you need both of those,,, just one, I dont remember which...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center