~~NOTOC~~ ====== Shinefilter ====== ---- dataentry extension ---- author_mail : fabio.acri@gmail.com Fabio description : Shine Filter for Starling 2.1 compatible : v2.1 tags : Shine, Shine Filter, FilterEffect homepage_url : https://gist.github.com/fabioacri81/ee3c2f172cdb4756e2db347edb9b57fa ---- ===== Overview ===== This filter is just a conversion from the ShineFilter extension available as an extension for Starling 1.x. I re adapted for use in Starling 2.1. Add sample source code like this: // Example var shineFlt:ShineFilter = new ShineFilter(); shineFlt.rgbTint = Vector.([1, 1, .7]); _msgTextField.filter = new FilterChain(new GlowFilter(0xFF6600, 0.6, 2), shineFlt); // or single filter _msgTextField.filter = shineFlt; // as per the old extension you can set also position, intensity and rgbTint Example of rgbTint [1,1,.7] and position being animated from 0 to -2.0: {{https://media.giphy.com/media/NlqsSxGLw2FfG2easv/giphy.mp4}} ===== Changelog ===== * //2017/05/19 08:15//: First public version ===== Source Code ===== If you are using [[https://gist.github.com/|Gist]], you can add the source code of your extension easily with the following code. Just replace the number in parenthesis with the Gist ID. [[https://gist.github.com/fabioacri81/ee3c2f172cdb4756e2db347edb9b57fa]] ===== User Comments ===== //Feel free to edit this part of the page if you want to add information that's lacking in the above description.\\ Questions are better asked in the [[http://forum.starling-framework.org|forum]], though.//