Русская версия: http://nesov.org.ua/index.php?entry=entry071025-152315

First, you must have properly installed and working TinyMCE module.
Don't forget to make a backup of your site.
Then, download an TinyFCK at http://p4a2.crealabsfoundation.org/tinyfck
From TinyFCK package we need only filemanager folder. Upload it to
/sites/tinymce/tinymce/jscripts/tiny_mce (in my case).

Replace code in tinymce.module file (function tinymce_process_textarea()) from:

$tinymce_invoke = <<<EOD

  tinyMCE.init({
    $tinymce_settings
  });

EOD;

to:

$tinymce_invoke = <<<EOD

  tinyMCE.init({
    $tinymce_settings,
    file_browser_callback : "fileBrowserCallBack"
  });
  
  function fileBrowserCallBack(field_name, url, type, win) {
    var connector = "../../filemanager/browser.html?Connector=connectors/php/connector.php";
    var enableAutoTypeSelection = true;

    var cType;
    tinyfck_field = field_name;
    tinyfck = win;

    switch (type) {
      case "image":
        cType = "Image";
        break;
      case "flash":
        cType = "Flash";
        break;
      case "file":
        cType = "File";
        break;
    }

    if (enableAutoTypeSelection && cType) {
      connector += "&Type=" + cType;
    }

    window.open(connector, "tinyfck", "modal,width=600,height=400");
  }
EOD;

Lets correct the file path for uploading files. This setting located in TinyFCK connector settings file:
.../tinymce/jscripts/tiny_mce/filemanager/connectors/php/config.php

Also, I removed all folders except ".../php" under ".../filemanager/connectors/" folder.

Now we can see small icon near URL field in the image insertion window of TinyMCE. It will launch FCK file manager to select and upload an images and other files. Enjoy!

_____________________________________
Maxim Nesov
http://nesov.org.ua
http://proxer.org.ua

.