How to creat window pop up in flash

I am working on my wedding site and with no knowledge of flash i bought a flash template to work with. I am getting very limited support and would really appreciate if someone can help me out!

I am trying to create a window pop up in flash
however the template has a xml file where I will do most of my coding and I don’t know how to make the java script work in the xml file.

I read this post but it doesn’t help with my case. If someone can help me I can send you my files. PLEASE!!!