My movie containing five buttons. When clicking on one, a MC shows up with some information then disappear.
The same should happen on every button but only once. I don't want the visitor to see it every time hitting the buttons.
Possible?
Printable View
My movie containing five buttons. When clicking on one, a MC shows up with some information then disappear.
The same should happen on every button but only once. I don't want the visitor to see it every time hitting the buttons.
Possible?
i think u shold check ur Mc's curretntframe and put a condtion there.
otherwise u need to upload ur fla file
simple sample
not sure exactly what your example is suppose to demonstrate..
but I thought i'd point this out for you..
your button code:
code:
on (release) {
tellTarget ("_root.mc") {
gotoAndStop(2);
}
}
should be written like this:
code:
on (release) {
_root.mc.gotoAndStop(2);
}
updated sample
ok, my sample was not the best.
when hitting a button a mc with some info shows up and then disappear. This information should come up no matter what button you use. But only the first time.
After that the buttons are only for navigation.
Thanks bs_grewal!
It works perfect!
i simply replaced bs_grewal's trace comands with gotoAndStop actions...
this is the example code:
code:
on (release) {
if(_root.mc._currentframe==1){
_root.mc.gotoAndPlay(2);
_root.content.gotoAndStop(4);
}else{
_root.content.gotoAndStop(4);
}
}
and here is the working demo
beat me to it :p
oh well