
Код:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<title>SWFObject dynamic embed - step 3</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<script type="text/javascript" src="swfobject.js"></script>
<script type="text/javascript">
swfobject.embedSWF("swf.swf", "swf-container", "550", "400", "9.0.0");
</script>
</head>
<body>
<div id="swf-container">
<p>Alternative content</p>
</div>
<br/>
<a href="#" onclick="alert(getElementById('swf-container').GetVariable('_root.txt.text'))">GetVariable</a>
<br/>
<a href="#" onclick="getElementById('swf-container').SetVariable('_root.txt.text', 'что-то')">SetVariable</a>
</body>
</html>
под IE работает, под FF, Opera, Chrome - нет.
Флешка простейшая - на ней текстовое поле, содержимое которого собираюсь менять/читать.
p.s. Возможно эту тем надо перенсти в другую ветку.. например в HTML/DHTML/CSS/JS/VB