There probably is. Have you tried reading the documentation that came with the flash menu? You'd be surprised at what you discover. Beyond that... I doubt anyone would have the ability to give you insight without even a little bit of information like say.... which menu you're using and where you got it. And even then, the people that will be trying to help will be doing so by reading the manual and looking for interconnectivity between JS and the flash menu, they won't be doing anything special or magical.
The way to success is to assume that there are no impossible things. After all, if you think something is impossible, you will not even try to do it.
How to ask smart questions?