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?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
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.
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.
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.
Good luck!