纳金网

标题: Exit Player (External Behavior) [打印本页]

作者: Asen    时间: 2011-10-8 14:50
标题: Exit Player (External Behavior)


           Summary
         

           Quits the standalone player when an event occurs.
         





               Category
              


              Latest Behaviors
            




               Author
              


              Gavin Kistner
            




               Difficulty
              


              (Reference)
            




               Time to Complete
              


              5 Minutes
            








           Downloads
         


            Click Here
           
           to download the associated files.
         


            (This document covers version 2.0.1 of the 'Exit Player' behavior, current as of 2005-Aug-04)
           

            Description
           


             If the player cannot be quit (for example, the player is the browser plugin) and
            
              Display Error?
            
             is checked, the presentation will alert the
            
              Error Message
            
             you supply and continue running.
            

             To control the exit via a Studio action, set the
            
              Exit When
            
             parameter to the last item,
            
              (Action-Controlled)
            
             , and invoke the
            
              Exit Now
            
             action of this behavior.
            


            Basic Properties
           



              Exit When
            

              When should the player try to quit?
            

              Trigger Key
            

              If 'Exit When' is 'Key Down' or 'Key Up', the name of the key to watch for.
            



            Advanced Properties
           



              Display Error?
            

              Display an error if the presentation can not be exited?.
            

              Error Message
            

              The error message to display if 'Display Error?' is checked and the exit cannot occur.
            



            Actions
           



              Exit Now
            

              Attempt to quit the player immediately.
            




作者: 奇    时间: 2012-7-18 23:21
既来之,则看之!

作者: C.R.CAN    时间: 2012-10-31 23:25
很经典,很实用,学习了!

作者: tc    时间: 2012-12-8 23:22
不错哦,谢谢楼主

作者: C.R.CAN    时间: 2013-1-5 20:59
其实楼主所说的这些,俺支很少用!

作者: 菜刀吻电线    时间: 2013-1-28 23:24
响应天帅号召,顶





欢迎光临 纳金网 (http://go.narkii.com/club/) Powered by Discuz! X2.5