Solved

Two FListBoxes need different text alignments

Posted on 2003-10-26
1
141 Views
Last Modified: 2010-04-03
I have two instances of the same FListBox component. I need each of them to have a different text align... in one, the items must be centered. In the other, they must be default (left justified). How do I accomplish this?

Thanks very much!
-Dan
0
Comment
Question by:SuperMario
1 Comment
 
LVL 27

Accepted Solution

by:
negatyve earned 250 total points
ID: 9625309
style_sf = new FStyleFormat();
style_sf.textAlign = "center";
style_sf.addListener(second_listBox_instance_name);
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

This is intended to introduce all collision detection principles in flash, their strengths, weaknesses and workarounds. The main method for Collision Detection in flash is using hitTestObject. But unless you'll be pushing rectangular shapes without …
I have been doing hardcore actionscripting for some time; and needless to say I have faced a lot of problems in just understanding others' code rather than understanding what the code executes. A programmer's life can become hell when there are a lo…
The goal of the tutorial is to teach the user how to live broadcast using Flash Media Live Encoder and connecting it to YouTube to broadcast. Log into your Youtube account, choose live stream settings, start live stream from Flash Media Live Enc…
The goal of the tutorial is to teach the user how to how to record live broadcast.

863 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now