纳金网

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

作者: Asen    时间: 2011-10-20 15:46
标题: External Control (External Behavior)






               External Control (External Behavior)
              









           Summary
         

           Provides a hook for external scripts to control the presentation.
         





               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 1.0.2 of the 'External Control' behavior, current as of 2005-Feb-11)
           

            Description
           


             Attach this behavior to the scene to provide a mechanism for external scripts (for example, on a web page) to execute code within the context of the presentation.
            
            Calling the
            
             .internalCommand()
            
            method of the player object will execute the string passed as the first parameter as script code. A few examples:
            
             player.internalCommand( "scene.context.contextTime = 4;", "" );
  player.internalCommand( "scene.Layer.Cube.rotation.x += 30;", "" );
  player.internalCommand( "scene.overlayLayer.MouseHand.showMotionState( )", "" );
  player.internalCommand( "scene.context.nextSlide( )", "" );
            



作者: 奇    时间: 2012-3-30 23:27
百度的叫度娘,网易的叫易娘,新浪内部还在为是叫新娘还是浪娘而争论不休!……不管你们是企鹅的额娘,豆瓣的伴娘,还是华为的伪娘,都要记得,淘宝才是你们的亲娘啊!亲!!

作者: C.R.CAN    时间: 2012-6-2 23:23
不会吧,太恐怖了

作者: 晃晃    时间: 2012-8-30 00:19
谢谢楼主,真是太实用了

作者: C.R.CAN    时间: 2012-10-13 23:26
谢谢楼主,真是太实用了

作者: 晃晃    时间: 2012-12-16 23:22
好铁多多发,感激分享

作者: C.R.CAN    时间: 2013-2-9 23:27
跑着去顶朋友滴铁

作者: tc    时间: 2013-3-5 23:28
路过、路过、快到鸟,列位请继续...ing





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