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

  • SEARCH
  • Home
  • 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 8888325
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T22:00:11+00:00 2026-06-14T22:00:11+00:00

Since fontSharpness and fontThickness don’t work in Flex 4, as it says here (though

  • 0

Since fontSharpness and fontThickness don’t work in Flex 4, as it says here (though I’d like to be proven wrong), I have replaced every <s:Label/> in my application with <mx:Label/>.

Though it works well in panels and dialogs, it doesn’t work in skins.
When I add skin parts to skins, they should extend a predefined class.
Say for promptDisplay in TextInputSkin I cannot use this:

<mx:Label id="promptDisplay"/>

where this:

<s:Label id="promptDisplay"/>

is supposed to be, because promptDisplay should extend an IDisplayText.

What is the best workaround for 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-06-14T22:00:13+00:00Added an answer on June 14, 2026 at 10:00 pm

    Well, I suppose the quickest workaround would be to create your own Label class by subclassing mx Label and implementing IDisplayText. Something like this:

    import mx.controls.Label;
    
    public class MyLabel extends Label implements IDisplayText {
    
        public function get isTruncated():Boolean {
            return false;
        }
    
    }
    

    Now you can use MyLabel wherever an IDisplayText is required and apply fontSharpness and fontThickness to it, since those two styles are inherited.
    Be warned though that this will not work if a TextBase is required.

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

Sidebar

Related Questions

Since I have no errors I don't know if this is the right place
Since I'm using gtk3 and gtkmm3 on embedded I would like to have the
Since now I have only used plugin for editing and the way I use
since they have same rendering engine, this problem shows in both. it works great
Since CS3 doesn't have a web service component, as previous versions had, is there
Since Rails is not multithreaded (yet), it seems like a threaded web framework would
Since i won't be able to post an image here's the link to it
Since Javascript does not have any functionality by itself to communicate over raw sockets
Since i have a complex hierarchy of views i handle the rotation manually with
Since I got my spaces replaced with &nbsp; 's, the previous question is answered,

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.