Dynamic Text Formating ???

Ask a Question related to Macromedia Flash Actionscript, Design and Development.

  1. #1

    Default Dynamic Text Formating ???

    Hi everyone!

    I have created a dynamic text field all by code.

    LISTING:
    _root.createTextField("mytext", 1, 50, 50, 200, 100);
    mytext.text = "Dynamic Text has been created.";

    Who do I format my Dynamic Text. For example changing font Face, Size, Color
    etc.

    I shall be grateful.
    Thanx
    shahgillani

    shahgillani Guest

  2. Similar Questions and Discussions

    1. Javascript errors when formating text and images inContribute CS3
      I'm using Contribute CS3 on Vista, I insert an image inside a paragraph tag with text then align the image ie the source code looks like this:...
    2. Formating superscript text
      I have users who need to format text with the sup tag. I have already added a new button in both Toolbard/cctoolbars.xml and Strings/cctoolbars.xml....
    3. Formating text within the reportbuilder Expressions
      I am creating an expression within the report builder that contains static text and dynamic text, I am trying to bold certain parts of the...
    4. formating text
      hi OldCFer do you might have an example of this replace function? how do you find the "breaks" if there is no break tag? thanks chris
    5. Office Web Components - Text Formating
      Using the Office XP Web Components in an ASPX page, the following code creates a simple two cell spreadsheet and saves it to disk. So far so good....
  3. #2

    Default Re: Dynamic Text Formating ???

    Take a look at the TextFormat() object in the AS dict.

    }`¬P

    --
    ---------------------------------------
    [url]http://www.phageinteractive.com[/url]
    PhageInteractive Ltd.
    remove mm_ to mail
    ---------------------------------------
    'I wish we lived in a world where it was possible to be religious and think
    at the same time.' - Jonh Graves



    Peter Blumenthal Guest

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139