English 中文(简体)
AS3 改变部分案文
原标题:AS3 changing partial text color

I ve got astring in AS3 composed of two elements that is/61/6ally assigned to a text Field.

www.un.org/Depts/DGACM/index_spanish.htm 我想提出一个内容,一个是肤色,另一个是不同的肤色。

法典如下:

allInfoForSchedules = data[j].weekDay + " " + data[j].scheduleType + ".";

我可以把整个巨大变化看上去,而不仅仅是其中的一部分。

任何想法?

最佳回答

你有两个选择。

  1. Convert the textfield to a html enabled textfield and format the text with html.
  2. Convert the textfield into 2 textfield with the texts separated and change color of them separately
问题回答

暂无回答




相关问题
Which non-bold UTF-8 iPhone SDK font can I use here?

Problem: I create a UILabel with this font: label.font = [UIFont systemFontOfSize:15.0f]; Now this system font is bold, but I want to display pretty small text, and the text may also contain very ...

Limiting file upload type

Simple question. Is there a way to only allow txt files upon uploading? I ve looked around and all I find is text/php, which allows PHP. $uploaded_type=="text/php

Extract everything from PDF [closed]

Looking for solution to extract content from a PDF file (using console tool or a library). It will be used on server to produce on-line e-books from uploaded PDF files. Need to extract following ...

Flash & external form fields

Does anybody know if this is possible? I am trying to create a flash movie that will show / preview what I am typing into a field in a normal HTML form. The call to update the flash movie would most ...

Avoiding escape sequence processing in ActionScript?

I need to mimic C# functionality of the @ symbol when it precedes a string. @"C:AFilePath" for example What is the best way to do this? Also there are some sites that will escape larger ...

iPhone: Draw rotated text?

I want to draw some text in a view, rotated 90°. I m pretty new to iPhone development, and poking around the web reveals a number of different solutions. I ve tried a few and usually end up with my ...

Numbering in jQuery

How could I change the text below so that the text within it has a number appended to it. <div class="right">This is some text</div> <div class="right">This is some text</div>...

热门标签