swftools-common
[Top][All Lists]
Advanced

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

Re: [Swftools-common] locating buttons and scaling texts in swfc


From: Matthias Kramm
Subject: Re: [Swftools-common] locating buttons and scaling texts in swfc
Date: Tue, 20 May 2008 12:45:45 +0200
User-agent: Mutt/1.5.13 (2006-08-11)

On Mon, May 19, 2008 at 10:06:32PM +0200, Pablo Rodríguez <address@hidden> 
wrote:
>               butagain._x=(width-butagain._width)/2;
>               butagain._y=(heigth-butagain._height)/2;

Looks good to me- sure that width/height (Stage.width/Stage.height)
is set correctly, however?  The Flash player tends to be a bit sloppy
with dimensions that are not explicitly specified somewhere.

> And with texts, is there any way to scale them? In the already mentioned
> script, how can I scale info and scale_no?

Try setting slide_no._scalex and slide_no._scaley. If that doesn't work,
wrap a .sprite around slide_no.

Greetings

Matthias






reply via email to

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