Created
October 18, 2018 01:57
-
-
Save xthesaintx/c93ce2ceabdcac5f1f8710aa7829d1de to your computer and use it in GitHub Desktop.
Drop-Shadow Action Script (Global) Animate CC
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Global | |
function newShadow (ob) | |
{ | |
ob.shadow = new createjs.Shadow("rgba(0,0,0,.3)",1,1,10); | |
} | |
//The object needs to be a Symbol -> Movie Clip | |
//It needs to be named on the timeline | |
//Drop shadow will appear when script is implemented on the timeline | |
// | |
//Code for Layer-Keyframe | |
//(this.name) should be replaced with whatever you have named the object, | |
//eg if called "headline" then "newShadow (this.headline);" | |
newShadow (this.name); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment