Guys… I’ve been trying to fix this and no luck Anyone here can help me out ??
What is my current problem is… my actionscript button is working very well but when i added the preloader code in there… the link just stop working…
Here is my code…
_root.onEnterFrame = function() {
var amountLoaded:Number = _root.getBytesLoaded()/_root.getBytesTotal();
loadText.text = Math.round(amountLoaded*100)+"%";
if (_root.getBytesLoaded() == _root.getBytesTotal()) {
gotoAndPlay(3);
delete _root.onEnterFrame;
}
};
stop();
_root.mc_about.onEnterFrame = function() {
if (mouse_over_mc_about) {
_root.mc_about.nextFrame();
} else {
_root.mc_about.prevFrame();
}
};
_root.mc_works.onEnterFrame = function() {
if (mouse_over_mc_works) {
_root.mc_works.nextFrame();
} else {
_root.mc_works.prevFrame();
}
};
_root.mc_services.onEnterFrame = function() {
if (mouse_over_mc_services) {
_root.mc_services.nextFrame();
} else {
_root.mc_services.prevFrame();
}
};
_root.mc_contacts.onEnterFrame = function() {
if (mouse_over_mc_contacts) {
_root.mc_contacts.nextFrame();
} else {
_root.mc_contacts.prevFrame();
}
};