Pop Up window within flash

1. Create button in flash.2. paste the code for that button
on(release)
{
getURL(javascript:openNewWindow(‘somePage.html’,’thewin’,
‘height=100,width=250,toolbar=no,scrollbars=yes’);)
}3. In Html page.,paste this code in HEAD section