Be a Supporter!

color

  • 264 Views
  • 7 Replies
New Topic Respond to this Topic
kylelyk
kylelyk
  • Member since: May. 15, 2008
  • Offline.
Forum Stats
Member
Level 10
Blank Slate
color 2008-07-28 15:12:52 Reply

hey peoples I have a question. say I had this mc call mymc and I needed to change its color with actionscript. how would I do This?


Kylelyk: Forwards and Backwards, Over and Out.

BBS Signature
CaptinChu
CaptinChu
  • Member since: Sep. 11, 2005
  • Offline.
Forum Stats
Member
Level 15
Blank Slate
Response to color 2008-07-28 15:19:51 Reply

Well, is it a solid color or is it multiple colors?

kylelyk
kylelyk
  • Member since: May. 15, 2008
  • Offline.
Forum Stats
Member
Level 10
Blank Slate
Response to color 2008-07-28 15:23:15 Reply

At 7/28/08 03:19 PM, CaptinChu wrote: Well, is it a solid color or is it multiple colors?

it a circle with a center and a out line. i want to change the center, but not the outline.


Kylelyk: Forwards and Backwards, Over and Out.

BBS Signature
kylelyk
kylelyk
  • Member since: May. 15, 2008
  • Offline.
Forum Stats
Member
Level 10
Blank Slate
Response to color 2008-07-28 15:48:25 Reply

some body? please help?


Kylelyk: Forwards and Backwards, Over and Out.

BBS Signature
Insanimation
Insanimation
  • Member since: Feb. 27, 2008
  • Offline.
Forum Stats
Member
Level 21
Blank Slate
Response to color 2008-07-28 15:52:40 Reply

I'm no AS master, but if you put a new frame on the MC, where the inside is a different colour, and put in a few gotoAndPlay commands somewhere....I'm not sure of the context so I can't help you much....


GOTPENMUSTFLASH!

BBS Signature
zrb
zrb
  • Member since: Aug. 8, 2006
  • Offline.
Forum Stats
Member
Level 11
Blank Slate
Response to color 2008-07-28 15:54:38 Reply

At 7/28/08 03:23 PM, kylelyk wrote: it a circle with a center and a out line. i want to change the center, but not the outline.

Turn the circle into a movie clip and the outline into a seperate movie clip :P
And then to change the circles color put this on the frame:

var myColor:Color = new Color(circleInstanceNameHere);
myColor.setRGB(0x(Hexcode of your color here));

School Sux ! || As :Main || As3: Main || Animation: Main || Flash Tutorials ||

BBS Signature
kylelyk
kylelyk
  • Member since: May. 15, 2008
  • Offline.
Forum Stats
Member
Level 10
Blank Slate
Response to color 2008-07-28 16:01:20 Reply

At 7/28/08 03:52 PM, fish1892 wrote: I'm no AS master, but if you put a new frame on the MC, where the inside is a different colour, and put in a few gotoAndPlay commands somewhere....I'm not sure of the context so I can't help you much....

I think fish's way is easier.


Kylelyk: Forwards and Backwards, Over and Out.

BBS Signature
zrb
zrb
  • Member since: Aug. 8, 2006
  • Offline.
Forum Stats
Member
Level 11
Blank Slate
Response to color 2008-07-28 16:06:19 Reply

At 7/28/08 04:01 PM, kylelyk wrote: I think fish's way is easier.

Sure w/e, do what you think is easy.


School Sux ! || As :Main || As3: Main || Animation: Main || Flash Tutorials ||

BBS Signature