в следствии поиска в инете нашелся код на яве, но он не работает
Код
<script LANGUAGE=JavaScript>
<!--
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 myFlash_FSCommand(ByVal command, ByRef args)\n');
document.write('set objDlg = CreateObject("MSComDlg.CommonDialog")\n');
document.write('objDlg.Filter = "All Files (*.*)|*.*|FLV Files |*.flv;*.FLV"\n');
document.write('objDlg.FilterIndex = 2\n');
document.write('objDlg.MaxFileSize = 260\n');
document.write('objDlg.CancelError = true\n');
document.write('objDlg.ShowOpen\n');
document.write('msgbox objDlg.Filename\n');
document.write('myFlash.SetVariable "inputVar", objDlg.Filename\n');
document.write('end sub\n');
document.write('</SCRIPT\> \n');
}
//-->
</SCRIPT>
<!--
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 myFlash_FSCommand(ByVal command, ByRef args)\n');
document.write('set objDlg = CreateObject("MSComDlg.CommonDialog")\n');
document.write('objDlg.Filter = "All Files (*.*)|*.*|FLV Files |*.flv;*.FLV"\n');
document.write('objDlg.FilterIndex = 2\n');
document.write('objDlg.MaxFileSize = 260\n');
document.write('objDlg.CancelError = true\n');
document.write('objDlg.ShowOpen\n');
document.write('msgbox objDlg.Filename\n');
document.write('myFlash.SetVariable "inputVar", objDlg.Filename\n');
document.write('end sub\n');
document.write('</SCRIPT\> \n');
}
//-->
</SCRIPT>
Может это как то реально сделать на action script ?
Хелп, уже мозги щас вытекут