Flash Javascript Question - HELP Please!

I am trying to use this javascript for Pop-Up Windows…


The problem I am having is… I am using this tortial


to load movies… but when I load a movie into it… the Javascript to open a Pop-Up window does not work. I think its the way the movie is being loaded and not being on the top layer of the movie. But I am not sure…

Please help.