gnash-commit
[Top][All Lists]
Advanced

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

Re: [Gnash-commit] gnash ChangeLog server/sprite_instance.h server...


From: strk
Subject: Re: [Gnash-commit] gnash ChangeLog server/sprite_instance.h server...
Date: Sun, 8 Apr 2007 12:17:18 +0200

On Sun, Apr 08, 2007 at 04:57:04PM +0800, zou lunkai wrote:
> -       frameno = iclamp(int(num), 1, m_def->get_frame_count())-1;
> +     // all frame numbers >= 0 are valid, but a valid frame number may 
> still
> +     // reference a non-exist frame(eg. frameno > total_frames).
> +      frameno = num - 1;
> 
> think about a hard-coded frame number within ActionGotoFrame tag, of
> course it might be a value greater than total frames. And another
> reason I didn't clamp it here is that if the specified frame number is
> greater than total frames, the expected behavious is jumping to the
> last frame but not pushing the actions of the last frame. So it's
> slightly different as the ActionGotoFrame(last_frame).

Is this true for all SWF versions and all player versions ?

--strk;




reply via email to

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