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 6645651
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T00:18:52+00:00 2026-05-26T00:18:52+00:00

I have a client who is having a big problem with an AS2 application

  • 0

I have a client who is having a big problem with an AS2 application we developed a few years ago.

As far as I can tell, it is being caused by an acknowledged bug in recent versions of Flash Player (see http://forums.adobe.com/message/3859034 and https://bugbase.adobe.com/index.cfm?event=bug&id=2941694).

Two versions of FP are affected (10.3.183.5 and 10.3.183.7), and the bug was fixed in 10.3.183.10.

Obviously, upgrading Flash Player will fix the problem, but we all know users don’t always do this and she has been getting emails about the problem.

I am contemplating having her update the SWFObject code to explicitly detect for 10.3.183.10 and have ExpressInstall “encourage” users to upgrade, but I don’t know if this will fly.

I have tried several of the workaround that searches have uncovered, but none are working in my case.

I was wondering if anyone has found a reliable way to fix this?

  • 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-26T00:18:53+00:00Added an answer on May 26, 2026 at 12:18 am

    First thing I would try would be to use the textField.htmlText instead of textField.text and see if that doesn’t solve it (although I would be surprised if it did).

    Second potential way I can see fixing this (and this is really not pretty) is to manually wordwrap. The following is in AS3 because that’s what I use. I’ll leave it to you to convert it to AS2 but I assume this should be possible in AS2 as well.

    var text : String = "some text here";
    var textField : TextField = new TextField();
    textField.wordwrap  = false;
    textField.multiline = false;
    textField.autosize  = false;
    textField.width     = MAX_TEXT_WIDTH;
    //other formatting stuff
    
    var words : Array  = text.split(" ");
    var line  : String = words[0];
    textField.text     = words[0];
    
    var lines : Array = new Array();//will contain all lines
    for(var i : int = 1; i < words.length; ++i)//start at second word
    {
        textField.text += " " + words[i];//try adding another word to the line
        if(textField.textWidth > MAX_TEXT_WIDTH)//overflowed line
        {
            lines.push(line);
            line = words[i];
            textField.text = line;
        }
        else//doesn't overflow, line is still valid
        {
            lines += textField.text;
        }
    }
    lines.push(line);
    
    var text : String = lines[0];
    for(i = 1; i < lines.length; ++i)
    {
        text += "\n" + lines[i];
    }
    
    textField.multiline = true;
    textField.height = lines.length * HEIGHT_PER_LINE;//HEIGHT_PER_LINE can be found using getLineMetrics and 
                                                      //adding gutter pixels to the height - might have to 
                                                      //play a little with this
    textField.text = text;
    

    Not sure this compiles (it’s probly not AS2 compatible anyways) but this should give the general idea. Do the wordwrapping yourself and see if that works. Also make sure that the formatting is applying to the text while you are checking for textWidth. I think you need to call setTextFormat(myTextFormat) everytime you change the textField.text value.

    I also saw that apparently multiline might not work in that version. If that is the case, you might have to make a new TextField object for each line and offset their y values to make it look like it’s the same TextField (hopefully you aren’t using borders or backgrounds on your textFields if this is the case)

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

Sidebar

Related Questions

I have a client of my web based application who heavily uses the data
I have a client who wants a solution to allow delivery people to text
I have a client who is interested in adding in electronic signature support to
I have a client who is still using Visual Studio 6 for building production
I have a client who is in need of a file based encryption /
We have a client (who has a client, who has a client) who is
So I have a client who's current host does not allow me to use
I have client application that uses WCF service to insert some data to backend
I have a client who saves a lot of newsletters in Microsoft Publisher 2007.
I have a client who I'm trying to convince to implement Subversion (I know,

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.