Need help with this script

ok guys… I am in need of your help once again… I need to have my menu buttons know

  1. If there is a swf loaded in the “content” container that’s NOT the the swf I want to load
  2. If there is one, then to play it’s "end"ing label (which is an animation followed by an unloadMovie command)
  3. and then finally load the swf that I DO want…

Here’s the script that I came up with… But I have a feeling that it’s not right (mainly because it doesn’t work) :beam: But I do think that I’m going in the right direction…

This would be the script for the “message” button:

[AS]on (release) {
if (_parent._parent.content == “announce.swf”) {
gotoAndPlay(“end”);
} else {
_parent._parent.content.loadmovie(“message.swf”);
}
}[/AS]

What do you think?