A Flash Developer Resource Site

Results 1 to 5 of 5

Thread: emded fonts with media player skins

  1. #1
    Senior Member
    Join Date
    Dec 2010
    Posts
    111

    emded fonts with media player skins

    is there a way to embed fonts with the media player skins?


    the fonts are coming out differently on media players when viewed on Mac than PC.....so I am guessing it is an embedding issue.

    any tips?

    cheers

    R

  2. #2
    Senior Member
    Join Date
    Dec 2002
    Location
    Netherlands
    Posts
    1,632
    Media player skins are mostly images.
    Do you mean the font used for the playlist ?

  3. #3
    Senior Member
    Join Date
    Dec 2010
    Posts
    111
    yes

  4. #4
    Senior Member
    Join Date
    Jun 2000
    Posts
    3,512
    I will let Wilbert respond. If I remember correctly, the trick is to put an invisible text box on the stage (maybe just off stage) with an embedded font.

  5. #5
    Senior Member
    Join Date
    Dec 2002
    Location
    Netherlands
    Posts
    1,632
    You can embed a font using the symbol library.
    If you have embedded the verdana font and your mediaplayer is named mediaplayer1, the code you need should like this
    Code:
    mediaplayer1.playlist.listItem.label.embedFonts = true;
    mediaplayer1.playlist.listItem.label.defaultTextFormat = new TextFormat('Verdana');
    mediaplayer1.playlist.listItem.update();

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center