Hi
I've been experiementing with actionscripting transitions between sections... this is the first site I have tried this with (last 3 had swf loaded in one after another rather than transitioned between). I used some code from kirupa.com which works for loading movies in and out, but I also have some code for my movie buttons. I can get one or the other working, but not together, so I guess I'm clashing code somewhere, I could do with some help please to find what I'm doing wrong...
The transistion code and calling-up buttons is;
Code:
Menubar.b1.onRe lease = function() {
if (_root.section != "about.swf" ) {
_root.section = "about.swf" ;
_root.transitio n.gotoAndPlay(" closing");
}
};
Menubar.b2.onRe lease = function() {
if (_root.section != "portfolio.swf" ) {
_root.section = "portfolio.swf" ;
_root.transitio n.gotoAndPlay(" closing");
}
};
Menubar.b3.onRe lease = function() {
if (_root.section != "contact.sw f") {
_root.section = "contact.sw f";
_root.transitio n.gotoAndPlay(" closing");
}
};
and the code I have on my movie buttons is;
Code:
on (rollOver) {
gotoAndPlay("ro llover");
}
on (releaseOutside , rollOut) {
gotoAndPlay("ro llout");
}
Is there a way to combine them???
Thanks. Wayne.
I've been experiementing with actionscripting transitions between sections... this is the first site I have tried this with (last 3 had swf loaded in one after another rather than transitioned between). I used some code from kirupa.com which works for loading movies in and out, but I also have some code for my movie buttons. I can get one or the other working, but not together, so I guess I'm clashing code somewhere, I could do with some help please to find what I'm doing wrong...
The transistion code and calling-up buttons is;
Code:
Menubar.b1.onRe lease = function() {
if (_root.section != "about.swf" ) {
_root.section = "about.swf" ;
_root.transitio n.gotoAndPlay(" closing");
}
};
Menubar.b2.onRe lease = function() {
if (_root.section != "portfolio.swf" ) {
_root.section = "portfolio.swf" ;
_root.transitio n.gotoAndPlay(" closing");
}
};
Menubar.b3.onRe lease = function() {
if (_root.section != "contact.sw f") {
_root.section = "contact.sw f";
_root.transitio n.gotoAndPlay(" closing");
}
};
and the code I have on my movie buttons is;
Code:
on (rollOver) {
gotoAndPlay("ro llover");
}
on (releaseOutside , rollOut) {
gotoAndPlay("ro llout");
}
Is there a way to combine them???
Thanks. Wayne.
Comment