Actionscript 3.0 :: Verdana Without Anti-alias-ing Looks Goodin Photoshop But Looks Horrible In Flash?
Dec 4, 2009Why is it that verdana without anti-alias-ing looks goodin photoshop but looks horrible in flash.
View 1 RepliesWhy is it that verdana without anti-alias-ing looks goodin photoshop but looks horrible in flash.
View 1 RepliesHow to anti-alias a collada model in papervision3D?I've tried searching everywhere but didn't find any ways to anti-alias models. I've also tried blurring it a little as an anti-alias method but that only f-s it up and makes it look worse.How do I do that properly?
View 1 RepliesI have a Flash file that I use to load in transparent PNG's (line-drawings), and use Flash to allow the user to select the color of drawing, and instantly change the color.This is all working like it should be.I am using the UILoader component to load in the image that I recieve through flashvars, and then change the color if needed.The only thing, that the image sometimes appears not very smooth. I have seen various articles where people talk about using smoothing=true on a bitmap. But I am not quiet sure where to set this, or how this works.I left out the changeColor() and getFlashvars() function, and the import lines. because I don't think it is relevant here, and to keep everything as simple and short as possible.
package {
public class Main extends MovieClip {
public function Main() {[code]......
But now in Flash CS5 the new font embedding window is changed, and there is no Bitmap text checkbox, so how am I to create dynamic Text Fields with ActionScript, and embed the fonts in them using Bitmap text [no anti-alias]?
View 4 RepliesI am having a problem with the anti-alias that is applied to my text.I am using a sans-serif narrow font and this problem appears based on the color that I set to the text.From 000000 to c8c8c8, the font is displayed properly. From c9c9c9 to ffffff, the font is displayed with what I think is a lot of anti-alias, so much that it looks like it is bold.I have tested a different font and this is not happening with other fonts.
View 3 RepliesI have a Flex component with a background image. The image is sharp in the beginning, but is jagged whenever I scale the component using scaleX and scaleY. How would I make the image anti-alias so that, it it's scaled to 0.75, the lines are smooth, not jaggedy?
View 2 RepliesI have a font embedded for a List component. It displays the text anti-aliased, but I would really like to have Flash display the text in the component as "anti-alias for readability," .
View 6 RepliesI wonder if it is possible at all to anti-alias text fields with the HTML property set to true.
Currently I already have an operation HTML text field with embedded font which loads an external CSS for styling.
I have a textfield with dynamic text which I populate with text via actionscript. The textfield is set to anti-alias for readability but when I change the text in actionscript it is not ant-aliased anymore. I tried enforcing it with
createAccount.embedFonts = true;
createAccount..antiAliasType = AntiAliasType.ADVANCED;
When timeline animating in the Flash IDE, you can set the anti-aliasing of a TextField to Anti-alias for Animation. This seems to turn off pixel snapping and allow for smooth animation of the TextField.
I can't seem to find anyway to access this property via code
I now officially hate the textArea component but that's not the point now. A couple of questions:1. How to make the textArea text NOT selectableit is NOT a textField so don't post .selectable = false, that doesn't work.2. How to make it anti-alias decently. Right now it doesn't look that smooth.I use this code:
Code:
var verdanaFont:Font = new Verdana();
var textFormat:TextFormat = new TextFormat();
[code].....
when I create a medium or large text block, Flash (cs4) starts to work very slow, only a objet move or a click on stage takes a lot of time to process. My computer features should be ok... 4gb ram, intel 2 core duo 2.4 hz... The only thing that I think can be a problem is that I'm using Windows Vista 64 bit.
View 9 RepliesIf we place a dynamic text box on the stage manually, we can set the anti-alias for readability, for animation, use device fonts, etc. How can these attributes be added to a text box dynamically created with code?I looked up anti alias in help and there appears to just be normal and advanced options?
View 3 Replieshow to set my dnamic text to "bitmap text" [no anti alias]
use device fonts
bitmap text [no anti-alias] <<<<
anti alias for animation
anti alias for readability
I created the textfield through actionscript instead of placing a textfield on stage.
Code:
var myTextField:TextField = new TextField();
myTextField.text = "Hello World"
addChild(myTextField);
How can i use a bitmap text (no anti-alias at all), i can't find that option , the same option that exists in the classic text field.
View 1 Repliesi have a movieclip and inside this movieclip i have a textfield the text field has anti-alias for animation and characters embedded. the movieclip undergo - scaleX,scaleY & alpha changes. is this the cause of the jagged/pixelate texts or am i missing something important to make it look great?
View 7 Replieswhen adding a mask to a parent sprite with a dynamic text field, the text loses anti-aliasing. how can i maintain the text's anti-alias while still applying a mask to its parent, and subsequently to itself.the font is embedded, and the text field will be animated so it must also be masked along with its parent.
package
{
import flash.display.Sprite;
import flash.display.Shape;
import flash.text.*;
[code]....
I'm working with swf's generated by InDesign CS5, which will apparently only export text as staticText objects. Is it possible to alter the anti-alias of staticText? I want to make it for readability, but it defaults to animation with no apparent way of changing it. I recently got help for textFields, but I can't seem to get it to work on staticText.
View 2 RepliesWhat's the correct settings or if it makes a big difference I just want a crisp clean font with no anti-alias If I use any thing other than "Use device fonts" they look blurry and badhowever if I "use device fonts" does the user need to have the fonts installed?
View 2 Repliesi've tried EVERYTHING, including GridFitType property of TextField.no matter what i do, the TextField always snaps to pixel.
View 1 Repliesmy flash movie looks great when it is in it's .swf format. However, when I use the export to .avi option it comes out as REALLY horrible quality. Exporting to quicktime does nothing. I've been looking online and have only found people having the same problems with no solution. I've tried several conversion programs to just convert the swf to avi, but all of them are bad. They're all great in quality but half are fast by a good 30 seconds in sound and the other half replaces my black background to white! People use flash everyday & obviously overcome such a simple problem!
View 1 RepliesI am embedding the font verdana to a textField. But its not getting worked. Also i have used the linkage to actionscript with the embedding font. The following code i have used for embedding.
/*var textFormat = new TextFormat()[code]...
I'm usually creating 1 .as file per font and exports these .as files to swf's that I load in to my flash projects. This way I can choose what characters to embed. Now I tested copying my verdana ttf fontfiles from my Windows font folder and embedded this to create a Verdana swf fontfile. When I tested running this I tried with some swedish characters with dots. The dots above the characters from some of these characters was positioned slightly offset (like a few pixels to the right or left). Anyone had the same problem?
Example code:
[Embed(source = 'fontfiles/verdana.ttf', fontName = 'Verdana', mimeType="application/x-font-truetype", unicodeRange = 'U+00-U+FF')]
public static var font:Class;
public function Verdana() {
Font.registerFont(font);
[Code] .....
I like to make alias varaibles for long names, so that i don't have to keep repeating huge lines of text, but when i try to create one for a custom class, it fails.
Code:
Clients["Client"+i] = new Client();
var Client:Object = Clients["Client"+i]
Its almost as if flash is trying to make the new variable a new Project(); instead of a reference to the other variable...
First off, I don't have a copy of Verdana bold. It's no where on my hd and I don't know the first thing about making fonts so that is out of the question.I've been searching for a couple of hours now and it seems the tried and true solution is to embed multiple versions of the font off the stage.Ridiculous. Right? In either case, I am pleading to all you Flash Jedi out there to please tell me there is another way? I refuse to turn to the dark side.
View 3 RepliesWhen creating an application which needs to be capable of displaying a range of foreign characters we came across a display problem when attempting to display Swedish diacritics. The following sample application works fine using Windows Vista but doesn't display correcting using Windows XP:
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="vertical">
<mx:Label text="Arial Unicode MS - Höglund" fontFamily="Arial Unicode MS"
[Code]....
Using charmap suggests that both Arial and Verdana on Windows XP lack the necessary diacritic characters and hence don't display correctly whereas in Windows Vista the fonts are complete. The same in standard HTML appears to work correctly however (not sure if the browser is doing something in the background to insert known diacritic characters when it encounters fonts without).
Has anyone encountered a similar issue when displaying diacritics in Flash using Windows XP? I want to avoid embedding Arial/Verdana and unfortunately using Arial Unicode MS is not an option - Verdana must be used to fit with the clients style guidelines.
When rotating a bitmap with actionscript, the edges are jagged and not properly anti-aliased. How do you force anti-aliasing of the bitmap ?
this.stage.quality = StageQuality.BEST; // Tried this, but seems useless
var imgFromLib = new imgFromLib ();
imgFromLib.rotation = 30;
Flash can use 2 types of fonts such that they can be changed at runtime by actionscript.
system fonts - NOT anti-aliased so renders fast embedded fonts - anti-aliased so renders slow
The problem with "system fonts" is that you can't rotate the text. Can I use embedded fonts AND turn off the anti-aliasing so it renders fast?
I have a tileList component and i was wondering how one might go about antialiasing the font inside of each label. I have the font embedded using:
leftList.setRendererStyle("embedFonts", true);
I have tried targeting the label specifically with no luck so far.did not work.
var theTextField:TextField = leftList.label;
leftList.antiAliasType = "advanced";
Is there a way to make Flash work with masks in the same way as in Photoshop?In Flash, for a mask layer to work, it needs to be in shades of transparency.In Photoshop, you can use a fully opaque mask layer, and the mask is applied by using the different shades of black and white.
View 1 Replies