<emoteConfig slotCount="6">

    <defaults>
        <emote>Emote_GG</emote>
        <emote>Emote_RedCard</emote>
        <emote>Emote_Sad</emote>
        <emote>Emote_SmileyFace</emote>
        <emote>Emote_YellowCard</emote>
        <emote>Emote_Great</emote>
        <emote>Emote_Bad</emote>
        <emote>FC_Goal_Emote</emote>
        <emote>FC_Goal_Cartoon_Emote</emote>
        <emote>FC_Handshake_Emote</emote>
        <emote>FC_April_Fools_Emote_1</emote>
        <emote>FC_April_Fools_Emote_2</emote>
        <emote>FC_April_Fools_Emote_3</emote>
        <emote>FC_April_Fools_Emote_4</emote>

        
	</defaults>
    
    <bind id="emote_testbinding">
        <view>
			<element bind-type="madden.ui.element.AnimatedFrameSprite" bind-id="animSprite" image="logoanim_LOGO_COLOSSEUM_3" alignH="${~Alignment.CENTER}" alignV="${~Alignment.CENTER}" begin-_cWidth="128" begin-_cHeight="128" begin-_maxFrames="60" begin-_frameRate="30" disableLocaleRearrange="true" />
            <eval phase="after" expression="#animSprite.alpha=1" />
            <eval phase="after" expression="#animSprite.startAnimation()" />
            <eval phase="after" expression="#animSprite._parent._parent._parent.addResizeElement(#animSprite, 0.5)" />            
            <eval phase="cleanup" expression="#animSprite.stopAnimation()" />			
		</view>
    </bind>

	<!-- Generic sprite animation, takes a sprite sheet image as a parameter and the resize, 60 frames -->
	<bind id="emote-animatedsprite">
        <view>
			<if expression='#resize == null || resize==""'>
				<eval phase="begin" expression="#resize = 0.5"/>
			</if>
			<element bind-type="madden.ui.element.AnimatedFrameSprite" bind-id="animSprite" image="${#spriteImage}" alignH="${~Alignment.CENTER}" alignV="${~Alignment.CENTER}" begin-_cWidth="128" begin-_cHeight="128" begin-_maxFrames="60" begin-_frameRate="30" disableLocaleRearrange="true" />
            <eval phase="after" expression="#animSprite.alpha=1" />
            <eval phase="after" expression="#animSprite.startAnimation()" />
            <eval phase="after" expression="#animSprite._parent._parent._parent.addResizeElement(#animSprite, #resize)" />           
            <eval phase="cleanup" expression="#animSprite.stopAnimation()" />			
		</view>
    </bind>

</emoteConfig>