In case Flash no longer exists; a copy of this site is included in the Flashpoint archive's "ultimate" collection.

Dead Code Preservation :: Archived AS3 works from wonderfl.net

Easy Double Open-Face with GlowFilter (GlowFilterで2重簡単袋文字)

Easy Double Open Face with GlowFilter
# you can edit the text.
--------------------------------------------------
GlowFilter で2重簡単袋文字
/**
 * Copyright nitoyon ( http://wonderfl.net/user/nitoyon )
 * MIT License ( http://www.opensource.org/licenses/mit-license.php )
 * Downloaded from: http://wonderfl.net/c/5B8B
 */

// forked from nitoyon's Easy Open-Face with GlowFilter (GlowFilterで簡単袋文字)
// Easy Double Open Face with GlowFilter
// # you can edit the text.
//--------------------------------------------------
// GlowFilter で2重簡単袋文字
package{
import flash.display.*;
import flash.filters.GlowFilter;
import flash.text.*;

[SWF(backgroundColor="#ffffff", width="450", height="80")]
public class EasyOpenFaceWithGlowFilter extends Sprite{
    public function EasyOpenFaceWithGlowFilter(){
        stage.scaleMode = "noScale";

        // initialize canvas.
        var bmp:Bitmap = addChild(new Bitmap()) as Bitmap;

        // Show original text (input)
        var text:TextField = new TextField();
        text.autoSize = "left";
        text.type = "input";
        text.htmlText = <font size="50" color="#ff0000">HELLO WORLD</font>.toXMLString();
        addChild(text);

        // Glow it
        text.filters = [new GlowFilter(0xffffff, 1, 8, 8, 16, 1),
                        new GlowFilter(0x0000ff, 1, 8, 8, 16, 1)
        ];
    }
}
}