Thanks for your reply, Matthias.

Matthias Kramm wrote:
> On Tue, May 20, 2008 at 08:24:15PM +0200, Pablo Rodríguez <[EMAIL PROTECTED]> 
> 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


Reply via email to