Skip to content

Commit

Permalink
updated for 4.6
Browse files Browse the repository at this point in the history
  • Loading branch information
ahmednuaman committed Dec 14, 2011
1 parent 7f052a1 commit bae486a
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 18 deletions.
2 changes: 1 addition & 1 deletion com/firestartermedia/lib/as3/utils/GoogleUtil.as
Expand Up @@ -16,7 +16,7 @@ package com.firestartermedia.lib.as3.utils
{
try
{
ExternalInterface.call( 'pageTracker._trackPageview', page );
ExternalInterface.call( '_gaq.push', [ '_trackPageview', page ] );
} catch (e:*) { }
}
}
Expand Down
34 changes: 17 additions & 17 deletions com/firestartermedia/lib/puremvc/display/Sprite.as
Expand Up @@ -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
{
Expand Down

0 comments on commit bae486a

Please sign in to comment.