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; _______________________________________________ Gnash-commit mailing list [email protected] http://lists.gnu.org/mailman/listinfo/gnash-commit
