[AS2.0] Need help with my first Transition Animation

Hello, I’ve seen this done in an ActionScript 3.0 flash movie and I thought I could butcher it up and make it do the same in an ActionScript 2.0 flash movie… pitty I am still learning flash and the best I can do it make buttons! :wasted:

Anyway… what I want to end up with is a transition animation that plays as a Mask when a viewer clicks on a button. The animation will hide animate in such a way that it will cover the currently displayed information in the Flash Movie, then while the info is covered, the main movie will switch to the next section (as determined by the button click), and the animation will continue to play and “reveal” the new info.

So first thing, I made a 50 frame symbol (symbol instance name: tab_transition) to act as my transition animation. In the first frame I put the following code:

stop();

Then in frame 25 (the point where it covers the main information display area, I put the following code that I got from the ActionScript 3.0 sample I was butchering.

parent.gotoAndPlay(parent.nextSection);

The idea being here that the string “nextSection” should be what triggers the main timeline to jump to the next section to play.

Next I edited each of my buttons with the following code:

on(release) {
 nextSection = "our_services"
 tab_transition.play();
}

This should mean, as far as I userstand… when the button is released from the mouse click, the tab_transition symbol will be played and the nextSection string will be populated to equel “our_services” which should be triggered when the tab_transition symbol hits frame 25 which will jump the main timeline to the frame label of “our_services” because I also have sitting in the main timeline the following code:

var nextSection:String;

This code is sitting in the first frame, of a layer called “ActionScript” in the parent timeline.

Now, with all this put into my Flash Movie, I tested it out and this is what seems to be going on… when I click a button, the tab_transition symbol plays, but the string which should jump the animation around the main timeline does not seem to work.

If anyone can point out to this ActionScripe noob where he is going wrong, I could really use the help.