/// <summary> Called when a swf has been loaded by the player</summary> /// <param name="e">event documenting the load /// </param> internal virtual void dumpSwfLoadedEvent(SwfLoadedEvent e) { // now rip off any trailing ? options int at = e.path.lastIndexOf('?'); String name = (at > -1) ? e.path.substring(0, (at) - (0)) : e.path; System.Text.StringBuilder sb = new System.Text.StringBuilder(); sb.Append(TextHelper.GetString("Info.LinePrefixWhenSwfLoaded")); sb.Append(' '); sb.Append(name); sb.Append(" - "); //$NON-NLS-1$ System.Collections.IDictionary args = new System.Collections.Hashtable(); args["size"] = e.swfSize.ToString("N0"); //$NON-NLS-1$ sb.Append(replaceInlineReferences(TextHelper.GetString("Info.SizeAfterDecompression"), args)); TraceManager.AddAsync(sb.ToString()); }
/// <summary> Called when a swf has been loaded by the player</summary> /// <param name="e">event documenting the load /// </param> internal virtual void dumpSwfLoadedEvent(SwfLoadedEvent e) { // now rip off any trailing ? options int at = e.path.lastIndexOf('?'); String name = (at > -1) ? e.path.substring(0, (at) - (0)) : e.path; StringBuilder sb = new StringBuilder(); sb.Append(TextHelper.GetString("Info.LinePrefixWhenSwfLoaded")); sb.Append(' '); sb.Append(name); sb.Append(" - "); //$NON-NLS-1$ IDictionary args = new Hashtable(); args["size"] = e.swfSize.ToString("N0"); //$NON-NLS-1$ sb.Append(replaceInlineReferences(TextHelper.GetString("Info.SizeAfterDecompression"), args)); TraceManager.AddAsync(sb.ToString()); }