Main Timeline Control

The Basics!
Now I really shouldn't have to make an entire page for this... since this is well basic. But do note the camelCase formatting in case you've broken it. Actionscript always uses the camel case naming convention for identifiers - that means that its always written like stageWidth, and not Stagewidth or stagewidth...

// play/resume the timeline play;

// stop the timeline stop;

// go to and play from frame 3 onwards gotoAndPlay(3);

// go to and stop at frame 17 gotoAndStop(17);

// go to and stop at frameName "SpecificFrameName" gotoAndPlay("SpecificFrameName");

If your symbol/movieclip is on the stage, you will need to refer to it by name as well.... In the following i use an instance of a movieclip on the stage that has been assigned the name "my_mc". Here is a pile of examples of what you could probably write (but not all at the same time please)

my_mc.stop;               // stop my_mc.play;               // play my_mc.gotoAndPlay(2);       // go to and play frame 2 of my_mc my_mc.gotoAndStop(10);      // go to and stop at frame 10 of my_mc my_mc.gotoandPlay("SpecificFrameName");        // go to and play from the frame named "SpecificFrameName" (note that letter casing matters) 

Intervals and Wait functions
Coming soon