mrthuanvn / gaforflash

Automatically exported from code.google.com/p/gaforflash
Apache License 2.0
0 stars 0 forks source link

Initialising with debug.minimizedOnStart throws errors #84

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.
var debug: DebugConfiguration = new DebugConfiguration();
debug.minimizedOnStart = true; 
tracker = new GATracker( app, googleAnalyticsId, "AS3", true, null, debug );

What is the expected output? What do you see instead?
Expected: visual debug console should display in minimized state.
Actual: Errors generated in GATracker._factory();

What version of the product are you using? On what operating system?
N/A trunk source code from SVN 

Please provide any additional information below.

FIX: change GATacker constructor to:
this.debug = ( debug ) ? debug : new DebugConfiguration();
this.config = ( config ) ? config : new Configuration( debug ); 

Original issue reported on code.google.com by keanepa...@gmail.com on 9 Mar 2011 at 11:24