The buttons wore tennis shoes!

I’m sorry in advance; the post is no where near as exciting as the title suggests.

I am doing an assignment for uni atm in which I have to create a website. And since I’m first year, I thought I’d show off with some flash since no one else can use it yet. This is hardly the point.

I am attempting to use my links to run a movieclip (which they do fine) and then goto a different frame (this is the part that struggles).

On the link:


on(release){
    lynk = "web";
    this.curtain.play();
}

On the movieclip:


if (lynk="home"){
    _root.gotoAndPlay(26);
}
if (lynk="advertising"){
    _root.gotoAndPlay(44);
}
if (lynk="web"){
    _root.gotoAndPlay(61);
}
if (lynk="print"){
    _root.gotoAndPlay(78);
}

Thanks for the help,

THEfish!