[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Swftools-common] font2swf
From: |
Leonhard Minutillo |
Subject: |
Re: [Swftools-common] font2swf |
Date: |
Thu, 15 Jul 2004 08:48:20 +0200 (CEST) |
wow! thank you! that seems to work ;)
its just that the textfield doesnt accept linebreaks, so far...
cool stuff!
bst, L.
On Wed, 14 Jul 2004, Matthias Kramm wrote:
> 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
> .end
>
> 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. :)
>
> Greetings
>
> Matthias
>
>
------------------------------------------
null2::webhosting::programmierung::service
http://null2.net
null2 IT-solutions GbR
Ackerstrasse 19
10117 Berlin
t: +(49) 30 28092974
f: +(49) 30 28092976
leonhard minutillo::code u.v.m.