[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Swftools-common] font2SWF - font sharing
From: |
Chris |
Subject: |
Re: [Swftools-common] font2SWF - font sharing |
Date: |
Fri, 11 Mar 2011 13:11:22 +0100 |
I picked a font and tested it.
The only difference I could see ( without dumping the byte code itself),
was that I should have added -z (--zlib ) to the swfcombine command to
get a compressed swf. The as3 FILEATTRIBUTES Tag seems to be in place,
so where the spanner in the works is I'm not sure?
What actually IS the difference between a AWM1 and AWM2 file, if it contains
no actionscript?
Some random links below, might they help?
http://troyworks.com/blog/2007/09/17/avm2loader-converting-avm1-to-avm2/
http://haxe.org/forum/thread/1679
http://code.google.com/p/apparat/
Regards,
Chris.
>On Fri, 11 Mar 2011 15:20:25 +0400
>Jason <address@hidden> wrote:
> Hi Chris
>
> Thanks for the suggestion.
> It creates a Flash version 10 movie... but still as
>
> AVM1Movie (ie AS1 / 2)
>
>
> On 11/03/2011 15:05, Chris wrote:
> > On Fri, 11 Mar 2011 14:02:59 +0400
> > Jason<address@hidden> wrote:
> >
> >> Hi
> >>
> >> I am trying to use font2swf to convert a ttf font to swf, then load the
> >> swf into another and share the font between them.
> >> Problem is that the swf created by font2swf is AVM1Movie, but my app is
> >> AS3 (and needs a AVM2Movie).
> > Have you tried doing it this way? Does it help at all?
> >
> > font2swf -o swffont.swf yourfont.ttf
> >
> > swfcombine -F 10 --dummy -o swffont2.swf swffont.swf
> >
> > ( sorry, not that familiar with AS3 )
> >
> >
> > Regards,
> >
> >
> > Chris.
>
--
Chris <address@hidden>