Hi
I’m really gettin wound up now by this. I have made the navigation for my site, and here’s some sample code for making the button animation work;
on(rollOver) {
if (!(_global.about_a == 1)) {
tag_about.gotoAndPlay(2);
}
}
on(rollOut) {
if (!(_global.about_a == 1)) {
tag_about.gotoAndPlay(11);
}
}
on(release) {
if (!(_global.about_a == 1)) {
tag_about.gotoAndStop(10);
if (_global.contact_a == 1) {
tag_contact.gotoAndPlay(11);
}
if (_global.work_a == 1) {
tag_work.gotoAndPlay(11);
}
if (_global.home_a == 1) {
tag_home.gotoAndPlay(11);
}
_global.contact_a = 0;
_global.work_a = 0;
_global.about_a = 1;
_global.home_a = 0;
}
}
The above works great, and it can be seen working here: beta.sjwright.co.uk
problem is I can’t make the movieclip with the instance name tag_home play when the movie has loaded. As the homepage is the default page, I want the tag_home to play on open. HOW DO I DO THIS? I cannot see why. If need be I will upload the fla file if no working solutions can be brought up here.
I thought this might work, but it doesn;t
this.onEnterFrame = function() {
tag_home.gotoAndPlay(2);
}
PLEASE HELP, gettin really frustrated now.