<menuitem type="menuitem" imageN ="images/map/button_flag_lock.png" center="0.27x0.18">
  <children>
  </children>

  <actions>
    <action name="star_scale" value="Sequence[DelayTime[##flag_delay_appearance##],DelayTime[1.2],BackOut[ScaleTo[0.3,1,1]]]"/>

    <action name="flag_move" value="
            Sequence[
              DelayTime[##flag_delay_appearance##],
              MoveBy[0,0,400],
              BounceOut[MoveBy[1,0,-400]]
            ]"/>
    <action name="flag_scale" value="Sequence[DelayTime[##flag_delay_appearance##],BackOut[ScaleTo[0.3,1,1]]]"/>
    <action name="flag_fadein" value="Sequence[DelayTime[##flag_delay_appearance##],FadeIn[0.3]]"/>
    <action name="flag_tint" value="Sequence[DelayTime[##flag_delay_appearance##],TintTo[0.3,255,255,255]]"/>
  </actions>

  <events>
    <eventlist name="star0">
    </eventlist>

    <eventlist name="star0_show">
      <setproperty property="opacity" value="0" target="normal"/>
      <runaction action="flag_fadein" target="normal"/>
      <runaction action="flag_move" target="normal"/>
      <playsound sound="##sound_mapflagnew##" predelay="##flag_delay_appearance##"/>
    </eventlist>

  </events>
</menuitem>