In flash 5
I have the movie clips a,b,c. These are made visible by separate button actions (which fine I can do).
Problem: I want each button to check if the other movie clips are already visible and if they are (and only if they are) I want movie clip D to play.
I've worked out that the solution is probably something like (using button controlling a):
on (press) {
setProperty (_root.a,_visible,true)
}
on (release){
"b_v" = GetProperty (b._visible);"
"c_v" =GetProperty (c._visible)"
"v_all" = "a_v+b_v+c_v";
If (v_all,_ visible)==true {
TellTarget (_root.d)
Play()
}
}
At the moment, D is playing regardless of the visibility of the other movie clips.
Grateful for any assistance
I have the movie clips a,b,c. These are made visible by separate button actions (which fine I can do).
Problem: I want each button to check if the other movie clips are already visible and if they are (and only if they are) I want movie clip D to play.
I've worked out that the solution is probably something like (using button controlling a):
on (press) {
setProperty (_root.a,_visible,true)
}
on (release){
"b_v" = GetProperty (b._visible);"
"c_v" =GetProperty (c._visible)"
"v_all" = "a_v+b_v+c_v";
If (v_all,_ visible)==true {
TellTarget (_root.d)
Play()
}
}
At the moment, D is playing regardless of the visibility of the other movie clips.
Grateful for any assistance