This is the full code in this picture
Reverse Engineering directory: Stencyl folder > plaf > haxe > lib > stencyl > 1,00 > com > stencyl > graphics > G.hx
updated page: http://stencyl-nator.blogspot.com/p/code-setting-opacity.html
changes: or you can refer code (preview code).