[Top][All Lists]
[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 20:47:10 +0200 |
User-agent: |
Mutt/1.5.13 (2006-08-11) |
On Tue, May 20, 2008 at 08:24:15PM +0200, Pablo Rodríguez <address@hidden>
wrote:
> My fault. There was a typo in
> "butagain._y=(height-butagain-_height)/2;", because I wrote heigth
> instead of height. Sorry for that.
Ahhh, yes. I wish I had a nickel for every time I wrote "heigth" instead of
"height" myself :)
> I tried to use .sprite with slide_no, but slide_number isn't displayed.
> This is the code I use:
>
> .sprite slide_number
> .put slide_no
> .end
>
> .frame 1
> .put slide_number
> .action:
> slide_number._x=width-(width/2+slide_number._width);
> slide_number._y=0;
> slide_number._scalex=50;
> .end
I see you're putting slide_no both inside and outside the sprite... that
might or might not be the cause.
Also, shouldn't
slide_number._x=width-(width/2+slide_number._width);
be
slide_number._x=(width-slide_number._width)/2;
?
Greetings
Matthias