Ладно, не спорю, пример не удачный, так как писал не дома.
А вот так?

Код AS3:
package
{
import flash.display.*;
import flash.net.*;
import mx.collections.ArrayCollection;
import flash.external.ExternalInterface;
public class Global
{
public static var original_img:Array;
public static var thumbImg_Arr:ArrayCollection = new ArrayCollection;
public static var switcherThumbsLabel:String = "thumbnails";
public static var time_start:*;
public function Global():void
{
}// end function
public static function Log(text_log:*):void {
ExternalInterface.call("debugLog", "[" + time_start +"]" + text_log);
//trace("["+ time_start +"]" + text_log);
}
}
}