How to get the Javascript function from HTML ti flash?

Good Day!

Can anyone one help me or give an idea on how to get the javascript function from HTML?

coz example:

i have a javascript function in HTML (data.html) called

addData();

I want to call the javascript function in flash. how to do that?

Thanks for the help… im stuck.