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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T20:16:25+00:00 2026-05-17T20:16:25+00:00

I have a setup a PageHolder class (based on MovieCLip) that displays a doted

  • 0

I have a setup a PageHolder class (based on MovieCLip) that displays a doted area with a (page) number in the middle.

Now attempting to populate my LayoutPane, I create new instances of of PageHolder whose constructor is tasked to set the text value of its only Texfield to the value specified in the new PageHolder parameter.

The problem here is that only the character present in the Library Object will display at run time.

For example, I have setup my PageHolder object with a text field containing the number “0”. Now at run time, every instance of PageHolder is blank except fro the one that I passed a “0” as part of the init parameter (10,20,30,…) and on those pages, only the “0” is showing. If I change the original object to display a “1” instead, then every “1” of the page number that contains a “1” show ups.

Can somebody shed some light on this?

package 
{
    import flash.display.MovieClip;

    public class LayoutPage extends MovieClip 
    {
        public function LayoutPage(page:uint) 
        {
            pageNumber_txt.defaultTextFormat = pageNumber_txt.getTextFormat();
            pageNumber_txt.text = String(page);
        }
    }
}
  • 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-17T20:16:25+00:00Added an answer on May 17, 2026 at 8:16 pm

    You may need to embed the font you are using for the text field.

    Select the text field you have put in your PageHolder class and click the Embed button underneath the font family drop-down box, then check the item labeled ‘Numerals[0..9]’ and click OK.

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

Sidebar

Related Questions

I have setup mappings for a number of classes, however in some scenarios I
I have setup svnserve and for now now I am testing a repository with
I have a Flash-based SWFUpload upload button in a HTML page. I am trying
I have setup a simple Oracle external table test that I (alongside a DBA
I have setup a WCF service that i am running on IIS 7 that
I have a page setup where the main aim is to allow users to
I have setup airbrake in my app but it doesn't seem to log any
I have setup ability for a user to specify some settings using the in-built
I have setup an app project and a static project in a workspace in
i have setup an overlay script to enable me to display an overlay popup

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.