473,800 Members | 2,413 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

text dosen't show

25 New Member
Hello,

I'm creating an MC and inside a textfield by code, and I cant see the text inside.

If i'll create the MC on the _root the text will appear but if I'll create it in another Mc it won't.

The Problem is that I already done that in another part of the file and it works.

waht can I do??
Apr 15 '07 #1
3 1339
obarash
25 New Member
I forgot to mantion that there is a Mask above the MC.

so I create a text format


[PHP]
var tformat:TextFor mat = new TextFormat();
tformat.bold = true;
tformat.size = 12;
tformat.font = "Arial";
tformat.color = 0xFFFFFF;
[/PHP]
Apr 15 '07 #2
AccessIdiot
493 Contributor
Sounds like a path issue. What is the code you are using to put text into the textbox? If it is something like _root.myTextFie ld.text = "here is some text" then you need to include the name of the MC that myTextField is sitting in.

Something like _root.MyMC.MyTe xtField.text = "here is some text".

See the difference?
Apr 20 '07 #3
axis
12 New Member
You need to embed the text. Masked text that isn't embedded won't show. Same thing if you rotate the text. I think the code is myformat.embedF onts = true;
Apr 25 '07 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

1
3738
by: Daniel Hill | last post by:
OK, I have very, VERY basic background knowledge of VB6 and have now upgraded to VB.NET and now I'm struggling to bring up the forms I want. What I am looking to do is to have a click a command button bring up a form, and to have which form is brought up determined by which item is selected in the accompanying combo box. I've gathered that you have to declare the item as a
4
2312
by: neptune | last post by:
I built a form that pulls several fields from a query. In some instances the field is empty and nothing displays in the form text box. In this case I want a simple statement like "Item Not Loaded". is a text data type. I tried this and it didn't work: IIf( Is Null,"Item Not Loaded",) Someone suggested its not really Null, but blank so I should try this:
4
2633
by: Arif Çimen | last post by:
Hi to everybody, I have chnged a button text in design mode. But After compiling and executing the program the text of the button do not change to new value. Any Ideas? Thaks for helps.
0
1719
by: Yunus's Group | last post by:
Yunus's Group May 23, 3:36 pm show options Newsgroups: microsoft.public.dotnet.languages.vb From: "Yunus's Group" <yunusasm...@gmail.com> - Find messages by this author Date: 23 May 2005 12:36:14 -0700 Local: Mon,May 23 2005 3:36 pm Subject: Writing to text file Reply | Reply to Author | Forward | Print | Individual Message | Show original | Remove | Report Abuse
2
2633
by: keith | last post by:
The function return quite rough pixels. e.g. if you use Font: Verdana, Font style:Regular, Size:8 and type 60 upper case character C, the functuion returns pixels 478.3639, but actualy it occupies a textbox that has width 545 pixels, that is about 13% difference. When using the function to get pixels and grow a textBox, the textBox is not big enough to show all characters.
12
1862
tolkienarda
by: tolkienarda | last post by:
hi all I am working on a content management service and i need some help keeping formating. what i am doing is recreating my site in an admin side and all of the articles on the site will now be in <textarea> boxes so admins can edit them and save the changes it is working but any formating they use dosen't seem to work. if they want to have a return in the middle of their article the only way it will work is if they enter a br tag in...
16
5190
by: mj.redfox.mj | last post by:
Can anyone help? I have a textbox which I'm programatically adding by using the following code: txtTest = New TextBox txtTest.ID = "txtLeft" + cntCount.ToString Page.FindControl("tdInput").Controls.Add(txtTest) This successfully creates a textbox called "txtLeft1" in the table
2
4413
LBryant
by: LBryant | last post by:
Is there any way, in Access 2003, to offer rich text input without modifying the registry. I'm in a corporate environment where that is not possible. When a RichText control is added to a form, I see this: 'Microsoft Access Dosen't Support this Active X control.' I've tried using the WordPad ActiveX contol which works, but its messy and confusing for the users. Anyone have a solution for rich text in Access 2003 in Windows?
1
1593
by: elhoseny1 | last post by:
why odbccommand object at ado.net dosen't have a close method like datareader and connection
0
9691
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9551
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10505
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10253
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10035
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
6813
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5471
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5606
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4149
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.