Im trying to write that when the object is not on the hit object a sound will play.
I have this... it seems logical...to me...but doesnt work.
on (press){
startDrag(this);
HEY = new Sound();
Thanks = new Sound();
HEY.attachSound("HEY!");
Thanks.attachSound("Thanks");
}
on(release){
stopDrag();
if(_root.owl.hitTest !==(_root.treehole)){
HEY.start();
}
}
what is the syntax im looking for here?
Thank you for any help
Mark
