Opening windows in Flash

I know this is a well-documented issue, but the fixes I’ve seen haven’t allowed this newbie to solve the problem. So far my openNewWindow function opens a new window with “javascript:openNewWindow()…” in the address field. Why is it reading the command like a url not a function? What should I try!

Sorry for the basic question…