Problem with anti-aliasing on the text fields scrolls

I am building an application using FlashBuilder and currently running on the latest version of Mac OS x, and test my application in the anti-discrimination Act.  I see the strangest problem; I have a large window, and I use scrollrect to view different parts of the window. When I set the scrollrect and it works very well, the window scrolls to the top just as you expect. But "BOLD" text on the screen becomes much more ugly after I scroll.  I tried to set CacheAsBitmap on the sprite containing that scrolls, but that has no effect. It affects the text that could be in the middle of the window and just move upward, slightly; all of the characters in the text has ruined the subpixel antialiasing.

Is it a weakness known use ScrollRect? How can I work around this problem?  I tried to turn on cacheasbitmap for all my sprites, but nothing has changed. I tried to set the AntiAliasType my TextField in ADVANCED, but which has also had no effect.

It is confusing to me, why the rendering is so bad after a scroll. Even when I go back to its original position (scroll down, then upward), the text is ugly. It's almost as if he shot it twice on the screen, but it's probably just a lower level of text rendering.

Any guidance would be greatly appreciated.

I've identified the problem. It is caused by a bug in my code, which is the double drawing of text on the other fields. When you have a large font size which is antialised, when you draw a second copy on the top, the aliasing allie to ruin the sweetness of the police. It is the only clue you double drew an object! Very interesting question in vector graphics, can not say once easily when you drew something twice!

Tags: Adobe AIR

