Products Product Support Downloads Gallery About us
 


ASP Turbine
 
Features
 
Samples
 
Download
 
Purchase
 
Documentation

 
 
   
Samples Menu

Turbine Window Sample
(Flash MX/5)
 

Turbine Window is a run-time window for logging and debugging, where all the errors, warnings and information produced by Turbine are logged. Besides that, you can also log directly to this window by calling the function turbineDebug from Action Script, making it easier to debug your application.

Each Turbine log entry is tagged by [e] for errors, [w] for warnings and [i] for information.

The Turbine Window can be activated by:

  • Setting System.Debug = 1 in the system.settings configuration file - this is the preferred way of activating the Turbine Window since it will make deployment easier later on, as you only need to change this single setting to remove the Turbine debug window.
  • Or setting the Debug property of the component - by setting Media.Debug = 1.


The following Flash movie shows the Turbine Window both with Turbine errors (a missing image and an unknown font name) and with 3 messages logged at run-time through the turbineDebug function:
 

The source for the Turbine Window is included inside the installation directory, on the debug.fla file, to be customized in any desired way.

 

 

Samples Menu
   

 
Home  |  Products  |  Support  |  Downloads  |  Gallery  |  Company

Questions or comments? info@blue-pacific.com
© 2005 Blue Pacific Software, all rights reserved.
All trademarks are the property of their respective owners.