Externaly loaded swf, pop-up?

I have a swf that loads to the main swf. The externaly loaded swf has code from the tutorial on kirupa for a pop-up. How come this will not work when it is externaly loaded?