what im trying to do is to get buttons to work with on this site http://www.nwmsltd.com
and now i know exactly whats wrong and what i need to do is basicly put all the code in one place for this to work.
but im having trouble working out the relative path
i think ive followed it back right and the list below shows the order of MCs
path to the buttons animation
sp
sp02
sp02_bloc01 - where both intance of buttons and gall are held
products111 - instance name of buttons
page_content_scroll - instance name of for_text
pic01 - animation of the btn is on this mc and instance name of btn1
path where the code is held for buttons and video (this is the only way i can see to make the ns.close to work)
sp
sp02
sp02_bloc01
gall - instance name of gall
bid _p - instance name of g0
_parent._parent._parent.btn1.onRollOver = function() {
gotoAndPlay("s1");
}
_parent._parent._parent.btn1.onRollOut = function() {
gotoAndPlay("s2");
}
_parent._parent._parent.btn1.onRelease = function() {
if (_root.k<>1) {
gotoAndStop(1)
_root.g1 = _root.g;
_root.g = 1;
_root.text="01";
_this.gall.gotoAndPlay("s1");
ns.close();
}
}
any one know where im going wrong?
Thanks Martin