Solved

Flash Text

Posted on 2009-07-13
1
175 Views
Last Modified: 2012-05-07
I'd like to have more fancy writings,
How can I edit the writing below, How can I make it bold, or italic,
How can I change the text size in Flash8?
text1.text = "Please Click for more information";

this.createTextField("text1", this.getNextHighestDepth(), _root._xmouse,_root._ymouse,100,100);
text1._visible = false;
text1.autoSize = true;
text1.text = "Please Click for more information";
text1.selectable = false;

Open in new window

0
Comment
Question by:Braveheartli
1 Comment
 
LVL 14

Accepted Solution

by:
TanLiHao earned 500 total points
ID: 24839061
See sample code.

However I would suggest that you use a movieclip instead of text for the tooltip so you can draw it out yourself.

var format1:TextFormat = new TextFormat(); // text format
format1.font = "Arial"; // font type
format1.size = 20; //size
format1.bold = true; // bold
format1.italic = true; // italic
text1.setTextFormat(format1);

Open in new window

0

Featured Post

Secure Your Active Directory - April 20, 2017

Active Directory plays a critical role in your company’s IT infrastructure and keeping it secure in today’s hacker-infested world is a must.
Microsoft published 300+ pages of guidance, but who has the time, money, and resources to implement? Register now to find an easier way.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
SWF won't scale? 4 530
Stop Ads in Browser Google Chrome 3 550
Devices and printers wont load and flash files in print spooler 3 216
High definition conversion videos in YouTube 12 296
This is a very simple example to help those of you who are still migrating from AS2 to AS3 understand the redesigned event model in AS3. In AS2.0, event functions (that is, the function to be performed when an event is fired) were stored as a pro…
There are times in your Flash CS4 application when you want more than a simple pointer or a hand, and it's hard to find an ideal walk-through to tell you what to do.  I spent a few days recently learning my way around making custom cursors in Flash,…
The goal of the tutorial is to teach the user how to how to record live broadcast.
The goal of the tutorial is to teach the user how to select which audio input to use. Once you have an audio input plugged into the laptop or computer, you will go into the audio input settings and choose which audio input you want to use.

680 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question