
31.03.2006, 19:57
|
|
Регистрация: Feb 2006
Адрес: Crimea
Сообщений: 60
|
Что конкретно не работает?
Я так понимаю, что в js отсылается и хелоВолд алертится, а обратно во флеш нет?
Или ничего не работает вообще?
Общее: пропубликуй его как флешс фскомманд, у меня тоже твой пример на ТВОЕЙ ф-ции ДуФСКомманд не работает. А как пропубликовался (он правда кучу всячины туда тычет), заработал:
<body bgcolor="#ffffff">
<script language="JavaScript">
<!--
var isInternetExplorer = navigator.appName.indexOf("Microsoft") != -1;// Handle all the FSCommand messages in a Flash movie.
function try_DoFSCommand(command, args) {
var tryObj = isInternetExplorer ? document.all.try : document.try;
//
// Place your code here.
//
}
// Hook for Internet Explorer.
if (navigator.appName && navigator.appName.indexOf("Microsoft") != -1 && navigator.userAgent.indexOf("Windows") != -1 && navigator.userAgent.indexOf("Windows 3.1") == -1) {
document.write('<script language=\"VBScript\"\>\n');
document.write('On Error Resume Next\n');
document.write('Sub try_FSCommand(ByVal command, ByVal args)\n');
document.write(' Call try_DoFSCommand(command, args)\n');
document.write('End Sub\n');
document.write('</script\>\n');
}
//-->
</script>
__________________
Come night so comes my time to smile )))
Последний раз редактировалось Vensky_Hor; 31.03.2006 в 20:19.
|