Oh and to reset an image to its normal color again you apply an new
matrix like this:
var originalColour:Array = [
1,0,0,0,0,
0,1,0,0,0,
You can use a color matrix like this:
// Flash Imports
import flash.filters.ColorMatrixFilter;
var greys:Array = [
0.3086,0.6094,0.082,0,0,
0.3086,0.6094,0.082,0,0,
ok, got it in filters :)
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Hi,
What would you suggest to make an image go from color to black and white ?
thanks.
Laurent
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Just on the look out for a color picker component (the palette kind, not an
eyedropper) that allows me to SET a color to the chooser as well as from.
eg. Send a color to the component and have it update with the color I send.
All I can find is picker components send colors out of the component, b
Hello,
I draw a rectangle with AS2 and I would like to change color of the fill.
Not in one time but in several time as a motion.
Have you got an Idea to ?
Thank you very much
var mcc:MovieClip = this.createEmptyMovieClip("mcc", 5000);
MovieClip.prototype.drawRectangle = function(w, h) {
th
al_mc.onRollOver = function() {
_root.reg.text = "Alsace";
var my_color1:Color = new Color(this._name);
this.defaultColor = this.getRGB();
myValue1 = "0xFFF";
my_color1.setRGB(myValue1);
};
al_mc.onRollOut = function() {
_root.reg.text = "Alsace";
var my_color1:Color = new Color(t
Hello,
I apply a color but I dont know how to suppress the tranform
Have you got an idea ?
Thank you
al_mc.onRollOver = function() {
_root.reg.text = "Alsace";
var my_color1:Color = new Color(this._name);
myValue1 = "0xFFF";
my_color1.setRGB(myValue1);
};
al_mc.onRollOut = f
Thanks Jason,
Your code enabled me to work out exactly what's going on - it only works for
Flash Player 8 or above! If you publish to 7 the bullets won't be coloured.
Perhaps it doesn't work when you run the swf off the desktop because the
standalone player didn't have this update rolled into it
Chuck
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Merrill,
Jason
Sent: Thursday, June 29, 2006 9:54 AM
To: Flashcoders mailing list
Subject: RE: [Flashcoders] color
Also, be sure you are testing the .swf in HTML a browser. If you just
double-click the .s
Also, be sure you are testing the .swf in HTML a browser. If you just
double-click the .swf file on your hard drive, the bullet does not get
colored (not sure why that is the case)
Jason Merrill
Bank of America
Learning & Organization Effectiveness - Technology Solutions
___
>>The css is definitely loaded and the Flash text displays all of the
styling
>>other than the bullets remaining black.
>>
>>Here's my test code so you can verify I'm not missing something.
OK I'll send you a working sample offlist.
Jason Merrill
Bank of America
Learning & Organization Effecti
riginal Message-
>>From: [EMAIL PROTECTED] [mailto:flashcoders-
>>[EMAIL PROTECTED] On Behalf Of Adrian Park
>>Sent: Thursday, June 29, 2006 5:31 AM
>>To: Flashcoders mailing list
>>Subject: Re: [Flashcoders] color
>>
>>OK, this is bugging me now!
>>
>
[EMAIL PROTECTED] [mailto:flashcoders-
>>[EMAIL PROTECTED] On Behalf Of Adrian Park
>>Sent: Thursday, June 29, 2006 5:31 AM
>>To: Flashcoders mailing list
>>Subject: Re: [Flashcoders] color
>>
>>OK, this is bugging me now!
>>
>>Chuck, you suggested using the following w
s!
Jason Merrill
Bank of America
Learning & Organization Effectiveness - Technology Solutions
>>-Original Message-
>>From: [EMAIL PROTECTED] [mailto:flashcoders-
>>[EMAIL PROTECTED] On Behalf Of Lewis, Chuck
>>Sent: Monday, June 26, 2006 11:38 AM
>>To:
OTECTED] [mailto:flashcoders-
>>[EMAIL PROTECTED] On Behalf Of Lewis, Chuck
>>Sent: Monday, June 26, 2006 11:38 AM
>>To: Flashcoders mailing list
>>Subject: RE: [Flashcoders] color
>>
>>I use css in my Flash and changed the color of both and
colors
>>and it wo
k
>>Sent: Monday, June 26, 2006 11:47 AM
>>To: Flashcoders mailing list
>>Subject: RE: [Flashcoders] color
>>
>>Sorry Jason,
>>
>>I thought you were referring to the text. Why not use and then
use
>>an image as the bullet?
>>
>
I dunno... Sorry, I'm guilty of not reading the whole post.
Lee
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Merrill,
Jason
Sent: 26 June 2006 16:51
To: Flashcoders mailing list
Subject: RE: [Flashcoders] color
Thanks - yes, I knew about
Yeah yeah, I know :-P Hey, I'm not the only one convicted of not
reading the whole email ;)
Lee
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Michael
Stuhr
Sent: 26 June 2006 16:48
To: Flashcoders mailing list
Subject: Re: [Flashcoders] color
>>From: [EMAIL PROTECTED] [mailto:flashcoders-
>>[EMAIL PROTECTED] On Behalf Of Lee McColl-Sylvester
>>Sent: Monday, June 26, 2006 11:44 AM
>>To: Flashcoders mailing list
>>Subject: RE: [Flashcoders] color
>>
>>You can do this with CSS... You can even exc
Lee McColl-Sylvester schrieb:
You can do this with CSS... You can even exchange the bullets for
images. CSS is pure power if you know what you're doing.
Check this out.
www.jessett.com/web_sites/css/bullet_graphics.shtml
or more on topic
www.frontpagewebmaster.com/m-195255/tm.htm
be sure to
Sorry Jason,
I thought you were referring to the text. Why not use and then use
an image as the bullet?
-- Chuck
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/li
Oops, I thought you meant in html :S In that case, why not use images
instead?
Lee
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Merrill,
Jason
Sent: 26 June 2006 16:27
To: Flashcoders mailing list
Subject: RE: [Flashcoders] color
Ick. Ok
I use css in my Flash and changed the color of both and colors
and it worked fine.
li {color: #9A9CA6;font-weight: 900;font-family: Arial;font-size:
16px;display: block}
-- Chuck
___
Flashcoders@chattyfig.figleaf.com
To change your subscription optio
Actually, just go here
www.sens.buffalo.edu/assistance/advwebpage/bullets.html
Lee
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Adrian
Park
Sent: 26 June 2006 16:23
To: Flashcoders mailing list
Subject: Re: [Flashcoders] color
Even using a
hread. Sometime you just have to tinker.
Lee
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Adrian
Park
Sent: 26 June 2006 16:23
To: Flashcoders mailing list
Subject: Re: [Flashcoders] color
Even using a stylesheet I have not been able to change the colo
t;[EMAIL PROTECTED] On Behalf Of Adrian Park
>>Sent: Monday, June 26, 2006 11:23 AM
>>To: Flashcoders mailing list
>>Subject: Re: [Flashcoders] color
>>
>>Even using a stylesheet I have not been able to change the colour of
bullets
>>in html text fields. The on
Even using a stylesheet I have not been able to change the colour of bullets
in html text fields. The only way I've been able to do it is to embed the
font, nest the text field in a movie clip and tint it - not nice!
Adrian P
On 6/26/06, Merrill, Jason <[EMAIL PROTECTED]> wrote:
Is there any
Is there any way to change the color of the bullets made with tags
in a Flash HTML text field to another color? Seems the only thing I get
it black even with system fonts set to color. Does it actually require
applying a stylesheet?
Jason Merrill
Bank of America
Learning & Organization Effec
uld improve performance, for what I needed, greatly.
JMyron is another solution but I didn't get near that.
t.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Weyert
de Boer
Sent: Friday, 9 June 2006 3:08 AM
To: Flashcoders mailing list
Subje
--Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Weyert
de Boer
Sent: Friday, 9 June 2006 3:08 AM
To: Flashcoders mailing list
Subject: [Flashcoders] > color tracking w/webcam
Anyone aware of any kind of color tracking for Flahs 8 using the
BitmapData stuff
Anyone aware of any kind of color tracking for Flahs 8 using the
BitmapData stuff? with source is apperciated ;-)
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listi
32 matches
Mail list logo