[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Swftools-common] font2swf

From: Matthias Kramm
Subject: Re: [Swftools-common] font2swf
Date: Wed, 14 Jul 2004 21:56:43 +0200
User-agent: Mutt/1.5.6i

On Wed, Jul 14, 2004 at 09:41:30PM +0200, Leonhard Minutillo wrote:
> anyone knows if it is possible to modify font2swf
> so that it outputs an swf with an empty editable textfield instead
> of visible characters (so the converted font would only be
> visible if you type something) ?

Yes, that's possible.  Just not with font2swf, but with swfc. :)

Create a text file, edittext.sc, with the following content:

.flash name="edittext.swf" version=6

    .font myfont "MyFont.ttf" # <--- insert font name here

    .edittext myedittext1 font=myfont size=100% 
               width=640 height=480 border color=blue
    .put myedittext1

And then run
    swfc edittext.sc

You need the CVS version of font2swf to make this work.
Also, edittext boxes in swfc are somewhat new, so feedback 
is welcome. :)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]