swftools-common
[Top][All Lists]

Re: [Swftools-common] I want to post to the mailing list

 From: Chris Subject: Re: [Swftools-common] I want to post to the mailing list Date: Sun, 5 Dec 2010 13:41:31 +0100

```On Sun, 5 Dec 2010 12:57:59 +0100

> Thanks for the reply, but my problem is more complex :

.. in which case you should have said so! ;o)

>when I'm using a text  object like this exemple :
>
> .text t1 "multi\nline\ntext"
>
> the 3 lines are showed with more 50 pixels beetween each (of course, I've
> défined fonts and so on)

Looks like a default setting ( aka a feature ) to me.  If you feel you must
use control characters to produce a multiline .text clip, try it this way to
get the effect you want:

##################################################
.flash filename="text.swf" bbox=400x400 version=8
.font tahoma "../fonts/tahoma.ttf"
.text t1 font=tahoma "a\nline\nmulti\nline\ntext" size=90pt
.put t1 x=100 y=100 scale=50%
.end
#################################################

It may well depend on the font style you are using, so make the necessary
adjustments as appropriate.  Multiline text files are probably better done
in other ways.

HTH.

Regards,

Chris.

>
>
> > >On Sun, 5 Dec 2010 09:51:03 +0100
> > >luc luc <address@hidden> wrote:
> >
> > > Hello !
> > > I only want to find help on usage of swfc compiler
> >
> > Basically that's as simple as typing,
> >
> >   swfc
> >
> > or,
> >
> >   swfc --help
> >
> > on the command line.
> >
> > Further information is on the wiki,
> >
> >        http://wiki.swftools.org/index.php/Swfc
> >
> > Regards,
> >
> >
> >
> > Chris.
> > --