oops [F8]
im trying to get this code to work on btn1, it works up to gotoAndPlay(“twoB”); then gives.
Error: A ‘with’ action failed because the specified object did not exist.
the first gotoAndPlay(“oneA”); works ok in one_mc but not when in two_mc
on(release){
if(_root.main_mc.one_mc.parked=="in"){
with(_root.main_mc.one_mc){
gotoAndPlay("oneA");
}
}
else if(_root.main_mc.two_mc.parked=="in"){
with(_root.main_mc.two_mc){
gotoAndPlay("twoB");
}
with(_root.main_mc.one_mc){
gotoAndPlay("oneA");
}
}
else if(_root.main_mc.three_mc.parked=="in"){
with(_root.main_mc.three_mc){
gotoAndPlay("out");
}
with(_root.main_mc.one_mc){
gotoAndPlay("oneA");
}
}
else{
with(_root.main_mc.one_mc){
gotoAndPlay("oneA");
}
}
}