package { import flash.display.*; import flash.filters.GlowFilter; public class student_musicpad_Line extends MovieClip { public function student_musicpad_Line() { var lineDrawing:MovieClip = new MovieClip(); with (addChild(lineDrawing) ) { x = y = 50; } lineDrawing.graphics.lineStyle(1, 0x000000, 1 ); lineDrawing.graphics.curveTo(200,0, 100,100); //the first two numbers are your control point for the curve ///Glow Filter var glow:GlowFilter = new GlowFilter(); glow.color = 0x009900; glow.alpha = 1; glow.blurX = 25; glow.blurY = 25; lineDrawing.filters = [glow]; } } }