Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3619928
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T22:56:25+00:00 2026-05-18T22:56:25+00:00

Anybody have any idea why the error message repeats in Flex SDK 3.5 (but

  • 0

Anybody have any idea why the error message repeats in Flex SDK 3.5 (but not in 3.4) and have a good way to make it stop repeating? See screenshots:

alt text

alt text

You can also see the different apps here:

http://www.flexdevelopers.com/examples/validator/3.4/Tester.html

http://www.flexdevelopers.com/examples/validator/3.5/Tester.html

[View source is enabled on both apps]

To make this happen, leave the textInput field empty and hit save multiple times. Then mouseover the textInput.

I can think of a couple of solutions but they seem pretty hacky.

Thanks,

Jeremy Mitchell

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-18T22:56:25+00:00Added an answer on May 18, 2026 at 10:56 pm

    Here’s a hack to fix this in 3.5.

    View the source of this file: http://www.flexdevelopers.com/examples/validator/3.5/Tester.html

    Change the saveMessage() method to read like this:

    public function saveMessage(event:Event):void
            {
                setupValidators();
    
                var failedValidations:Array = new Array();
                failedValidations = Validator.validateAll(_formValidators);
    
                if (failedValidations.length == 0)
                {
                    Alert.show("save it");
                }
                else
                {
                    for each (var validationResultEvent:ValidationResultEvent in failedValidations)
                    {
                        hackForSDK35Bug22911ToRemoveRepeatingErrorMessages(validationResultEvent);
                    }
                }
            }
    

    then add this method:

    private function hackForSDK35Bug22911ToRemoveRepeatingErrorMessages(failedValidation:ValidationResultEvent):void
            {
                var uiComponent:UIComponent = failedValidation.target.source as UIComponent;
                var errorString:String = uiComponent.errorString as String;
                uiComponent.errorString = errorString.split("\n")[0];
            }
    

    that should remove the repeating error messages and leave just one…

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Does anybody have any idea why I am getting this error when I try
Does anybody have any idea how to print an excel file programatically using C#
does anybody have any idea what's does this mean: onLoad=MyOnLoad? thanks
I've no idea how to fix this. Does anybody have any ideas? I'm getting
Anybody have any idea why this query isn't working? $result = mysql_query(SELECT * FROM
Any body have idea how to put controls dynamically in asp.net 3.5 ? if
Anybody have any ideas? The situation is like this: I have a primary rails
Does anybody have any reference material that details Cauchy-Reed algorithm? Googling for Cauchy-Reed Solomon
Does anybody have any experience with different fonts for OCR? I am generating an
does anybody have any experience writing up a offline data storage & access app

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.