Search content:

 

Personal Menu
Username:
Password:
Save password

Become a member

Forgot Password?

 

Don't miss these
Director 8.5 Studio
ProMix
f3VideoCapture
Installed ActiveX
DAlign
authoring method docSprite()
Border Xtra
getNameOfDate
Super Goo
xTray xtra
MediaMacros Xtras Mall
 

 

 

Behavior Get Font List without using xtras!

Added on 3/14/2003

 

Compatibilities:
D8 D8_5 D9 Shockwave

This item has not yet been rated

Author: iloug

we can get font list without using an xtras,because macromedia give us a function-getfontlist() which undocument.

Download PC Source
property pFontListSprite

on beginSprite me
  pFontListSprite = 5
  (sprite pFontListSprite).member.text = empty
end
on mouseUp me
  tFont = new(#font)
  tList = tFont.Fontlist()
  FontCnt = tList.Count
  repeat with i = 1 to FontCnt
    (sprite pFontListSprite).member.line[i] = tList[i]
  end repeat
  (sprite pFontListSprite).member.scrolltop = 0
  tFont.member.erase()
  updatestage
end

 


Upload Provided by ABCUpload ASP

Contact

MMI
22 West Court Sq
Suite 2C
Newnan, GA 30263
USA

Fax - (206) 339-5833

Send e-mail