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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T21:26:02+00:00 2026-06-12T21:26:02+00:00

I am trying to develop flash plugin, which will print some text on player.

  • 0

I am trying to develop flash plugin, which will print some text on player. My question is how to do that? I mean is there any function that will put some text on player?

  • 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-12T21:26:03+00:00Added an answer on June 12, 2026 at 9:26 pm

    There’s no built-in function to display a text for the player but it should be pretty easy to do by yourself.

    First, here’s JWPlayer’s documentation for creating a flash plugin.

    Then what you want to do is add a sprite and a textfield to the plugin’s display.

    First, you’ll need to import the relevant flash classes in the beginning of your .as file.

    import flash.text.TextField
    import flash.text.TextFormat;
    import flash.display.Sprite;    
    

    Then you want to create a Sprite and and a TextField. Put the TextField inside the Sprite, and the Sprite inside the player’s display control.

    var textHolderSprite:Sprite = new Sprite();
    var displayText:TextField = new TextField();
    
    displayText.width = 200; // set size of your text field
    displayText.height = 300;
    displayText.x = 50;//and position it.
    displayText.y = 100;
    
    displayText.text = "hello world";//set the text you want to display.
    displayText.wordWrap = true; // wrap text if you want to.
    displayText.selectable = false; //probably want to make it not selectable.
    displayText.textColor = 0xFFFFFF; //set the text colour;
    
    //bonus: set font size and alignment; look at TextFormat documentation for more options.
    var displayTextFormat:TextFormat = new TextFormat();
    displayTextFormat.size = "17";          
    displayTextFormat.align = "center";
    displayText.setTextFormat(displayTextFormat);
    
    //put the TextField inside the sprite.
    textHolderSprite.addChild(displayText);
    
    //the following api object, is a com.longtailvideo.jwplayer.player.IPlayer object, as described in the JWPlayer plugin documentation.
    var displayControl:MovieClip = (api.controls.display as MovieClip); //get the player's display control.
    displayControl.addChild(textHolderSprite);//add youre sprite.
    
    //When you're done with the text, don't forget to remove the sprite.
    displayControl.removeChild(textHolderSprite);
    

    Good luck!

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

Sidebar

Related Questions

I am having some problem here. I am trying to develop a flash database
I'm trying to develop a small app like Flash Player updater. I want users
I'm trying to develop a solution that will float FancyBox to the right of
Currently, I'm trying to develop a rich internet application using Flash Builder 4 Beta
I am trying develop a basic referrer system to my Django website, system will
Im trying to develop service that starts by bootup receiver if the wifi or
im trying to develop an app for a win CE mobile device that downloads
I am trying to develop an application for my localhost on which I can
I was trying to develop a video management software for which I was evaluating
I am trying to develop the XMPP Gateway which can send/receive from standard XMPP

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.