# Bit of help with sequencing actionscript

**URL:** <https://forum.kirupa.com/t/bit-of-help-with-sequencing-actionscript/225609>\
**Category:** flash\
**Created:** [May 14, 2007, 8:17am UTC](https://forum.kirupa.com/t/bit-of-help-with-sequencing-actionscript/225609 "2007-05-14T08:17:27Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![tomto](https://avatars.discourse-cdn.com/v4/letter/t/a183cd/32.png) [@tomto](https://forum.kirupa.com/u/tomto)\
**Post date:** [May 14, 2007, 8:17am UTC](https://forum.kirupa.com/t/bit-of-help-with-sequencing-actionscript/225609/1 "2007-05-14T08:17:27Z")

</div>

Hiya

Building a presentation for someone and have an animation that i’ve created with a sequence of .png files in 3DS Max. This render output from 3ds max forms the basis of the navigation. Hence, I have a set of buttons which trigger different sections of the timeline of the .pngs.

It’s all working ok so far in that when a button is pressed it will trigger the action for a specific sequence of frames; i.e. one button will play frames 10-20, then stop.

What I would like to now do, however, is to have some script which would essentially say, ‘Play frames 20-10 (the reverse of what’s just been played), then gotoAndPlay another sequence; i.e. 40-50’.

How can I go about achieving this? Any help with this would be very much appreciated.🙂

Tom
