Needing help badly
Hey,
So I'm trying to be the good flash coder and code everything in the script layer of my movie.
stop();
msg1._visible = false;
closeMsg1._visible = false;
msg2._visible = false;
closeMsg2._visible = false;
msg1Link.onMouseDown = function () {
msg1._visible = true;
closeMsg1._visible = true;
msg2._visible = false;
closeMsg2._visible = false;
}
msg2Link.onMouseDown = function () {
msg2._visible = true;
closeMsg2._visible = true;
msg1._visible = false;
closeMsg1._visible = false;
}
closeMsg1.onMouseDown = function () {
msg1._visible = false;
closeMsg1._visible = false;
}
closeMsg2.onMouseDown = function () {
msg2._visible = false;
closeMsg2._visible = false;
}
So basically, various things will become visible/invisible when other vairous things are clicked on.
The problem I'm having is that, when I test my movie, no matter where I click on the screen msg1 becomes visible. And that's it. I can't access any of the other link/code. Why is this happening? I'm kinda new to flash and can't figure it out. (Also, is there a code like onClipEvent(load) that refers to the entire movie? like onMovieEvent(load)?)
The source file is here.
Any help is appreciated.
So I'm trying to be the good flash coder and code everything in the script layer of my movie.
stop();
msg1._visible = false;
closeMsg1._visible = false;
msg2._visible = false;
closeMsg2._visible = false;
msg1Link.onMouseDown = function () {
msg1._visible = true;
closeMsg1._visible = true;
msg2._visible = false;
closeMsg2._visible = false;
}
msg2Link.onMouseDown = function () {
msg2._visible = true;
closeMsg2._visible = true;
msg1._visible = false;
closeMsg1._visible = false;
}
closeMsg1.onMouseDown = function () {
msg1._visible = false;
closeMsg1._visible = false;
}
closeMsg2.onMouseDown = function () {
msg2._visible = false;
closeMsg2._visible = false;
}
So basically, various things will become visible/invisible when other vairous things are clicked on.
The problem I'm having is that, when I test my movie, no matter where I click on the screen msg1 becomes visible. And that's it. I can't access any of the other link/code. Why is this happening? I'm kinda new to flash and can't figure it out. (Also, is there a code like onClipEvent(load) that refers to the entire movie? like onMovieEvent(load)?)
The source file is here.
Any help is appreciated.
