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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T09:18:24+00:00 2026-05-13T09:18:24+00:00

I have a Box container that has a label element inside it. When the

  • 0

I have a Box container that has a label element inside it. When the box is transformed using a Matrix the label element is not visible anymore. How do I make the elements visible?

<mx:Script>
    <![CDATA[

        private function onBoxClick(event:MouseEvent):void
        {
            var transformMatrix:Matrix = this.box.transform.matrix;
            transformMatrix.c = Math.PI * 2 * -15 / 360;; 
            this.box.transform.matrix = transformMatrix;
        }

    ]]>
</mx:Script>

<mx:HBox id="box" 
    x="100" y="100" 
    width="100" height="100" 
    backgroundColor="0x000000" 
    click="onBoxClick(event)">

    <mx:Label id="textLabel" text="This is a test" color="#FFFFFF" visible="true"/>
</mx:HBox>
  • 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-13T09:18:24+00:00Added an answer on May 13, 2026 at 9:18 am

    I’m guessing the TextField inside the Label component doesn’t have the font embedded. If you plan to use .rotation or .alpha on a dynamic text you must embed the font.

    You can easily test this with a regular TextField:

    var t:TextField = new TextField();
    t.defaultTextFormat = new TextFormat('Verdana',12,0x000000);
    t.embedFonts = true;
    t.rotation = 10;
    t.text = 'rotated';
    
    addChild(t);
    

    That is assuming you have the Verdana font embedded in this example. If you comment out the 3rd line you will see the text disappear.

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

Sidebar

Related Questions

I have an input box that is inside of a div, the div has
i have a container box that includes a number of thumbnails. i earlier made
I have a container and inside that I have several anchor tags. These anchor
I want to have an inner div that sites inside different sized container divs,
I have a parent div (container) that has a child div (inner) which also
I have a text box that contains lines of data similar to this: sheep
I have a list box control that contains enough items to list them with
I have a black box of code that contains many threads. There is no
I'm trying to learn html and jquery. My issue is that I have box
so I have a page that has a fixed link bar on the side.

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.