Ask a Question related to Macromedia Flash, Design and Development.

  1. #1

    Default 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

  2. Similar Questions and Discussions

    1. 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...
    2. 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...
    3. filling in forms.
      Is it possible to scan in a completed form, save as a pdf file and then edit the entries?
    4. 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...
    5. 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...
  3. #2

    Default 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

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139