why can't you use the size report that you can generate on publish??? it
shows all the fonts in-use in your movie.
On 07/02/07, Danny Kodicek <[EMAIL PROTECTED]> wrote:
> No takers? I guess it just isn't doable then.
For finding the fonts, I don't know; for finding the characters available
in
a font, here's one hack as an example:
function findAvailableCharacters(tFont:String):String {
var tField:TextField = _root.createTextField("tmpField",
_root.getNextHighestDepth(), -1, -1000, 1000, 1000)
var tFormat:TextFormat = new TextFormat()
tFormat.font = tFont
tField.setTextFormat(tFormat)
var tRange:Array = [25,500] // or whatever range you want to use
var tWidth:Number = 0
var tChars:String = ""
for (var i = tRange[0]; itWidth) {
tChars += tChar
tWidth = tField.textWidth
}
}
tField.removeTextField()
return tChars
}
>
> > -Original Message-
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] On
> Behalf Of Mike
> > Mountain
> > Sent: 06 February 2007 12:30
> > To: Flashcoders mailing list
> > Subject: [Flashcoders] finding out which fonts are embedded
> in a swf
> > atruntime?
> >
> >
> > Say I wanted to list out all the fonts that have been
> embedded in my
> > swf, and which chars are embedded and other associated
> attributes in
> > the swf itself - is there anyway dynamically to do this? (Obviously
> > without keeping a manual track of them all)
> >
> > Cheers
> >
> > M
>
>
> ECM Systems Ltd, Ellifoot Park, Burstwick, East Yorkshire HU12 9DZ
> Tel: 01964 672000
> Fax: 01964 671102
> Registered in England no. 01646471
> The information contained within this email expresses the
> views of the sender and not necessarily those of the company.
> It is private and confidential and may be legally privileged.
> It is intended solely for those authorised to receive it. If
> you are not the intended recipient you are hereby notified
> that any disclosure, copying, distribution or action taken in
> reliance on its contents is strictly prohibited and may be
> unlawful. If you have received this email in error, please
> telephone us immediately on 01964 672000 or email a reply to
> highlight the error and then delete it from your system. This
> email may contain links to web-sites, the contents of which
> ECM Systems Ltd have no control over and can accept no
> responsibility for. Any attachments have been virus-checked
> before transmission; however, recipients are strongly advised
> to carry out their own virus checking as ECM Systems Ltd do
> not warrant that such attachments are virus-free. Please note
> that this email has been created in the knowledge that
> Internet email is not a secure communications medium. We
> advise that you understand and observe this lack of security
> when emailing us.
>
> ECM Systems Ltd, Ellifoot Park, Burstwick, East Yorkshire HU12 9DZ
>
> Tel: 01964 672000
> Fax: 01964 671102
>
> Registered in England no. 01646471
>
> The information contained within this email expresses the
> views of the sender and not necessarily those of the company.
> It is private and confidential and may be legally privileged.
> It is intended solely for those authorised to receive it. If
> you are not the intended recipient you are hereby notified
> that any disclosure, copying, distribution or action taken in
> reliance on its contents is strictly prohibited and may be
> unlawful. If you have received this email in error, please
> telephone us immediately on 01964 672000 or email a reply to
> highlight the error and then delete it from your system. This
> email may contain links to web-sites, the contents of which
> ECM Systems Ltd have no control over and can accept no
> responsibility for. Any attachments have been virus-checked
> before transmission; however, recipients are strongly advised
> to carry out their own virus checking as ECM Systems Ltd do
> not warrant that such attachments are virus-free.
> Please note that this email has been created in the knowledge
> that Internet email is not a secure communications medium.
> We advise that you understand and observe this lack of
> security when emailing us.
>
>
>
> ___
> Flashcoders@chattyfig.figleaf.com
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com http://training.figleaf.com
>
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com
--
Go Dennis!
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/m