ActionScript 3.0 :: Advanced Antialias Only Partly Shows Large Texts
Jul 18, 2011
I am using embedded fonts in combination with antiAliasType ADVANCED which gives good results for smaller fontsizes.But if the textField contains a lot of text (> 20000 characters) then parts of the text is simply NOT shown. I have experimented with different values of the sharpness, but without results.
Would it be possible to make it so that e.g. a textField is visible outside of the swf boundary in some way? I have random dots in a banner that on MouseOver shows a text in a textfield by the mouse pointer, the textField however is too large due to the amount of text and gets cut off by the boundaries of the swf.
I'm developing a game in as3 for iPhone, and I've gotten it running reasonably well (consistanty 24fps on iPhone 3G), but I've noticed that when the "character" goes partly off the screen, the frame rate drops to 10-12fps. Does anyone know why this is and what I can do to remedy it?
Update - Been through the code pretty thoroughly, even made a new project just to test animations. Started a image offscreen and moved it across the screen and back off. Any time the image is offscreen, even partially, the frame rates are terrible. Once the image is fully on the screen, things pick back up to a solid 24fps. I'm using cacheAsBitmap, I've tried masking the stage, I've tried placing the image in a movieclip and using scrollRect. I would keep objects from going off the screen, except that the nature of the game I'm working on has objects dropping from the top down (yes, I'm using object pooling. No, I'm not scaling anything. Striclt x,y translations).
I have one row of text in a textField with specified height and width.When I set antiAliasType = "advanced"; the top of the text line is cut off. It doesn't matter what I set the height and width of the text field to. How can I solve this problem?
it is more or less like this: i have some things drawn into a container sprite; those things may include text and other stuff. then i create a bitmapdata and i render all that stuff into the bitmapdata, so when rendering it does not slow down too much, and i put that bitmapdata into a bitmap, and that bitmap into another sprite (this is because i pass it as parameter to a function set to receive a sprite, not a visual object). when i rotate the sprite that contains the bitmap, the picture looks kinda blocky, and the text appears very ugly, specially when there is rotation, even if there is no angle yet (probably due to rounding it may take as different than zero), the text appears with some lines that crosses it,probably due to rounding problems. i saw there was an option to smooth the bitmap when scaling though i have not read too much into it yet, i have also thought about adding a blur filter if rotation != 0, but i believe it would be making a mess out of it. It is working fine now, but it looks ugly when rotating, how do i set up a sprite so it antialiases when rotating?
I'm looking for a good way to antialias a bitmap i'm generating with actionscript3. My goal would be to achieve this processing from scratch.I read a lot on the subject but the most common algorithm are looking too loud (means it's freaky cpu-intensive) to work properly within my swf, because i'm using a scale2x algorithm to smooth the edges of my shape. It doesn't have to be colorfull, since my shape is black and white !
i'm trying to make a photo gallery but when i try to scale them, i get this distortions in the thumbs. i try to find how to fix this problem, searching in google, i found that i have to convert them to bitmap, but i can't make it work.
I'd like to display antialiased text on a component (in this case, a FB4 Spark Label, but that's irrelevant).
Am I reading the docs correctly, and the only way to antialias the text in Flash Builder 4 is to actually embed the whole damn font, even though it's vanilla Arial which 99.9% of all users have???
I am designing a web application in Flex 4 and currently facing an issue rendering advanced HTML tags and entities in Flex 4. All I want to do is basically render an HTML text coming to me something like the one given below:-
In order to put some dynamic content into my flash site, I have used loadvariables in order to retrieve into variables some html content.I have also used dynamic text (renderred as html) in order to retrieve the values of those variables (using Var parameter).My problem is that whenever html indicates <img> tags, those images are loaded when the dynamic texts first appeared in screen.
I have a slide show. I followed this tutorial.However, for the description texts, I want to slide from the left to the middel of the stage at the bottom and stay there for the length of the image being displayed and then slide from the middle to off the stage as soon as the current image dissolved to the next image. Here's my code that I have:slideXTween = new Tween(txtField, "x", Regular.easeOut, postXFrom, postXTo, 1, true);he above code slide the texts from left to the middle but as soon as the next image appears, the texts just dissappear and that's not I want. I want to slide the texts of stage
Since no one is able to answer my question in this thread, I like to ask a simpler question. How do I create a tween that will slide my texts from left to the middle and then pause for 3 seconds then continue to slide off stage to the right?
slideXTween = new Tween(txtField, "x", Regular.easeOut, postXFrom, postXTo, 1, true);
The above code is what I have so far for sliding texts from left to the middle. However, I couldn't figure out how to pause for 3 seconds and then continue to the right and eventually off the stage.
URL...For loading the text from a txt document i am using the following code (which is the same as Kirupa's code - except for the names)[code]If i declare the value of the variable "scrollableText" within the actions panel then it works.
I am trying to build a menu. I have created few texts and converted into buttons, which goto some url on click. Now, I have to add "fire burning" animation to these texts on mouseover. I have a movie clip of burning fire. I want to reuse the same movie clip. Also, when the animation plays, I want text to be visible on top of flames.
Can I reuse one mc or should I create multiple clips (or instances)? How to bring the text to foreground? Guidelines and if possible,
Here is a picture of the mask.And here's where the mask cut off the texts.why the mask cuts off the texts when the mask is drawn close to the orange border?
I am making a presentation (to work on a CD) that needs to have a search for texts. In this presentation there are lots of texts and I need to give the user the opportunity to search word.I would like to have a text finder that goes to the word I am looking for, then, clicking again its to the next occurrence of this word.
I found this really weird bug on a site I did a little while back. Click on a page (any page), then click somewhere outside the flash content (like another window) then again choose another page. The text dissappears every time, but only when I do exacly that (if you for example click outside the browser before first changing the page the text doesn't disappear).
I can't figure this out; I haven't even got a clue where to start looking for the problem. The text is created dynamically, and every time you click on a link its htmltext changes to highlight the current page - that is all that is happening. The font is embedded into the site, the texts position is always on whole numbers.
I've done my fair share on searching for this, and I couldn't really find anything about it except CSS related stuff, which is not what I am looking for. I have a text field on the stage with font Arial, and I embed Arial Regular, Arial Bold, and Arial Italic, and set my font to Font1* (Arial Regular). Then I set textfi.htmlText = "<b>HI</b> YO"; Now this worked fine in my old Flash program, but it won't recognize it in the new one.
saw various tutorials where dynamic fields had a motion teen effect. However If I tryto do the same, once I apply the motion tween the dynamic text becomes Graphic. How can I avoid this?
I was contemplating which is the best or easiest way to create three texts with links an Internet site. One method is creating a static text in design mode and only show the static texts with hyperlink or creating all these programmatically by loading external texts and adding the link in code.I was thinking that to be more flexible and portable, creating the hyperlink to some texts programmatically is better but I'm not sure where to start on that. I know how to load external texts now but I'm not sure how to add hyperlinks to it.
just starting AS and tried making a slide show for sponsors of our sports site. Basically it reads an XML file that contains the sponsors logos and blurbs loads them into MCs and slides them rotating. The XML has 14 entries that are like ...
I have an ArrayCollection named authors with lot of texts of different size. I would like to list all info about authors in a way that each item has a size according to the text. Here is the code: <mx:List dataProvider="{authors}"> <mx:itemRenderer><mx:Component> <mx:VBox width="100%"> <mx:Text text="{data.name}"/> <mx:Text text="{data.about}" width="100%"/> </mx:VBox></mx:Component> </mx:itemRenderer></mx:List>
I have a flash that reads all it's content from an XML file, alot of dynamic texts, it's in AS2 and it uses Dynamic text variables to assign the text from XML to the dynamic text.
Now I'm migrating it to AS3, I can't use Dynamic text variables any more, I know I can assign it manually one by one, but I have more than 200 movies to migrate, and it would take a lot of time to do it.I thought of one solution: If I can read all the dynamic texts in the whole movie at once, I can build a nice loop to read them one by one and assign the text from XML to it's respective texts.