I have page with flash object on it. something like this:

<html>
<head>
<title>MyFlash</title>
</head>
<body onLoad="onLoadFunc()">

<script type="text/javascript">
function...