Exemple #1
0
		// pretty print a SwfUnloaded statement to the console
		internal virtual void  dumpSwfUnloadedLine(SwfUnloadedEvent 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(LocalizationManager.getLocalizedTextString("linePrefixWhenSwfUnloaded")); //$NON-NLS-1$
			sb.Append(' ');
			sb.Append(name);
			output(sb.ToString());
		}
		/// <summary> Perform the tasks need for when a swf is unloaded
		/// the player
		/// </summary>
		internal virtual void dumpSwfUnloadedEvent(SwfUnloadedEvent 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.LinePrefixWhenSwfUnloaded")); //$NON-NLS-1$
			sb.Append(' ');
			sb.Append(name);
			TraceManager.AddAsync(sb.ToString());
		}
Exemple #3
0
		/// <summary> Perform the tasks need for when a swf is unloaded
		/// the player
		/// </summary>
		internal virtual void  handleSwfUnloadedEvent(SwfUnloadedEvent e)
		{
			// print out the notification
			dumpSwfUnloadedLine(e);
		}