Solved

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

Posted on 2004-10-14
6
222 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 125 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

Salesforce Has Never Been Easier

Improve and reinforce salesforce training & adoption using WalkMe's digital adoption platform. Start saving on costly employee training by creating fast intuitive Walk-Thrus for Salesforce. Claim your Free Account Now

Question has a verified solution.

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

I come across a lot of question about how to access things in the document class from a movieclip, or accessing something from a movieclip in the document class. It took me a while to figure this out but once I did it makes life so much easier. …
While working over numerous projects I often had the requirement for doing a screen capture in AS3.0. Unfortunately I found no "ready made" solutions in google search that suited my requirements. But I did come across some great resources which help…
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…
This Micro Tutorial will teach to how to utilize bit rate in Adobe Flash Media Live Encoder.
Suggested Courses

628 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