boze
05-30-2003, 04:58 PM
i'm going to be working with this open-source flash dial-a-knob (http://www.actionscript.org/movies-results.php?searchTerm=dial) to create a small piece for a client only the knob needs to have two needles which shade the region behind them to a certain color.
curveTo doesn't really do circular curves on it's own so i need to take the data from dial-a-knob and make a dynamic pieshaped fill from the needle to the zero point- at the bottom of the dial's face.
any advice on the curveTo / lineTo - specifically how to make the fraction of the circle on the outside of the pie shaped wedge since the other two are straight lines.
i'm thinking something like that updating onClipEvent should be the way to go, but haven't used curveTo before so if there's a handy tute or movie someplace that'd be great.
the only one i found doesn't even make a circle- it's sort of punked and bloated.
curveTo doesn't really do circular curves on it's own so i need to take the data from dial-a-knob and make a dynamic pieshaped fill from the needle to the zero point- at the bottom of the dial's face.
any advice on the curveTo / lineTo - specifically how to make the fraction of the circle on the outside of the pie shaped wedge since the other two are straight lines.
i'm thinking something like that updating onClipEvent should be the way to go, but haven't used curveTo before so if there's a handy tute or movie someplace that'd be great.
the only one i found doesn't even make a circle- it's sort of punked and bloated.