hey,
I’ve a button that unloads a movieclip when I press it, ok that’s no problem so far…
but how can I load the movieclip in my instance again[color=#004080] [color=black]by pressing the same[/color][/color]
[color=#004080][color=#000000]button twice ???[/color]
[/color]
thanx, already
system
September 29, 2004, 12:42pm
2
roll4life:
hey,
I’ve a button that unloads a movieclip when I press it, ok that’s no problem so far…
but how can I load the movieclip in my instance again[color=#004080] [color=black]by pressing the same[/color][/color]
[color=#004080][color=#000000]button twice ???[/color]
[/color]
thanx, already
Hi,
I am giving one simple example that will solve ur problem:
Create a button on the stage and name it as: myButton
And write this script on the first frame:
c=1;
myButton.onRelease = function(){
foundFunc(c);
}
function foundFunc(x){
if(c%2){
trace(“Load”);
}else{
trace(“UnLoad”);
}
c++;
}
I think u got it :love:
aShIsH
system
September 29, 2004, 12:53pm
3
thank you !!! I’ll try it immediately, hope it fixes my problem…
system
September 29, 2004, 1:16pm
4
man…you’re a genius !!! It works perfectly…
BIG thanx, again !!!