http://www.flashkit.com/movies/Scrip...-147/index.php
to be more direct
=========
If you wanna keep it simpler just use the easy actionscript commands
1) IfFrameLoaded (searches and checks for a loaded frame)
2) GoTo (goes to a specified frame)
should look like/or you paste this into action script (Expert Mode)
ifFrameLoaded (
your last frame ) {
gotoAndPlay(
your 1st frame );
}