Hi,
no i dont think its the same. Reading your story it sounds like every piece
has a set of neighbours, with a maximum of fours neighbours.
Taking your example:
Initially each piece group property is an empty array, but for a group
something like:
A B C
D
a.group = [a,b,c,d] and b.group =
to go from a 24 bit number to 3x8 bit colour components you can just shift it
and mask the bits you need :
var r=color 16 0xFF
var g=color 8 0xFF
var b=color 0xFF
that should do the job.
James Deakin wrote:
Hi Guys,
I'm having some problems with getting the brightness of a color
Hi,
you can also stop advertising/spamming :).
greetz
Hans
ps or make it open source, that'd be even better:))
On 7/28/06, master [EMAIL PROTECTED] wrote:
Hi,
You can try Moyea Flash to Video Converter at
http://www.flash-video-mx.com/flash_to_video_web/
master
2006-07-28
Hi all,
Just thought I'd post up saying I solved the problem for anyone searching the
archives.
I was using onLoadInit to make the image fade in once it was loaded.
For some reason, when using onLoadInit the whole loadClip called just doesn't
get called at all for crossdomain images.
When i
So the newMC will automatically know to get the next highest depth? And if
that is true how about swapping depths with other mcs?
...helmut
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Meinte van't
Kruis
Sent: Tuesday, July 25, 2006 10:18 AM
To:
On Jul 28, 2006, at 6:59 PM, Dave Watts wrote:
This is not the appropriate place to ask this question. I don't
know where
the appropriate place would be, but I do know it's not here.
However, Steven's was fair. (and pretty funny.)
--
Troy
RPSystems, Ltd.
http://www.rpsystems.net
On Jul 29, 2006, at 12:36 PM, Troy Rollins wrote:
However, Steven's was fair. (and pretty funny.)
It would not have been fair if he hadn't specified the need for
lasers, of course. Such a fine line... ;-)
--
Troy
RPSystems, Ltd.
http://www.rpsystems.net
http://as3.betaruce.com/tut/tut_2/tut_2.html
On 7/29/06, Helmut Granda [EMAIL PROTECTED] wrote:
So the newMC will automatically know to get the next highest depth? And if
that is true how about swapping depths with other mcs?
...helmut
-Original Message-
From: [EMAIL PROTECTED]
Thanks very much for your response Martin but I don't understand it. I don't
have three vars called R G and B. I just have a number which was retuned
from getPixel. Am I being stupid? I can't see how I should do what you
sugest. Pease explain a little further.
James
On 7/29/06, Martin Wood
Thanks very much for your response Martin but I don't understand it. I
don't
have three vars called R G and B. I just have a number which was retuned
from getPixel. Am I being stupid? I can't see how I should do what you
sugest. Pease explain a little further.
That number you're getting is a
You seem to be thinking of numbers as if they are stored like strings.
They aren't.
RGB colors are stored as 3-byte (24-bit) numbers.
For example, red looks like this in binary:
b
...which is the same thing as this in hexadecimal:
0xFF
... which is the
Small correction.
This:
This compares each bit in the first number to each bit in the
second
number. If both bits are 1 (on), that bit is 1 (on) in the result. If
both bits are 0 (off), both bits are 0 (off) in the result. So the
result is:
...should be:
This compares each bit in the
12 matches
Mail list logo