Depends on what you are trying to embed it in and what you are trying to do with it so it's not just a case of cut and paste. Are you trying to do a popup, pop under, pop over, child window, etc, etc. A simple popup is just that rather simple, window.open(). However these popups are probably directed and controlled from the Flash Stage. There is so many ways to do that, it depends on the progammer. Check Google for an ECMAScript resource.