Skip to content

leonskywalker/flash-reflection-filter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Flash Reflection Filter

Add reflection effect in your flash project in no-sweat way!

Usage:

filter = new ReflectionFilter(image.height, 50, 0.5, 3);
image.filters = [filter];

Prameters:

  • imageHeight the height of the original image(we need this because pixelbender kernels cannot get the info of the image)
  • reflectionHeight the height of the reflection
  • reflectionAlpha the alpha value at the begin of the reflection
  • reflectionOffset the gap between the image and the reflection

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published