Flash MX Highlights Text (text tools and input text)

Source: Internet
Author: User
Tags variable

Text Tools

1, click on the Tool menu Text tool (text Tool), move the mouse to the place where you want to place the text, press the left mouse button, appear a text box, write the text you want to write such as: I like Flash MX. (Figure:)



2, text font and font size, alignment, paragraph attributes, arrangement attributes can be directly in the property panel to achieve. Text colors can be color Mixer, consistent color selection mode and interface, you can create, edit and use color and gradient fill. (Figure:)



3, for the text of the deformation, an easy-to-use tool can easily be scaled, rotated, tilted, distorted. (Figure:)



  Call external file (input text)

In Flash MX, using the Text tool (Texttool) to implement text is cumbersome, and Flash MX has a weak effect on the text. It is generally possible to do the text in another text editor and use the text field of the Flash to display it. I wrote a poem in my Notepad poems.txt, want it to show in Flash MX, like the following implementation:

1, the Establishment of text box: In the property panel gives the name instance Name:poems.

2, select input text.

3, multiline multiple line input.

Other fonts such as model, size, color, etc. are set in the property panel. (Figure:)



4, right-click on the text frame to add action: Find the variable Set variable poems.text= "Spring ..." open poems.txt paste the content in quotation marks. (Figure:)



Note: Do not tick the expression behind variable and value.

Ctrl+enter, test, you can see the contents of the poems.

or directly in the Panel properties in the variable box input: Poems, do not give instance name. The action of the text is: poems= "Spring ..."

The effect is the same as above.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.