Similar Questions

  • Pop the text field scrolling buttons on the stage

    Hello all;

    I am very new to Flash so please bare with me. If anyone can point me to some examples I would really appreciate it. I have 5 buttons on my stage (in fact they are just text that I made in buttons); I would like the user to be able to click on each of them, and it appears a text field scrolling where they can read and scroll the information in the text field and then they can go back and click Next and so on. On the left side of the stage is the buttons and on the side right would be the scrolling text field. Now I realize that I could accomplish this using frameworks separated for each button and just pointing to these images, but I feel that there is an easier way... There must be there is something I'm definitely missing...

    Thank you d ' attribute
    T

    A warning first. I have not tested this code, but it covers most of what is needed to do this with AS3.

    var source: String = "myTxtFile.txt";
    var dataFormat:String = pouvez;

    var loader: URLLoader = new URLLoader();
    loader.dataFormat = dataFormat;

    loader.addEventListener (Event.COMPLETE, completeHandler);

    var request: URLRequest = new URLRequest (source);
    try {}
    Loader.Load (request);
    } catch (error) {}
    trace ("there was an error loading the text file");
    }

    function completeHandler(evt:Event):void {}
    var variables: URLVariables = new URLVariables ((evt.target comme URLLoader) .data);

    for (var i: uint = 1; i<= variables.numvars="" ;="">

    var n: String = "button" + i;
    myTexts [n] variable = [n];

    }
    }

  • Which past now and not days ago = &gt; publication of text captions with anti-aliasing off the coast looking for really bad.

    I reported the bellows of text and I'd like to know if it happens to someone else.

    Concise problem statement:

    When you publish buttons with text or text with antialiasing off the coast, the result is very bad.

    Last project I cancelled 2 months ago and it seems good. But when I did a few changes yesterday and I published it again all the buttons and links that they looked very bad.

    I tried with different computers, where they have installed captivate and I have reproduced the bug how I show below and in any place of same problem.

    I can't show the client the changes because the evil look textfields.

    I tried to reinstall all the options, Captivate and install older versions of flash and nothing plugin, everything looks the same. Probably a windows update may cause the problem, I don't know.


    Steps to reproduce the bug:
    1. black background or dark color
    2. create the button and select Properties
    3. Select the text color color yellow or clear, size of large font (24-30) and transparent background
    4 publish

    Results: no text no embattled arround White halo, eat as the text. The part of the text is a bit fuzzy.

    Resemble the translucent color part of the text to produce somehow anti-aliasing is white in color.

    Expected results: the net image as html on browser text.

    Hi again

    Well, it give a try.

    Minimize all applications that you can see the desktop.

    Right click on the desktop, then select Properties.

    Click the appearance tab.

    Click on the effects button.

    You see an option called use the following method to smooth edges of screen fonts?

    If so, disable the option and click OK.

    Report back if you still have this option and, if so, if you erase it helps.

    See you soon... Rick

    Useful and practical links

    Captivate wish form/Bug report form

    Certified Adobe Captivate training

    SorcerStone blog

    Captivate eBooks

  • Problem with in shadow on the text on another object

    Hello!

    See the attachment on the following link https://dl.dropboxusercontent.com/u/21034413/TEST_PROBLEM.indd.


    I try to give the effect of outer glow on the text that goes on a white rectangle; in the real case, it is an image with a white background. As you can see, the shadow effect does not apply on parties going on the rectangle. I can't know which configuration it is this influence.

    Thanks in advance and best wishes,
    Max

    Change the blending mode to multiply wants to make glow to display on the filling [paper], but perhaps other side effects as well.

  • Problem with the display in the text field font

    When I create the static text field, choose the font: Arial, Tahoma or Verdana or trebuchet

    Anti-aliasing on the police of device use and put the text in regular style and "BOLD"

    then, the text that is displayed in the style "BOLD" looks the same for all fonts

    03.png

    The device font is roughly what its name suggests.  It uses a police she chooses what the machine is available - with some to find the one that corresponds to the planned police (I don't know how intelligent the font engine is that it can determine what a font looks like, especially one who does not - I suspect human intervention in the process).

  • problem with the characters of the text field

    Hi all

    I'm missing a few characters, once I insert the text in a dynamic text field. characters are not lacking by saying; they are replaced by empty squares.

    characters such as the euro symbol and accentuated German letter.

    What is weird is that the other German accented letters appear. If only a few selected are missing.

    How Ive set up the FLA:

    (1) I added 4 text fields to the scene to police im using, Arial, one for each font style: normal, italic, bold and bold italic and in all 4 fields ive incorporated all Latin characters (to include the German characters accentuaded and im guessing it is in the punctuation group that contains the euro symbol so that one is also incorporated), not to mention as lowercase, uppercase, numeric, and all the groupd default to include the basic text.

    (2) I have a dynamic text field created with createTextField, and set up the ActionScript code following (2):

    This.createTextField("hello_txt",0,10,10,100,20) ("T_text", 1,0,10,Stage.width-60, 50);

    var myFmt = new TextFormat();

    myFmt.size = 12;

    myFmt.leading = 3;

    myFmt.font = "Arial";

    T_text.html = true;

    T_text. AutoSize = 'left ';

    T_text. Multiline = true;

    T_text.WordWrap = true;

    T_text. Selectable = false;

    T_text.embedFonts = false;

    T_text. TextColor = "0 x 666666 ';

    T_text.htmlText = _global.gallery_1_image_text_1; This holds the im text, called in a database.

    T_text.setNewTextFormat (myFmt);

    now, I'm composing text in a database.

    When calling the text from the browser's address bar, there is no missing characters.

    It's just when I make this appeal of flash and load the text in the dynamic text field, that the characters will be missed.

    Here is a link to a screenshot of the text that is displayed in the text field Dynamics defective flash.

    http://img210.imageshack.us/img210/340/UTF8.PNG

    any ideas? I mean, it seems that the arial font is missing some characters accented! because the code that I have installed loads other accented characters.

    someone has seen this problem before and know how to solve?

    concerning

    stir in your policy.

  • Problem of text selection in the text field for entry in the emulator

    I'm having a problem of text selection in a text field when I run my application in the emulator Playbook. Let me see if I can expose the problem here:

    1. The field in question is a classic text, text with an integrated in police entry field. The domain is in a SWC and referenced in another FILE.
    2. The code is set up such that when a user clicks the field function is called to highlight all the text. The code is more or less as follows:
    thisField.addEventListener(MouseEvent.CLICK, onFieldClick);
    
    private function onFieldClick(event:MouseEvent):void
    {
       var selectedField:TextField = event.target as TextField;
       selectedField.setSelection(0, selectedField.text.length);
    }
    

    The problem I'm having is that when I try clicking on the emulator, the text field in 'domain' is sometimes selected as expected, sometimes not. When the text is not selected as expected the cursor always appears in the field and the Playbook keyboard slides up by below. What is particularly problematic, that's what often happens, is that the whole scene moves upward on 10px when it is clicked on the ground. If I try to click on the same ground once again, another change to the top of 10px or so, etc..

    So why the text not properly selected and why the scene evolves upwards?

    I realize that more information may be required from me to correctly solve this problem, but if someone has all understand why this may be the case, I would be happy to learn from him.

    Thank you

    David

    I can answer the question of displacement.  This is a bug in BB and supposed to be fixed in version «next» SDK

    The question of the selection, I'll guess has to do with the fileld with focus, selection is not possible.  Try to set the focus outside of maybe the text field?

  • FlowFieldManager not 'compatible' with the text fields?

    Hi all.

    I'm making an icon to follow the end of a given text. A bit like the phoneLog done with the green phone icon next any number that you enter.

    I tried the substitution of the DrawText, but unfortunately after conditioning to the new line I don't have an X coordinated to begin to draw.

    That's what I would like to:

    +-----------++-----+

    | text 1234 | icon |

    +-----------++-----+

    After entering the text more:

    +--------------------++-----+

    | text 1234567890 | icon |

    +--------------------++-----+

    Unfortunately FlowFieldManager encapsulates the new line icon

    It seems that she's done this before and after each text field. If I have two icons, one after the other, they have a format horizontal, but at the moment where I have to add a textField, it is wrapped in a new line (are complemented by the icons) or icons are pushed to the next line (if the text box before the icons).

    So, how can I add this icon to track the length of the text?

    The problem here is that text fields normally tell their manager encompassing that they want to take the entire width.  FlowFieldManager who will respect and give them the entire width.

    You will need to customize the text field, replace the functions of layout and width and make sure he asks only the size that he actually need.

    If the text cannot be updated, and then you try to use rather than RichTextField LabelField.  LabelField asks only the width he needed.

    Sorry I can't give you any appropriate code because I have never done this.  I did not because from a user interface point of view I don't think it looks good.

    This mechanism can fail when the text field resumed more size on a width - fields are always "rectangular".

  • Animate cc, the police is both by default when you change the size of the text field. Have integrated a font with the name prjFnt... but once I have change the rating in the design view of the prjFnt goes to the new roman times... what a mistake... don't

    Animate cc, the police is both by default when you change the size of the text field. Have integrated a font with the name prjFnt... but once I have change the rating in the design view of the prjFnt goes to the new roman times... what a mistake... don't have we not no matter what patch

    This problem has been fixed in the latest update to animate CC.

    You can upgrade to animate CC 15.1.0.1.13 creative use of cloud App or via the Help menu > updates.

  • Difficulty with digital display of information in the text field

    I am trying to display the playheadTime to a FLV (called vid_player) film on the stage in a field test (called myTextField). I used to be able to do this in older actionscript, but with AS3, I'll have a devil of a time. Here is my code:

    function getCurrentTime(evt:MouseEvent):void {}
    var currentTime:Number = this.vid_player.playheadTime;
    this.myTextField = currentTime;
    }
    step3Tab.addEventListener (MouseEvent.CLICK, getCurrentTime);


    I get this error:

    1067: constraint implied a value of numeric type to an unrelated type flash.text:TextField.

    I don't think that you have quite been able to do in previous versions! The error is telling you exactly what the problem is. You try to modify a TextField in a number, and that just doesn't work.

    I don't have enough with AS3 is certainly on the top of my head if it has changed or not, but I think you want the text or the text field's htmlText property.

    this.myTextField.text = currentTime;

    or if she doesn't like that you need to cast or convert the currentTime to string;

    this.myTextField.text = String (currentTime);
    this.myTextField.text = currentTime.toString ();

  • How to paste into the text field of the Clipboard with JavaScript?

    I implement the following actions in the form of javascript:

    1. a user clicks on a link on the PDF to open a web page

    2. the user uses the web page to find information and then copy text from the web page

    3. the user clicks a button on the pdf form and it formats the text to the Clipboard and paste them into the text fields.

    I can't find any references for the reading of the data from the Clipboard with javascript in PDF Forms. is it not possible?

    Perhaps 'not possible' was a little too hard. It would be a security hole if she accepts a script in a form to copy the contents of the Clipboard without the user explicitly allowing it. It has been possible to copy the contents of the Clipboard into a form field using the app.execMenuItem method without the user knowing / allowing it, but that hole was closed. The restriction can be overcome, as explained in the documentation: http://livedocs.adobe.com/acrobat_sdk/9.1/Acrobat9_1_HTMLHelp/JS_API_AcroJS.88.143.html

  • Verification of the text field problem and requiring an option in the drop-down field

    I have a form with several fields that if the user enters information in one or more of the

    fields, I need to check that the drop-down list field is not empty.

    I got this to work, but now I find that if the user deletes the text in the text field, the user always receives the error message. Here is the script I use:

    If

    ((form1.page1.ListFilesFolders.rawValue) ! = null & & (form1.page1.windsNtwkAccess.rawValue) == null);

    {

    xfa.host.setFocus (form1.page1.windsNtwkAccess);

    xfa.host.messageBox ("Please make a selection in the field of Windows network."

    , 'Need to selection' , 1 , 0);

    }

    Thank you

    MDawn

    Makes sense... the field is null when the user deletes the text. You could put a white in these areas as default values and test for this instead of null. Now, when the user empty field, it will be null and will not empty so that the message will not appear.

    Make sense?

    Paul

  • Tips: APEX 5 r IR by a dynamic action after the text fields complete

    Hello I hope I can get assistance on this matter and thank you in advance for any information.

    I have an APEX 5 screen, that has 4 fields of entry of text and under this one IR that has these 4 parameters in its SQL where clauses.

    Now if I create a button that submits page or redirects to this page my report can be updated with the values of user entered without problem, basic stuff.  If I create the settings section as a dialog box model once again that I can get the update report as this dialogue submits the page as well as the report can refresh according to closed dialog option.

    What I struggle to reach is to allow the user to enter values in the text fields click on a button called 'submit' and there all stages of implementing dynamic action without page reloading.  I want user to P1_A, P1_B, P1_C, P1_D press on "submit" input, dynamic action that links the values entered into the fields, then fire another dynamic action that updates the State when the button is clicked / modified values what works the best.

    I am struggling to get this to work and I even tried to copy these settings and do them as hidden for example bind input P1_A to P1_A_Hidden by a dynamic action and have the report where clause =: P1_A_HIDDEN, but have not managed to get this working.

    It's possible?  I know its easy to simply send the page and make it work, but I want the experience to be quite uniform for the user and act as you never leave the page.

    I saw on the packages of the app in the chart example.  The bubble chart has a list selector (salary) and the table updates dynamically, it seems so that the process can occur, but I need the user to enter text and not use selection lists.

    My apologies if I missed any, but I can give you more if it helps.

    Concerning

    1972903b-5166-494e-8355-08d9d4006e96 wrote:

    Hello I hope I can get assistance on this matter and thank you in advance for any information.

    I have an APEX 5 screen, that has 4 fields of entry of text and under this one IR that has these 4 parameters in its SQL where clauses.

    What I struggle to reach is to allow the user to enter values in the text fields click on a button called 'submit' and there all stages of implementing dynamic action without page reloading.  I want user to P1_A, P1_B, P1_C, P1_D press on "submit" input, dynamic action that links the values entered into the fields, then fire another dynamic action that updates the State when the button is clicked / modified values what works the best.

    The button simply trigger a unique dynamic action of refreshment on the IR region. Session state for page elements must be processed automatically by specifying them in the property Page to submit Items of the IR region.

    Please ensure that you have updated your forum profile with a recognizable username instead of "1972903b-5166-494e-8355-08d9d4006e96": Video tutorial how to change username available

  • Unable to turn off anti-aliasing in the paint bucket tool!

    Hi all! Today, I have a problem with Photoshop CS6, I don't know why it won't let me not turn off anti-aliasing in the paint bucket tool. The toolbar shows me a gray box of anti-aliasing, unverifiable:

    Photoshop Problem.jpg

    Could someone explain how to solve? It is very irritating.

    The color - indexed color Mode you cannot click on Anti Alias.

    So if you change the image in RGB or CMYK, you will then be able to use the option of anti-aliasing.

  • Change of position of the text in the text field

    Hello! I've created a few text fields in a PDF form, but I have some problems with the text. The text automatically starts in the middle of the text field, and I want the text to start in the upper left corner of the text box. I can't find the option to solve this problem, anyone know a solution?

    Set as multiline under Properties-Options field.

Maybe you are looking for