Flash Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsWeb DesignFlash Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old January 28th, 2004, 10:15 PM
cow1787 cow1787 is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2004
Posts: 11 cow1787 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Question Color Fader

Well, I was working on a game for a while. Then just kind of stopped, but now I'm starting back again. heh. But anyway, I was wondering if anyone has modified or created their own color fader. The one they give you in the Flash Tutorials is good, but I was hoping I could make it easier. In the Flash Fader Tutorial/Sample they make you have an over layer which is transparent (with details of whatever, they used a car), and an under layer which is a solid color. Move the fader and then you apply the color. Simple. But not how I have everything set up. I've got multiple movie clips that I need to change colors of, from that single fader. And also, I don't want to have to make a solid color movie clip and a transparent movie clip of each item I want to change colors of. That's just way too much. A friend of mine told me that all I have to do is make the Items I want to be able to change colors of, as white as possible (with the shades how i want them, but not too dark and not transparent), and in the action script of the color fader, change 255 to -255 and tell it to change on the actual movie clip, and not a solid layer behind it. So instead of changing the solid layer and having it show through the transparent layer, it'd just change the actual movie clip to teh color wanted from the fader. And no details are lost, since it goes to -255 instead of +255. Only problem is...he didn't use the same script as the flash sample, and he wont tell me it. I've edited the script, and it hasn't been working. I was wondering if anyone knows what I'm talking about and has done it, or can try to see if they can do it and tell me. Thanks again, Appreciate it.

Reply With Quote
  #2  
Old January 28th, 2004, 11:39 PM
rynoe's Avatar
rynoe rynoe is offline
_root.troubleMaker
Dev Shed Novice (500 - 999 posts)
 
Join Date: Dec 2003
Location: Florida, USA
Posts: 638 rynoe User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 7 h 8 m 30 sec
Reputation Power: 5
I am not sure of your issue but I made a fla and is that what you are talking about?

Reply With Quote
  #3  
Old January 29th, 2004, 12:05 AM
cow1787 cow1787 is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2004
Posts: 11 cow1787 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Something of the sort, I guess. Let me try and explain a little more. It's an RGB fader. So it's got a seperate fader for red, green, and blue. So you can get different colors, etc.

But also, the MC you have was just a solid color. And if you made each letter fade let's say, from light red to dark red to start off with, then you play the movie and change the colors, the fade goes away, and goes back to a flat solid color.

This is what I'm trying to get out of the color fader. Make a Movie Clip with a square, or anything, that has a gradiant on it. Make it white to grey. Now of the main stage, highlight the MC, go to your properties, and go to Color: Advanced - Settings. Make all the %'s 100. And on the right side, start them all at 0. Now start changing the values down, in the negatives. The red at -255 makes it Cyan. So it takes away the red, and leaves the green and blue. All -255 makes it black. But if you notice when they have color, they keep the gradiants. They don't become solid.

Now is there a way to tell the action script from the rgb faders to when I want it red, it'll make the value R=0, G=-255, B=-255 ??

Because the script I have from the Flash Sample isn't allowing me to do that, and I'm not very knowledgable of action scripting, or else I wouldn't be asking for help. So I was wondering if anyone could help me try and solve this puzzle of mine.

Reply With Quote
  #4  
Old January 29th, 2004, 12:14 AM
rynoe's Avatar
rynoe rynoe is offline
_root.troubleMaker
Dev Shed Novice (500 - 999 posts)
 
Join Date: Dec 2003
Location: Florida, USA
Posts: 638 rynoe User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 7 h 8 m 30 sec
Reputation Power: 5
Post the fla (or something like it) or send it to me and I'll give you some actionscript to do the trick or at least try and do the math. Just don't make me do any graphics!

Last edited by rynoe : January 29th, 2004 at 12:19 AM.

Reply With Quote
  #5  
Old January 29th, 2004, 12:26 AM
cow1787 cow1787 is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2004
Posts: 11 cow1787 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
The Flash color picker can be found in the MX/Samples folder. File name Color_picker.fla

I kind of butchered mine and saved over it by accident.

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignFlash Help > Color Fader


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway