[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: |
Pablo Rodríguez |
Subject: |
Re: [Swftools-common] locating buttons and scaling texts in swfc |
Date: |
Tue, 20 May 2008 21:30:31 +0200 |
User-agent: |
Thunderbird 2.0.0.9 (X11/20080213) |
Thanks for your reply, Matthias.
Matthias Kramm wrote:
> On Tue, May 20, 2008 at 08:24:15PM +0200, Pablo Rodríguez <address@hidden>
> wrote:
>
> [...]
>
>> 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.
Putting slide_no both inside and outside the sprite was to check that
slide_no still worked. It is not the cause, because it doesn't work with
slide_no inside the sprite only.
Any clue?
> Also, shouldn't
> slide_number._x=width-(width/2+slide_number._width);
> be
> slide_number._x=(width-slide_number._width)/2;
> ?
Thanks, it should be so.
Pablo