Retrieving HTML Object Tags and displaying them in flash

Hey guys,

I’m trying to retrieve values that are embedded in the object tag on the HTML page. Is this possible? I’ve been trying to find how to do this, but all hits point out to how to embed flash in HTML and rarely do I find on which tells me how to retrieve data from HTML into flash.

Example:


<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Untitled Document</title>
<script src="Scripts/AC_RunActiveContent.js" type="text/javascript"></script>
</head>

<body>
<script type="text/javascript">
AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0','width','900','height','600','align','middle','src','SHELL','quality','high','pluginspage','http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','movie','SHELL' ); //end AC code
</script><noscript><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" width="900" height="600" align="middle">
  <param name="movie" value="SHELL.swf" />
  <param name="quality" value="high" />
  <embed src="SHELL.swf" width="900" height="600" align="middle" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash"></embed>
</object></noscript>
</body>


Here, there are the following params: name=“movie”, value=“SHELL.swf”

How can I simply trace the value in flash??? Just for now, all I want to know is if I make a dynamic text box in flash, can it display the name of the .swf by reading the param???

Thanks guys,

Noahdecoco