hello,
i am building a full flash site, and i have created animated buttons
seperatley,outwith the main fla, and i have imported them into the main
timeline. The button file is a movie clip,and works beautifully when testing
from its own fla,but it does not work (no animation on roll over) when i embed
it into my main site. Below i have trhe action script
On top level main timeline,where movie clips reside,in one keyframe -
this.onEnterFrame = function(){
if(rewind == true){
prevFrame();
}
}
this.onRollOver = function(){
rewind = false;
play();
}
this.onRollOut = function(){
rewind = true;
}
this.onRelease = function(){
getURL("http://www.kirupa.com","_blank");
}
within each button movie clip
stop();
this.onEnterFrame = function(){
if(rewind == true){
prevFrame();
}
}
this.onRollOver = function(){
rewind = false;
play();
}
this.onRollOut = function(){
rewind = true;
}
this.onRelease = function(){
getURL("http://www.siteName.co.uk","_blank");
}
any ideas ?
hope you can help !