From bae486a5edc23210c385b9127fb390d91318c3df Mon Sep 17 00:00:00 2001 From: Ahmed Nuaman Date: Wed, 14 Dec 2011 11:16:30 +0000 Subject: [PATCH] updated for 4.6 --- .../lib/as3/utils/GoogleUtil.as | 2 +- .../lib/puremvc/display/Sprite.as | 34 +++++++++---------- 2 files changed, 18 insertions(+), 18 deletions(-) diff --git a/com/firestartermedia/lib/as3/utils/GoogleUtil.as b/com/firestartermedia/lib/as3/utils/GoogleUtil.as index d8ed197..700526c 100644 --- a/com/firestartermedia/lib/as3/utils/GoogleUtil.as +++ b/com/firestartermedia/lib/as3/utils/GoogleUtil.as @@ -16,7 +16,7 @@ package com.firestartermedia.lib.as3.utils { try { - ExternalInterface.call( 'pageTracker._trackPageview', page ); + ExternalInterface.call( '_gaq.push', [ '_trackPageview', page ] ); } catch (e:*) { } } } diff --git a/com/firestartermedia/lib/puremvc/display/Sprite.as b/com/firestartermedia/lib/puremvc/display/Sprite.as index 158e856..827d7b3 100644 --- a/com/firestartermedia/lib/puremvc/display/Sprite.as +++ b/com/firestartermedia/lib/puremvc/display/Sprite.as @@ -46,23 +46,23 @@ package com.firestartermedia.lib.puremvc.display } } - public function removeChildren(t:DisplayObjectContainer, ...children):void - { - if ( children.length ) - { - for each ( var child:DisplayObject in children ) - { - t.removeChild( child ); - } - } - else - { - for ( var i:Number = 0; i < t.numChildren; i++ ) - { - t.removeChildAt( i ); - } - } - } +// public function removeChildren(t:DisplayObjectContainer, ...children):void +// { +// if ( children.length ) +// { +// for each ( var child:DisplayObject in children ) +// { +// t.removeChild( child ); +// } +// } +// else +// { +// for ( var i:Number = 0; i < t.numChildren; i++ ) +// { +// t.removeChildAt( i ); +// } +// } +// } override public function addChild(child:DisplayObject):DisplayObject {