Launch Centered Pop Up in Flash

I did the tuturial exactly as written and still cannot get movie to launch a centered pop up.

My buttons are in movie clips, so hopefulll that does not interfere with the actions.

has anyone had this problem and know why I cannot get this to wok, or am i an idiot!

Which tutorial are you talking about?

I used the launch Centered Pop Up Window from this site at http://www.kirupa.com/developer/mx/centered_popup.htm

Are you trying to play a flash movie in that popup?

no, actually it is launching an html page with no flash at all…

Where are you putting the

MovieClip.prototype...

chunk of code? It is advisable that you put it on a frame on the main stage.

I put the action script on the buttons themselves.
I got it working now… what I think happened is that in the Window Name: I had two words with a space. I changed it to one word with no spaces and it seems to work fine now.

thanks for your help!

oh, if you have a name with a space, use the “+” sign instead of a space. so for example “Post+reply”