dcsimg
A Flash Developer Resource Site

Results 1 to 7 of 7

Thread: including font (not embeding) into flash ?!?

  1. #1
    Member
    Join Date
    Mar 2002
    Location
    Montana, Bulgaria
    Posts
    37

    including font (not embeding) into flash ?!?

    well here is the problem. I have a pixel font i want to include into my flash movie and use with a dynamic textField, it works when i embed him but the font gets fuzy and i dont want that ! i want it as clear as it gets. i`ve been told to import it in the library but still doesnt work .. can anybody help ?

  2. #2
    Senior Member FFF's Avatar
    Join Date
    Feb 2002
    Posts
    955
    If it's fuzzy, it may not be a pixel font or you're not using it correctly. Just use a pixel font and you should be fine, whether using static or dynamic text.

  3. #3
    Member
    Join Date
    Mar 2002
    Location
    Montana, Bulgaria
    Posts
    37
    here is a screenshot with the diference when i embed the font and when its used from my pc`s fonts ...

    the bottom one is the embed one ... please help me nobody could help me and i need the font to be clear because i`m using it in a moving MC and when he is embed it looks realy nasty

  4. #4
    Senior Member FFF's Avatar
    Join Date
    Feb 2002
    Posts
    955
    Well, you always need to embed them, otherwise nobody will see them. Which font are you using?
    Last edited by FFF; 02-14-2006 at 11:15 AM.

  5. #5
    Junior Member
    Join Date
    Jun 2004
    Posts
    9
    there is a way to dynamicly attach embeded fonts:
    Please visit: http://www.sharedfonts.com/eng/index.html

    u can take main idea from demo from this site.
    main idea:
    1. create movieclip symbol with embeded font in library.
    2. Enable "Export for runtime" property. And input *.swf filename.
    3. Create empty document. Drag and drop symbol to new document library
    4. Save new document as *_container.swf
    5. Create empty document.
    6. load *_container.swf from AS (loadMovie)
    PHP Code:
    this.createEmptyMovieClip("temp"1000);
    temp.loadMovie("font_container.swf"); 
    8. Then clip loads:
    PHP Code:
    var tf =temp.movie.font.getTextFormat();
    rotated.text1.setNewTextFormat(tf);
    rotated.text1.setTextFormat(tf);
    rotated.text1.embedFonts=true

  6. #6
    Member
    Join Date
    Mar 2002
    Location
    Montana, Bulgaria
    Posts
    37
    FFF i dont think you`ve herd it .. its called Mucho_pxl_10 its a cyrilic font but i dont have other problems exept this, it`s a pity i have to embed him, the pixel efect disappear with the embed effect thank you anyway looks i have to make it embed
    ARray thank you i think the form on the site is just what i need thank you very much
    Last edited by ldesign; 07-22-2004 at 02:52 AM.

  7. #7
    Member
    Join Date
    Nov 2002
    Posts
    53
    Has you actually made that to work? Cause I haven´t.

    /Makac



    Quote Originally Posted by ARray
    there is a way to dynamicly attach embeded fonts:
    Please visit: http://www.sharedfonts.com/eng/index.html

    u can take main idea from demo from this site.
    main idea:
    1. create movieclip symbol with embeded font in library.
    2. Enable "Export for runtime" property. And input *.swf filename.
    3. Create empty document. Drag and drop symbol to new document library
    4. Save new document as *_container.swf
    5. Create empty document.
    6. load *_container.swf from AS (loadMovie)
    PHP Code:
    this.createEmptyMovieClip("temp"1000);
    temp.loadMovie("font_container.swf"); 
    8. Then clip loads:
    PHP Code:
    var tf =temp.movie.font.getTextFormat();
    rotated.text1.setNewTextFormat(tf);
    rotated.text1.setTextFormat(tf);
    rotated.text1.embedFonts=true

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