Effects Flex


    
    xmlns:mx="library://ns.adobe.com/flex/mx" xmlns:s="library://ns.adobe.com/flex/spark">
     
         
        // Embed the .pbj file. 
        [Embed(source="assets/twist.pbj", mimeType="application/octet-stream")] 
        private static var CustomShaderClass:Class; 
        [Bindable] 
        private static var customShaderCode:ByteArray = new CustomShaderClass(); 
      
    

    
        
                    shaderByteCode="{customShaderCode}" target="{btn2}" repeatCount="2"
            repeatBehavior="reverse" />