Hi Chris
Thanks...
I get no
as3 FILEATTRIBUTES Tag
in my tests.
Could you send me the SWF you created ? Then I can test and see if I can
read the class of the font... If I can't, then this is a dead end anyway.
The links below are groovy. This one
http://troyworks.com/blog/2007/09/17/avm2loader-converting-avm1-to-avm2/
Will come in handy for loading older clips and communicating with them
best
jason
On 11/03/2011 16:11, Chris wrote:
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<[email protected]> 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<[email protected]> 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.