Professional Web Applications Themes

how to achieve this effect (opacity) - Macromedia Flash

Guys (and Gals too, I suppose), I'm trying to figure out how the background effect on this [url]http://www.mix-fx.com/balancedshakecasual.htm[/url] page is acheived. I assume it's just playing with the Alpha of some (somewhat) randomly-moving blue rectangles, but what I'm really stumped by is how the opacity is affected when the rectangles overlap. If alpha for two rectangles is 50% and they overlap, the overlapped alpha is still 50% - but in this effect, it appears to change. I'm assuming there's an easier way than manually computing the overlapped area and drawing that area with a higher alpha. Please make me smarter....

  1. #1

    Default how to achieve this effect (opacity)

    Guys (and Gals too, I suppose), I'm trying to figure out how the background
    effect on this

    [url]http://www.mix-fx.com/balancedshakecasual.htm[/url]

    page is acheived. I assume it's just playing with the Alpha of some
    (somewhat) randomly-moving blue rectangles, but what I'm really stumped by
    is how the opacity is affected when the rectangles overlap. If alpha for
    two rectangles is 50% and they overlap, the overlapped alpha is still 50% -
    but in this effect, it appears to change. I'm assuming there's an easier
    way than manually computing the overlapped area and drawing that area with
    a higher alpha.

    Please make me smarter.
    Anonymoose Guest

  2. #2

    Default Re: how to achieve this effect (opacity)

    If you look closer, there are at least three different alpha settings for
    any given square. They are dynamically created, given a random alpha, and a
    random position. Very simple to do. Two 50% alpha rectangles overlapping
    each other appear more opaque. You can test this for yourself by creating
    two rect movies with the same alpha place them side by side, and then one
    over the other.

    "Anonymoose" <Ihatespam> wrote in message
    news:Xns948090B2276AIhatespam216.196.97.136...
    > Guys (and Gals too, I suppose), I'm trying to figure out how the
    background
    > effect on this
    >
    > [url]http://www.mix-fx.com/balancedshakecasual.htm[/url]
    >
    > page is acheived. I assume it's just playing with the Alpha of some
    > (somewhat) randomly-moving blue rectangles, but what I'm really stumped by
    > is how the opacity is affected when the rectangles overlap. If alpha for
    > two rectangles is 50% and they overlap, the overlapped alpha is still
    50% -
    > but in this effect, it appears to change. I'm assuming there's an easier
    > way than manually computing the overlapped area and drawing that area with
    > a higher alpha.
    >
    > Please make me smarter.

    John D Guest

  3. #3

    Default Re: how to achieve this effect (opacity)

    "John D" <jdanieleckiearthlink.netNOSPAM> wrote in
    news:T7jTb.6130$jH6.4092newsread1.news.atl.earthl ink.net:
    > If you look closer, there are at least three different alpha settings
    > for any given square. They are dynamically created, given a random
    > alpha, and a random position. Very simple to do. Two 50% alpha
    > rectangles overlapping each other appear more opaque. You can test
    > this for yourself by creating two rect movies with the same alpha
    > place them side by side, and then one over the other.
    Yeah I'd found the problem - if you create two simple rectangles on the
    same layer, of less than 100% opacity, and overlap them, the opacity isn't
    ulative in the overlapped parts. But, if you do the same thing to a MC,
    then it is. I was testing it with the first example and was puzzled why it
    wasn't working, until I tried it with MCs instead.

    Thanks.
    Anonymoose Guest

Similar Threads

  1. Best way to achieve this
    By cdoyle in forum Macromedia Dynamic HTML
    Replies: 1
    Last Post: February 8th, 12:51 PM
  2. Could a hacker achieve this?
    By Framework fan in forum ASP.NET Security
    Replies: 3
    Last Post: April 12th, 03:10 PM
  3. how to achieve this?
    By GilesW webforumsuser@macromedia.com in forum Macromedia Flash Sitedesign
    Replies: 2
    Last Post: December 2nd, 03:13 AM
  4. How to achieve this effect
    By Lori Byrne in forum Macromedia Fireworks
    Replies: 1
    Last Post: August 12th, 04:25 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not 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