BigBadDave
Programmer
...Yo,
Can any one help :
I want to change this :
if (_root.thing == 1) {
}
if (_root.thing == 1) {
_root.thing[1].play ();
}
if (_root.thing == 2) {
_root.thing[2].play ();
}
if (_root.thing == 3) {
_root.thing[3].play ();
}
etc...
Into this :
for (x=0; x<10; x++) {
if (_root.thing == x)
_root.thing[x].play ();
}
But it dosn't work, any ideas?? Regards
Big Dave
davidbyng@hotmail.com
** If I am wrong I am sorry, but i'm only trying to help!! **
Can any one help :
I want to change this :
if (_root.thing == 1) {
}
if (_root.thing == 1) {
_root.thing[1].play ();
}
if (_root.thing == 2) {
_root.thing[2].play ();
}
if (_root.thing == 3) {
_root.thing[3].play ();
}
etc...
Into this :
for (x=0; x<10; x++) {
if (_root.thing == x)
_root.thing[x].play ();
}
But it dosn't work, any ideas?? Regards
Big Dave
davidbyng@hotmail.com
** If I am wrong I am sorry, but i'm only trying to help!! **