Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

XML data loaded to flash via attachMovie function / text is blurry.

Posted on 2004-10-14
6
Medium Priority
?
226 Views
Last Modified: 2012-08-14
First here's the site for your reference.

http://www.j2studios.plasmamix.com/themermaidnyc/

On the Menu section, the xml loaded text is blurry.
What can I do to fix this?

Thanks in advance.
Danny
0
Comment
Question by:enyceexdanny
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
6 Comments
 
LVL 6

Expert Comment

by:nishasrilankan
ID: 12316543
Texts in a Dynamic text Field can be get blurred due to few reasons.
1. Anti Aliasing is on
2. Unsuitable font sizes...lot of fonts are properly rendered when it used in the multiplication of the 8 (ie: font size 8 or 16)
3. if you are using pixel font..make sure you are using it with intended font size.
4. your dynamic text field sould not be placed on a fraction of X,Y co-ordinates..(x=12.7 Etc.)
0
 

Author Comment

by:enyceexdanny
ID: 12321155
it's not on a dynamic text field. It's loaded via attachMovie method.
0
 
LVL 6

Expert Comment

by:nishasrilankan
ID: 12326803
I know...if you are loading the content dynamically...that is dynamic textFiled..
0
 

Author Comment

by:enyceexdanny
ID: 12339820
the content holder for the data is on the correct coordinates.
But how would i change the font size and etc?
Since it's not an actual text field, I can't set the font or any other attributes.
Is there a way to do this via XML?
0
 
LVL 6

Accepted Solution

by:
nishasrilankan earned 375 total points
ID: 12355184
// Define a TextFormat which is used to format the stats_txt text field.
var my_fmt:TextFormat = new TextFormat();
my_fmt.bold = true;
my_fmt.font = "Arial";
my_fmt.size = 12;
my_fmt.color = 0xFF0000;
// Create a text field to display the player's statistics.
this.createTextField("stats_txt", 5000, 10, 0, 530, 22);
// Apply the TextFormat to the text field.
stats_txt.setNewTextFormat(my_fmt);
stats_txt.selectable = false;
stats_txt.text = "Lorem ipsum dolor sit amet...";

0

Featured Post

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

Introduction This article is primarily concerned with ActionScript 3 and generally specific to AVM2.  Most suggestions would apply to ActionScript 2 as well, and I've noted those tips that differ between AS2 and AS3. With the advent of ActionS…
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 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.
The goal of the tutorial is to teach the user what frame rate is, how to control it and what effect it has on the video.

715 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