all repos — simplyrpg @ b1d5daf21334d3da94abd04cb734a157b3b13fbe

Fork of https://github.com/harperd1/simplyRPG — multi-map VTT, token visibility, dark theme, stream HUD

libraries/EaselJS_docs/classes/MovieClipPlugin.html (view raw)

   1<!DOCTYPE html>
   2<html lang="en">
   3<head>
   4    <meta charset="utf-8">
   5    <link rel="stylesheet" href="../assets/css/yui-cssgrids-min.css">
   6    <link rel="stylesheet" href="../assets/vendor/prettify/prettify-min.css">
   7    <link rel="stylesheet" href="../assets/css/main.css" id="site_styles">
   8    <link rel="shortcut icon" type="image/x-icon" href="../assets/favicon.ico">
   9    <script src="../assets/js/yui-source.js"></script>
  10	<title>EaselJS v1.0.0 API Documentation : MovieClipPlugin</title>
  11</head>
  12<body class="yui3-skin-sam">
  13
  14<div id="doc">
  15    <div id="hd" class="yui3-g header">
  16        <div class="yui3-u-3-4">
  17            
  18                <h1><a href="http://www.createjs.com/easeljs"><img src="../assets/docs-icon-EaselJS.png" title="EaselJS"></a></h1>
  19            
  20        </div>
  21        <div class="version">
  22            <em>API Documentation for: 1.0.0</em>
  23        </div>
  24    </div>
  25    <div id="bd" class="yui3-g">
  26
  27        <div class="yui3-u-1-4">
  28            <div id="docs-sidebar" class="sidebar apidocs">
  29                <div id="api-list">
  30    <h2 class="off-left">APIs</h2>
  31    <div id="api-tabview" class="tabview">
  32        <ul class="tabs">
  33            <li><a href="#api-classes">Classes</a></li>
  34        </ul>
  35
  36        <div id="api-tabview-filter">
  37            <input type="search" id="api-filter" placeholder="Type to filter APIs">
  38        </div>
  39
  40        <div id="api-tabview-panel">
  41            <ul id="api-classes" class="apis classes">
  42            
  43                <li><a href="../classes/AlphaMapFilter.html">AlphaMapFilter</a></li>
  44            
  45                <li><a href="../classes/AlphaMaskFilter.html">AlphaMaskFilter</a></li>
  46            
  47                <li><a href="../classes/Bitmap.html">Bitmap</a></li>
  48            
  49                <li><a href="../classes/BitmapCache.html">BitmapCache</a></li>
  50            
  51                <li><a href="../classes/BitmapText.html">BitmapText</a></li>
  52            
  53                <li><a href="../classes/BlurFilter.html">BlurFilter</a></li>
  54            
  55                <li><a href="../classes/ButtonHelper.html">ButtonHelper</a></li>
  56            
  57                <li><a href="../classes/ColorFilter.html">ColorFilter</a></li>
  58            
  59                <li><a href="../classes/ColorMatrix.html">ColorMatrix</a></li>
  60            
  61                <li><a href="../classes/ColorMatrixFilter.html">ColorMatrixFilter</a></li>
  62            
  63                <li><a href="../classes/Container.html">Container</a></li>
  64            
  65                <li><a href="../classes/DisplayObject.html">DisplayObject</a></li>
  66            
  67                <li><a href="../classes/DisplayProps.html">DisplayProps</a></li>
  68            
  69                <li><a href="../classes/DOMElement.html">DOMElement</a></li>
  70            
  71                <li><a href="../classes/EaselJS.html">EaselJS</a></li>
  72            
  73                <li><a href="../classes/Event.html">Event</a></li>
  74            
  75                <li><a href="../classes/EventDispatcher.html">EventDispatcher</a></li>
  76            
  77                <li><a href="../classes/Filter.html">Filter</a></li>
  78            
  79                <li><a href="../classes/Graphics.html">Graphics</a></li>
  80            
  81                <li><a href="../classes/Graphics.Arc.html">Graphics.Arc</a></li>
  82            
  83                <li><a href="../classes/Graphics.ArcTo.html">Graphics.ArcTo</a></li>
  84            
  85                <li><a href="../classes/Graphics.BeginPath.html">Graphics.BeginPath</a></li>
  86            
  87                <li><a href="../classes/Graphics.BezierCurveTo.html">Graphics.BezierCurveTo</a></li>
  88            
  89                <li><a href="../classes/Graphics.Circle.html">Graphics.Circle</a></li>
  90            
  91                <li><a href="../classes/Graphics.ClosePath.html">Graphics.ClosePath</a></li>
  92            
  93                <li><a href="../classes/Graphics.Ellipse.html">Graphics.Ellipse</a></li>
  94            
  95                <li><a href="../classes/Graphics.Fill.html">Graphics.Fill</a></li>
  96            
  97                <li><a href="../classes/Graphics.LineTo.html">Graphics.LineTo</a></li>
  98            
  99                <li><a href="../classes/Graphics.MoveTo.html">Graphics.MoveTo</a></li>
 100            
 101                <li><a href="../classes/Graphics.PolyStar.html">Graphics.PolyStar</a></li>
 102            
 103                <li><a href="../classes/Graphics.QuadraticCurveTo.html">Graphics.QuadraticCurveTo</a></li>
 104            
 105                <li><a href="../classes/Graphics.Rect.html">Graphics.Rect</a></li>
 106            
 107                <li><a href="../classes/Graphics.RoundRect.html">Graphics.RoundRect</a></li>
 108            
 109                <li><a href="../classes/Graphics.Stroke.html">Graphics.Stroke</a></li>
 110            
 111                <li><a href="../classes/Graphics.StrokeDash.html">Graphics.StrokeDash</a></li>
 112            
 113                <li><a href="../classes/Graphics.StrokeStyle.html">Graphics.StrokeStyle</a></li>
 114            
 115                <li><a href="../classes/Matrix2D.html">Matrix2D</a></li>
 116            
 117                <li><a href="../classes/MouseEvent.html">MouseEvent</a></li>
 118            
 119                <li><a href="../classes/MovieClip.html">MovieClip</a></li>
 120            
 121                <li><a href="../classes/MovieClipPlugin.html">MovieClipPlugin</a></li>
 122            
 123                <li><a href="../classes/Point.html">Point</a></li>
 124            
 125                <li><a href="../classes/Rectangle.html">Rectangle</a></li>
 126            
 127                <li><a href="../classes/Shadow.html">Shadow</a></li>
 128            
 129                <li><a href="../classes/Shape.html">Shape</a></li>
 130            
 131                <li><a href="../classes/Sprite.html">Sprite</a></li>
 132            
 133                <li><a href="../classes/SpriteSheet.html">SpriteSheet</a></li>
 134            
 135                <li><a href="../classes/SpriteSheetBuilder.html">SpriteSheetBuilder</a></li>
 136            
 137                <li><a href="../classes/SpriteSheetUtils.html">SpriteSheetUtils</a></li>
 138            
 139                <li><a href="../classes/Stage.html">Stage</a></li>
 140            
 141                <li><a href="../classes/StageGL.html">StageGL</a></li>
 142            
 143                <li><a href="../classes/Text.html">Text</a></li>
 144            
 145                <li><a href="../classes/Ticker.html">Ticker</a></li>
 146            
 147                <li><a href="../classes/Touch.html">Touch</a></li>
 148            
 149                <li><a href="../classes/UID.html">UID</a></li>
 150            
 151                <li><a href="../classes/Utility Methods.html">Utility Methods</a></li>
 152            
 153                <li><a href="../classes/VideoBuffer.html">VideoBuffer</a></li>
 154            
 155                <li><a href="../classes/WebGLInspector.html">WebGLInspector</a></li>
 156            
 157            </ul>
 158
 159            <ul id="api-modules" class="apis modules">
 160            
 161                <li><a href="../modules/CreateJS.html">CreateJS</a></li>
 162            
 163                <li><a href="../modules/EaselJS.html">EaselJS</a></li>
 164            
 165            </ul>
 166        </div>
 167    </div>
 168</div>
 169
 170            </div>
 171        </div>
 172        <div class="yui3-u-3-4">
 173            <div id="api-options">
 174        Show:
 175        <label for="api-show-inherited">
 176            <input type="checkbox" id="api-show-inherited" checked>
 177            Inherited
 178        </label>
 179
 180        <label for="api-show-protected">
 181            <input type="checkbox" id="api-show-protected">
 182            Protected
 183        </label>
 184
 185        <label for="api-show-private">
 186            <input type="checkbox" id="api-show-private">
 187            Private
 188        </label>
 189        <label for="api-show-deprecated">
 190            <input type="checkbox" id="api-show-deprecated">
 191            Deprecated
 192        </label>
 193
 194    </div>
 195            <div class="apidocs">
 196                <div id="docs-main">
 197                    <div class="content">
 198                        <h1>MovieClipPlugin Class</h1>
 199<div class="box meta">
 200    
 201
 202    
 203
 204    
 205        <div class="foundat">
 206            Defined in: <a href="../files/easeljs_display_MovieClip.js.html#l689"><code>MovieClipPlugin:689</code></a>
 207        </div>
 208    
 209
 210    
 211        
 212            Module: <a href="../modules/EaselJS.html">EaselJS</a>
 213        
 214    
 215
 216    
 217</div>
 218
 219
 220
 221<div class="box intro">
 222    <p>This plugin works with <a href="http://tweenjs.com" target="_blank">TweenJS</a> to prevent the startPosition
 223property from tweening.</p>
 224
 225</div>
 226
 227
 228    <div class="constructor">
 229        <h2>Constructor</h2>
 230        <div id="method_MovieClipPlugin" class="method item private">
 231    <h3 class="name"><code>MovieClipPlugin</code></h3>
 232
 233    
 234        <span class="paren">()</span>
 235    
 236
 237    
 238
 239    
 240
 241    
 242        <span class="flag private">private</span>
 243    
 244
 245    
 246
 247    
 248
 249    
 250
 251    
 252
 253    <div class="meta">
 254        
 255            
 256                
 257                <p>
 258                
 259                Defined in
 260                
 261            
 262        
 263        
 264        <a href="../files/easeljs_display_MovieClip.js.html#l689"><code>MovieClipPlugin:689</code></a>
 265        
 266        </p>
 267
 268
 269        
 270
 271        
 272    </div>
 273
 274    <div class="description">
 275        
 276    </div>
 277
 278    
 279
 280    
 281
 282    
 283</div>
 284
 285    </div>
 286
 287
 288<div id="classdocs" class="tabview">
 289    <ul class="api-class-tabs">
 290        <li class="api-class-tab index"><a href="#index">Index</a></li>
 291
 292        
 293            <li class="api-class-tab methods"><a href="#methods">Methods</a></li>
 294        
 295        
 296            <li class="api-class-tab properties"><a href="#properties">Properties</a></li>
 297        
 298        
 299        
 300    </ul>
 301
 302    <div>
 303        <div id="index" class="api-class-tabpanel index">
 304            <h2 class="off-left">Item Index</h2>
 305
 306            
 307                <div class="index-section methods">
 308                    <h3>Methods</h3>
 309
 310                    <ul class="index-list methods">
 311                        
 312                            <li class="index-item method">
 313                                <a href="#method_change">change</a>
 314
 315                                
 316                                    <span class="flag static">static</span>
 317                                
 318                                
 319                            </li>
 320                        
 321                            <li class="index-item method">
 322                                <a href="#method_init">init</a>
 323
 324                                
 325                                    <span class="flag static">static</span>
 326                                
 327                                
 328                            </li>
 329                        
 330                            <li class="index-item method">
 331                                <a href="#method_install">install</a>
 332
 333                                
 334                                    <span class="flag static">static</span>
 335                                
 336                                
 337                            </li>
 338                        
 339                            <li class="index-item method">
 340                                <a href="#method_step">step</a>
 341
 342                                
 343                                    <span class="flag static">static</span>
 344                                
 345                                
 346                            </li>
 347                        
 348                    </ul>
 349                </div>
 350            
 351
 352            
 353                <div class="index-section properties">
 354                    <h3>Properties</h3>
 355
 356                    <ul class="index-list properties">
 357                        
 358                            <li class="index-item property">
 359                                <a href="#property_ID">ID</a>
 360
 361                                
 362                                    <span class="flag static">static</span>
 363                                
 364                                
 365                            </li>
 366                        
 367                            <li class="index-item property">
 368                                <a href="#property_priority">priority</a>
 369
 370                                
 371                                    <span class="flag static">static</span>
 372                                
 373                                
 374                            </li>
 375                        
 376                    </ul>
 377                </div>
 378            
 379
 380            
 381
 382            
 383        </div>
 384
 385        
 386            <div id="methods" class="api-class-tabpanel">
 387                <h2 class="off-left">Methods</h2>
 388
 389                
 390                    <div id="method_change" class="method item">
 391    <h3 class="name"><code>change</code></h3>
 392
 393    
 394        <div class="args">
 395            <span class="paren">(</span><ul class="args-list inline commas">
 396            
 397                <li class="arg">
 398                    
 399                        <code>tween</code>
 400                    
 401                </li>
 402            
 403                <li class="arg">
 404                    
 405                        <code>step</code>
 406                    
 407                </li>
 408            
 409                <li class="arg">
 410                    
 411                        <code>value</code>
 412                    
 413                </li>
 414            
 415                <li class="arg">
 416                    
 417                        <code>ratio</code>
 418                    
 419                </li>
 420            
 421                <li class="arg">
 422                    
 423                        <code>end</code>
 424                    
 425                </li>
 426            
 427            </ul><span class="paren">)</span>
 428        </div>
 429    
 430
 431    
 432        <span class="returns-inline">
 433            <span class="type"></span>
 434        </span>
 435    
 436
 437    
 438
 439    
 440
 441    
 442
 443    
 444        <span class="flag static">static</span>
 445    
 446
 447    
 448
 449    
 450
 451    <div class="meta">
 452        
 453            
 454                
 455                <p>
 456                
 457                Defined in
 458                
 459            
 460        
 461        
 462        <a href="../files/easeljs_display_MovieClip.js.html#l744"><code>change:744</code></a>
 463        
 464        </p>
 465
 466
 467        
 468
 469        
 470    </div>
 471
 472    <div class="description">
 473        
 474    </div>
 475
 476    
 477        <div class="params">
 478            <h4>Parameters:</h4>
 479
 480            <ul class="params-list">
 481            
 482                <li class="param">
 483                    
 484                        <code class="param-name">tween</code>
 485                        <span class="type">Tween</span>
 486                    
 487
 488                    
 489
 490                    <div class="param-description">
 491                         
 492                    </div>
 493
 494                    
 495                </li>
 496            
 497                <li class="param">
 498                    
 499                        <code class="param-name">step</code>
 500                        <span class="type">TweenStep</span>
 501                    
 502
 503                    
 504
 505                    <div class="param-description">
 506                         
 507                    </div>
 508
 509                    
 510                </li>
 511            
 512                <li class="param">
 513                    
 514                        <code class="param-name">value</code>
 515                        <span class="type"></span>
 516                    
 517
 518                    
 519
 520                    <div class="param-description">
 521                         
 522                    </div>
 523
 524                    
 525                </li>
 526            
 527                <li class="param">
 528                    
 529                        <code class="param-name">ratio</code>
 530                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Number" class="crosslink external" target="_blank">Number</a></span>
 531                    
 532
 533                    
 534
 535                    <div class="param-description">
 536                         
 537                    </div>
 538
 539                    
 540                </li>
 541            
 542                <li class="param">
 543                    
 544                        <code class="param-name">end</code>
 545                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
 546                    
 547
 548                    
 549
 550                    <div class="param-description">
 551                         
 552                    </div>
 553
 554                    
 555                </li>
 556            
 557            </ul>
 558        </div>
 559    
 560
 561    
 562        <div class="returns">
 563            <h4>Returns:</h4>
 564
 565            <div class="returns-description">
 566                
 567                    
 568                        <span class="type"></span>:
 569                    
 570                
 571            </div>
 572        </div>
 573    
 574
 575    
 576</div>
 577
 578                
 579                    <div id="method_init" class="method item">
 580    <h3 class="name"><code>init</code></h3>
 581
 582    
 583        <div class="args">
 584            <span class="paren">(</span><ul class="args-list inline commas">
 585            
 586                <li class="arg">
 587                    
 588                        <code>tween</code>
 589                    
 590                </li>
 591            
 592                <li class="arg">
 593                    
 594                        <code>prop</code>
 595                    
 596                </li>
 597            
 598                <li class="arg">
 599                    
 600                        <code>value</code>
 601                    
 602                </li>
 603            
 604            </ul><span class="paren">)</span>
 605        </div>
 606    
 607
 608    
 609
 610    
 611
 612    
 613
 614    
 615
 616    
 617        <span class="flag static">static</span>
 618    
 619
 620    
 621
 622    
 623
 624    <div class="meta">
 625        
 626            
 627                
 628                <p>
 629                
 630                Defined in
 631                
 632            
 633        
 634        
 635        <a href="../files/easeljs_display_MovieClip.js.html#l724"><code>init:724</code></a>
 636        
 637        </p>
 638
 639
 640        
 641
 642        
 643    </div>
 644
 645    <div class="description">
 646        
 647    </div>
 648
 649    
 650        <div class="params">
 651            <h4>Parameters:</h4>
 652
 653            <ul class="params-list">
 654            
 655                <li class="param">
 656                    
 657                        <code class="param-name">tween</code>
 658                        <span class="type">Tween</span>
 659                    
 660
 661                    
 662
 663                    <div class="param-description">
 664                         
 665                    </div>
 666
 667                    
 668                </li>
 669            
 670                <li class="param">
 671                    
 672                        <code class="param-name">prop</code>
 673                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
 674                    
 675
 676                    
 677
 678                    <div class="param-description">
 679                         
 680                    </div>
 681
 682                    
 683                </li>
 684            
 685                <li class="param">
 686                    
 687                        <code class="param-name">value</code>
 688                        <span class="type"></span>
 689                    
 690
 691                    
 692
 693                    <div class="param-description">
 694                         
 695                    </div>
 696
 697                    
 698                </li>
 699            
 700            </ul>
 701        </div>
 702    
 703
 704    
 705
 706    
 707</div>
 708
 709                
 710                    <div id="method_install" class="method item">
 711    <h3 class="name"><code>install</code></h3>
 712
 713    
 714        <span class="paren">()</span>
 715    
 716
 717    
 718
 719    
 720
 721    
 722
 723    
 724
 725    
 726        <span class="flag static">static</span>
 727    
 728
 729    
 730
 731    
 732
 733    <div class="meta">
 734        
 735            
 736                
 737                <p>
 738                
 739                Defined in
 740                
 741            
 742        
 743        
 744        <a href="../files/easeljs_display_MovieClip.js.html#l716"><code>install:716</code></a>
 745        
 746        </p>
 747
 748
 749        
 750
 751        
 752    </div>
 753
 754    <div class="description">
 755        
 756    </div>
 757
 758    
 759
 760    
 761
 762    
 763</div>
 764
 765                
 766                    <div id="method_step" class="method item">
 767    <h3 class="name"><code>step</code></h3>
 768
 769    
 770        <div class="args">
 771            <span class="paren">(</span><ul class="args-list inline commas">
 772            
 773                <li class="arg">
 774                    
 775                        <code>tween</code>
 776                    
 777                </li>
 778            
 779                <li class="arg">
 780                    
 781                        <code>step</code>
 782                    
 783                </li>
 784            
 785                <li class="arg">
 786                    
 787                        <code>props</code>
 788                    
 789                </li>
 790            
 791            </ul><span class="paren">)</span>
 792        </div>
 793    
 794
 795    
 796
 797    
 798
 799    
 800
 801    
 802
 803    
 804        <span class="flag static">static</span>
 805    
 806
 807    
 808
 809    
 810
 811    <div class="meta">
 812        
 813            
 814                
 815                <p>
 816                
 817                Defined in
 818                
 819            
 820        
 821        
 822        <a href="../files/easeljs_display_MovieClip.js.html#l735"><code>step:735</code></a>
 823        
 824        </p>
 825
 826
 827        
 828
 829        
 830    </div>
 831
 832    <div class="description">
 833        
 834    </div>
 835
 836    
 837        <div class="params">
 838            <h4>Parameters:</h4>
 839
 840            <ul class="params-list">
 841            
 842                <li class="param">
 843                    
 844                        <code class="param-name">tween</code>
 845                        <span class="type">Tween</span>
 846                    
 847
 848                    
 849
 850                    <div class="param-description">
 851                         
 852                    </div>
 853
 854                    
 855                </li>
 856            
 857                <li class="param">
 858                    
 859                        <code class="param-name">step</code>
 860                        <span class="type">TweenStep</span>
 861                    
 862
 863                    
 864
 865                    <div class="param-description">
 866                         
 867                    </div>
 868
 869                    
 870                </li>
 871            
 872                <li class="param">
 873                    
 874                        <code class="param-name">props</code>
 875                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
 876                    
 877
 878                    
 879
 880                    <div class="param-description">
 881                         
 882                    </div>
 883
 884                    
 885                </li>
 886            
 887            </ul>
 888        </div>
 889    
 890
 891    
 892
 893    
 894</div>
 895
 896                
 897            </div>
 898        
 899
 900        
 901            <div id="properties" class="api-class-tabpanel">
 902                <h2 class="off-left">Properties</h2>
 903
 904                
 905                    <div id="property_ID" class="property item">
 906    <h3 class="name"><code>ID</code></h3>
 907    <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
 908
 909    
 910
 911    
 912
 913    
 914
 915    
 916        <span class="flag static">static</span>
 917    
 918
 919    
 920        <span class="flag readonly">readonly</span>
 921    
 922
 923    <div class="meta">
 924        
 925            
 926                
 927                <p>
 928                
 929                Defined in
 930                
 931            
 932        
 933        
 934        <a href="../files/easeljs_display_MovieClip.js.html#l708"><code>ID:708</code></a>
 935        
 936        </p>
 937
 938        
 939
 940        
 941    </div>
 942
 943    <div class="description">
 944        
 945    </div>
 946
 947    
 948
 949    
 950
 951    
 952</div>
 953
 954                
 955                    <div id="property_priority" class="property item">
 956    <h3 class="name"><code>priority</code></h3>
 957    <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Number" class="crosslink external" target="_blank">Number</a></span>
 958
 959    
 960
 961    
 962
 963    
 964
 965    
 966        <span class="flag static">static</span>
 967    
 968
 969    
 970        <span class="flag readonly">readonly</span>
 971    
 972
 973    <div class="meta">
 974        
 975            
 976                
 977                <p>
 978                
 979                Defined in
 980                
 981            
 982        
 983        
 984        <a href="../files/easeljs_display_MovieClip.js.html#l700"><code>priority:700</code></a>
 985        
 986        </p>
 987
 988        
 989
 990        
 991    </div>
 992
 993    <div class="description">
 994        
 995    </div>
 996
 997    
 998
 999    
1000
1001    
1002</div>
1003
1004                
1005            </div>
1006        
1007
1008        
1009
1010        
1011    </div>
1012</div>
1013
1014                    </div>
1015                </div>
1016            </div>
1017        </div>
1018    </div>
1019</div>
1020<script src="../assets/vendor/prettify/prettify-min.js"></script>
1021<script>prettyPrint();</script>
1022<script src="../assets/js/yui-prettify.js"></script>
1023<script src="../assets/../api.js"></script>
1024<script src="../assets/js/api-filter.js"></script>
1025<script src="../assets/js/api-list.js"></script>
1026<script src="../assets/js/api-search.js"></script>
1027<script src="../assets/js/apidocs.js"></script>
1028</body>
1029</html>