i am trying to draw a rectangle, with only three out of four curves. the rectangle has only one straight edge, the top right. by my calculations, the rectangle should be 50 pixels high, and 150 wide. for some reason, this code produces a weird polygon with no curves. any ideas?
function drawBar(xx, yy) { _root.createEmptyMovieClip("bar", 1); with("bar") { beginFill(myMenuColors[0], 100); moveTo(15, 0); lineTo(150, 0); lineTo(150, 35); curveTo(135, 50); lineTo(15, 50); curveTo(0, 35); lineTo(0, 15); curveTo(15, 0); endFill(); _x = xx; _y = yy; } } regards, murderd _______________________________________________ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com