How load popup flash as per button click

hi,
I have a navation menu in flash in my homepage.
I have 3 menus… portfolio1 |porfolio2| portfolio3
so when i click the portfolio1…the popup page opens and one flash movie is opening.
in that popup flash(500px width,300px height)…i have a center portion(500w,15oh) where the portfolio related one small flash will be loading…

Right now when i click one each menu…evrytime by portfilio1 realted small flash file opening…but i want it should load as per button click on main page.
so if i click portfolio2 button…popup should load also portfolio2 related small flash in the main popup flash.

what is the solution for that. I need help…plz

thanks,