flash on 2010-8-2

by keno42
♥0 | Line 12 | Modified 2010-08-02 09:42:56 | MIT License
play

ActionScript3 source code

/**
 * Copyright keno42 ( http://wonderfl.net/user/keno42 )
 * MIT License ( http://www.opensource.org/licenses/mit-license.php )
 * Downloaded from: http://wonderfl.net/c/fWK8
 */

package {
    import flash.display.Sprite;
    public class FlashTest extends Sprite {
        public function FlashTest() {
            // write as3 code here..
            var url:String = "http://www.example.com/test/";
            if( url.match(/www.example.com\/test/) ){
                this.graphics.lineStyle(0);
                this.graphics.drawCircle(0,0,100);
            }
        }
    }
}