Ask a Question related to Macromedia Flash, Design and Development.
-
Pawel P. #1
filling pie
Hello all,
I want to make a pie chart that would slowly with time (around 50-100
frames) fill with a blue color. What is the best way to do it? Can it be
done with action script? If so what function would be useful for me.
--
Pozdrawiam,
Pawel P.
Pawel P. Guest
-
dropdownlist not filling up?
Hi, I have a dropdownlist that contains should contain several values from the database, I fill it up in de page_load() with this code (at the... -
filling drawings
Ok, maybe I am an idiot, I admit I am new to freehand and am still struggling to learn. But how do I fill in a drawing? I am drawing characters for... -
filling in forms.
Is it possible to scan in a completed form, save as a pdf file and then edit the entries? -
Filling in Forms
Hi, I scanned a general form onto my computer, then converted it to an adobe file. I work at a large company where many people will be utilizing... -
filling an array
Anthony J Segelhorst wrote: Maybe try: /^EXCEL/ and @fields = split for `$lcf_tools/pslist EXCEL`; Also, take a look at Proc::ProcessTable... -
Adam Albright #2
Re: filling pie
On Wed, 18 Aug 2004 22:34:27 +0200, "Pawel P."
<pisiu@[nospam]yahoo.com> wrote:
>Hello all,
>
>I want to make a pie chart that would slowly with time (around 50-100
>frames) fill with a blue color. What is the best way to do it? Can it be
>done with action script? If so what function would be useful for me.
Use beginFill() and endFill() if you want a solid color.
Use beginGradientFill() with endFill() for gradients.
You need to set the values to determine the color you want to use and
either create some object to color or point to one you already have.
[url]http://actionscript-toolbox.com/flashmx_drawingtools.php[/url]
You of course can use Flash to create the pie chart or other shapes
using its built-in trigonometric features.
For those that were asleep in math class, to determine points along a
circle's perimeter you need something like this:
x1 = x0 +(Math.cos(angle) * radius);
y1 = y0 + Math.sin(angle) + radius);
Adam Albright Guest



Reply With Quote

