Hi...Anand
Javascript is invoked in Flash by using GetURL function...For example one button is there u can invoke javascript in button onPress event...The code sample is
btn.onPress=function(){
getURL("javascript
:alert('button1')");
}
Then save the application and publish the flash file in Html..Run the newly published file..while running the application and press the button..then u see that alert window is open for ur browser...
Thanks,
S.Arun

Less Talk Work More