Hi all
I am trying to make some links on my web site but I have no idea how it works.
So when I click on link that must start playin and in frame 20 if var link = home loadmovie home.swf …
I think i was understandable
Code:
button as:
on (release) {
play();
link=“home”;
}
whenre should I write these:??
var link;
this.onEnterFrame = function () {
if(link==“home”)
{
_root.cont.loadMovie(“home.swf”);
}
else if(link==“services”)
{
_root.cont.loadMovie(“serv.swf”);
}
else if(link==“contact”)
{
_root.cont.loadMovie(“cont.swf”); }
}
thnx in your advance