Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Flash




Saving Colours In Swatches Palette



A very simple answer, i'm sure - but i did a search and i couldn't anything here or at macromedia's site.......anyone know how to do this?



KirupaForum > Flash > Flash 8 (and earlier) > Flash 5
Posted on: 07-18-2003, 03:43 PM


View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread

Saving Gradient Colors In The Color Mixer/Swatches?
hey guys, i basically would love to save some of the gradients im making to reuse them over and over, even if it's simply in the current project im working on?

is there a way to do that?

Inverting Colours Or Replacing Colours
is it possible to use AS to replace a certain colour with a another one?

To explain, I have a large number of fla's with text in them, and most of the text is black, but some of it is multi-coloured. I would like to be able to change the background to black and the black text to white, while keeping the coloured text the same. The fla's are pretty complex, with most of the text in movieClips, so to try and select onlt the black text and make it white is way to complex...plus, I want to give the user the option of either black background white text, or white background black text...

SOO,
as per my original question, is there a replace colour function, or any way of making ONLY the black text white?

thnx
irf2k

Swatches Too BIG
I use a color set of 600 TV-safe colors as my default pallette. New in Flash 8 is the inability to see all of my swatches! If I click on the color square in the main Tool bar or the Color Mixer panel, all I see is the bottom few rows of swatches. Among other problems, this makes it impossible for me to create a gradient from my swatch colors.

The main problem is that when I click the color square, the swatch panel opens upward. The second problem is that the color squares inside the swatch panel are now so big!

Does anyone know a way to:

1) Make the swatch squares inside the swatch panel SMALLER?
2) Un-dock the swatch panel, so I can move it around and see the upper rows of colors?

Swatches
I am reading Creating a Website with Flash 8. I read chapter one and in it mentioned adding colors to swatch. Do those colors only stay with this fla file I'm working on, or are they there for every file I work on?

Thanks,
Nate

Color Swatches
Can anyone tell me how to make or get new color swatches? like different gradients and stuff ?
Thank you !

Color Swatches
u know how in MX, below the color swatch panel there are gradients that u have 'saved' ? how do u get rid of those? i have like 30 that i donteven remember saving!

Color Swatches
I am having to create a demo with the same functionality as the one here: www.autowraps.com

I am having to learn alot for this and was wandering if any of you all could give me a starting point as to how they did the color swatches?

Color Swatches
Is there a PANTONE color swatch library compatible for use with flash MX?
I find myself using flash instead of illustrator for vector graphics and to get pantone color matches i force myself into using illustrator and it's a draaaag...

How To Remove Swatches
I see how to add color swatches from the color panel, but the question is how to you remove them?

Controling Color Swatches Exactly
Hi
Im using the radial fill in the swatch panel.
There are 2 things that bug me.

1. When I select an object already filled one would
expect that the fill would show up in the color mixer panel.
It doesnt. So there's no way to modify the fill already used unless I have saved that particular swatch using save swatch. Grrrrr!

2. I want to position the swatch color markers exactly.
For instance have white at the outside and black 33% in, blue at 66% and then red at the centre. Why this is not simple I dont understand!
Can this be done with action script?

Thanks
Dan V

Colour Swatches In Flash MX - HELP Please
Goodday folks, hope everyone is doing well.

I bought DragSlideFade by Brendan Dawes last year. It seems that eventhough I followed every steps he explaines, I still couldn't get my flash to work smoothly. Maybe it's because that book was written during pre-FlashMX, and I'm using MX now.

So my question is: How do we make colour swatch movie clips to colour other movie clip? I have already made a flash file with 4 colouring area and 2 swatches. But things are not working smoothly.

You can colour the entire 4 blocks with the red swatch (which is the master swacth clip), but things start to screw up when you use the second swatch clip (yellow) and trying to colour the last block.

Here is the script within each block clip:
onClipEvent (load) {
colorObj = new Color(this);
updateAfterEvent();
}

Here is the script within each swatch clip:
onClipEvent (load) {
swatchObj = new Color(this);
thisColor = swatchObj.getRGB();
swatchx = this._x;
swatchy = this._y;
}
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse,_root._ymouse,false)) {
this.swapDepths(_root.topLevel);
this.startDrag();
}
}
onClipEvent (mouseUp) {
this.stopDrag();
theDrop = eval(this._droptarget);
_root.debug = theDrop;
if (theDrop) {
theDrop.colorObj.setRGB(thisColor);
}
this._x = swatchx;
this._y = swatchy;
updateAfterEvent();
}

You can go to my local server and check the Flash file:
http://210.54.174.2/ronin/shirt3.html

Don't you just hate it when you have followed every steps down to a 'T' from a Flash Master, and things don't work properly?
Can anyone kindly help me with this distressing problem. Lots of thanks!

How May I Add Color Swatches To Flash
Thanks for give this one !!!

coolColors.clr

Demo Color Swatches
I am having to create a demo with the same functionality as the one here: www.autowraps.com

I am having to learn alot for this and was wandering if any of you all could give me a starting point as to how they did the color swatches?

[CS3] Modifying The Color Of Swatches?
Hey guys,

I'm testing a few different colors for a website layout at the moment, and i've got everything set to different color swatch values in the swatch pallete. The problem is i don't know how to modify the color of each swatch so that everything automatically updates instead of me going through and manually reselecting the swatch color for each object. This just takes too long as there is quite a lot of objects on the stage...

I know it's quite a basic question but i cant work it out. Any help would be appreciated.

Thanks

How To Make The Image Swatches
Hi
hw to cut the particular part of the image and placed in some movie clip in run time in flash bcoz it's ecommerce one we need to make the sample when the user order that sample. can any one have some idea
regarding this issue....

~~
Sk

Macromedia Color Swatches.
While it's not strict flash related I realy need any information about specifiaction of Macromedias swatches files.
I'd like to export set of colors to swatches, but I don't know how to build this file. :/

- cx

Where Can I Download Color Swatches For Flash ?
If u know any site pls post it ;-) thanksssssss

Importing Photoshop Swatches Into Flash
Hi Chappies

How do you import photoshop swatches into Flash?
When you save photoshop swatches it saves them as .aco files

however flash doesnt seem to understand these files, it prefers .act files.

Can anyone shed any light on this?

Many thanks

Dynamically Creating Color Swatches
So, I have to do this drawing application, and I want to integrate almost as much colors as Flash has, in it's standard swatch picking thingy, i.e 18x12 = 216 swatches. In other words, A LOT of them

The only idea I've come up with is creating an array of colors, but...this requires me to note down 216 different hexa codes and then writing them into an array. I may be lazy, but this sounds really tedious and annoying, really.

Is there a way to work around this hard-coding session? If not, I'd better get moving

Thanks for reading, and Cheers!

Drag And Drop Color Swatches To Target
Hi

I need help please. I am trying to have a row of color swatches that when one of them are dragged onto the target MC that particlar MC assimilates that swatches color. This needs to happen over and over again so that I can keep drtagging new colors over the old colors.
See pic....

Thanks so much.

redstamaster

Image Colorchange While Mouseover On Color Swatches
Hi All,

I need a head start to do a project, where I have to dynamically get the color swatches for each products and when the user hovers the mouse over the swatches I need to show the product per the swatch color. Right now I'm acheiving the same using javascript. Is there any way instead of loading the each time the image from file directory when hover the mouse over the swatch...

thanks

Palette
I'm going to create my new web site and I'am interested in an easy color solution.

I want to make sure I stay with certain colors and I dont want any other colors. Is there a way to make a custom color palette that I can load into flash or something so i dont have to always make sure I'am using the 'base' colors for my website.

Also I want to make sure if there is a way I can restore it back to the original color palette.

Color Palette
HI
I need to know how can I created my own color palette in Flash 5. I cleared the default color palette and I want to add my own color one by one, I got the colors numbers codes and the R G B numbers as well, the palette I want to add was put together by a company, is a web safe color palette and is order by Hue, here is if some one want to use it http://www.lynda.com/hexh.html

Can some one tell me please how can I add the each colors into a new flash palette for my self?

thanks

Alex

Color Palette
(I am using flash 5, but it shouldn't make a difference here).

I'm writing a script that draws a color palette on the screen. It will work similarly to the Photoshop palette: a basic color can be selected by a slider on the right, and there is a box of variations on saturation and luminosity on the left.

I am trying to figure out how to take the basic color and adjust it for saturation and luminosity. How do I take a set of rgb values and do this? Any help is greatly appreciated.

Add More Color To Palette?
Hi, newbie Flasher here. I need to know how to add more colors to my current palette. Preferably, skin tones color.

Here's what I did......

I imported an image and used the eyedropper to copy the flesh color and tried to add it to my palette but can't. Can someone please help me. Thank very much in advance.

A Palette Color
hi everybody
in flash we can select the colour from the palette
can i do the same thing from swf
means :
i make a drawing application and i want to give to the user the possibility to choose the colour from a palette like the one incorporate in flash
any idea
any help will be really appreciate
thank you

Imposing A Palette
Is there any way to impose a palatte on a flash file much like you would load a color profile in an image with photoshop?

Help With Colour Palette
how can i make the colour palette, in order for it to change colour in dot matrix after the user have entered their text message

Color Palette?
Anyone knows a good color palette source? something with a choice of, i don't know, 20 or so colors.. So the user can select the color he wants..
TiA

Color Palette?
Anyone knows a good color palette source? something with a choice of, i don't know, 20 or so colors.. So the user can select the color he wants..
TiA

Colour (color) Palette
is it possible to insert a colour
palette into flash so u don't have
to do all the colours yourself?

-thanks in advance william

Object Off Palette Are Visible
I am making a movie 800x600. I have several objects moving from off screen to the visible screen. Trouble is, they are visible before they hit the pallete when I preview the movie. Ho do I fix this?

Thanks

Interactive Color Palette
:(
i have 216 small buttons on one instance all labeled looking like a colorwheel/

hi
my name is hal
i wrote to this group on how to create a interactive colorwheel or palette.


i had one reply this is it below
Make the colors, buttons and keep them all in the one keyframe. Use mouseover and get the color from the rgb
function.
Convert this to bihex (another function)and have the result output to a dynamic text box. if you need some code let
me know.
i'm still trying to figure this out!!!!!



i have created all the buttons on one instance and they are labeled on each instance and even in the libarary too. [with the
binhex number minus the # sign.]
i'm still trying to figure out actionscripting.
we are going over arrays levels, functions,loops and so on.
this is a lot to take in over 8 weeks.
anyhow i have a slight idea on how to begin the scripting but i have a few problems.

1st the instance doesn't except a number at the beginning of the instance name or a # sign
i would like to have the dynamic text box to read the number and letters of the binhex code starting with a # sign.


so far i have a idea maybe go back and put a letter before each of the names of the instances.
and i think there is a action for binhex but i can't find it.

////////
//the 0 is the hex num
for(i=0;i<217;i++){
button_instance=i+'_btn";
button_instance.onRollover=function(){
binxex=i
};
};
ugh the loop might work but the rest i am clueless-[i have to read more much more]


as you can see i'm a lost bigginer in flashMXand i have enough trouble drawing in flash. but i do like this program and if i
can just get the gist of it i'll stay with it.



so i guess i'm asking for some code so i can move on[and hopefully understand how this works] and make a quizz about
colors that is what i plan on for my final, the color palette is something to jazz up the quizz a lot i hope.
please bare with me and help!!!!!!!!!!!
sincerely
harold pittaway III

Gradient Palette Component
This component falls under the category of "interface enhancement", which is something I've seen very few components offer. Instead of being intended for use in a published swf, the Gradient Palette offers an interface in the authoring environment for developers to design and generate code for gradients that will be drawn at run-time with the drawing API. You just make the gradient in the custom UI, then trace the code to the Output window. When you're done with the component, you can delete it from the stage, though it adds less than 1kb to a published .swf and is invisible upon publishing.

Let me know what you think. I'd love some additional ideas for interface enhancing components as well, if anyone has any ideas.

Gradient Palette

Problem With Color Palette
(using Flash MX 2004)

Well, I want to do this:

Show a color palette (like the one in the Color Mixer), and let the user click on any color he wants... take that color code (#FFAA00 for example) in a variable, and change the filling of an object with that color...

I've got a component that shows me the color palette as I want... here it is:

http://hosting.arnet.com.ar/cgi-bin/...mponents%2emxp

I don't know how to GET that color code, and APPLY it to the vector art...

Anyone has some ideas? I really need this to work out

Maggical

[F8] Dynamic Color Palette
Hi there, basically I have a global variable and when this changes various objects change colour automatically. I use a standard 6-digit hex code for color and use the following code on a button to change the item's color - which works fine:

code: _global.kayak_deck_color = "2851ae";

basically, I need to make a color palette that when a color is clicked on will change the variable to whatever the color is. I figure the best way to do this is to code something to load the colours from a file into some kind of array, and then make something to produce little boxes of each colour, then when clicked/dragged whatever get it to change a global variable to that colour.

Problem is I am not really sure where to start! I am a designer turning coder.. Any help at all would be appreciated.

They are specific colours so I can't just have a standard hsl/rgb swatch.

Would be extremely grateful for any help with this one!

Phil

Also my textfile of colors (which can be reformatted of course) looks like this:


Code:
bcolor="#ccc188"|Green Beige|1000
bcolor="#ceb487"|Beige|1001
bcolor="#d0b173"|Sand Yellow|1002
bcolor="#f2ad00"|Signal Yellow|1003
bcolor="#e4a700"|Golden Yellow|1004
bcolor="#c79600"|Honey Yellow|1005
bcolor="#d99300"|Maize Yellow|1006
..etc

so about 200+ entries like this, we have the hex color entry, the color name, and colour code. help!

ColorPicker Palette Position
Hi,

I have a feeling the fix for this will turn out to be simple but for the life of me I don't see how to do it! Is there a way to get the palette in the ColorPicker component to open to the left rather than right?

Transparency And Image Palette
Hi,

I am newbie to ActionScript, and looking for examples or tutorials on working with Images and Image Palette.
Here's what I am looking for, I have an Image with transparent pixels on the Image and an Image Color Palette with just a pixel in it. I have to apply the Image Palette to the Image to change the color of the image.

Thanks,

Close And Open Palette
Hi,
There are two buttons on top of the other - the mini_btn(red) and the open_btn (blue). When one is off the other one should be on, and vice-versa, so that the user can click on the same button to open and close the palette_mc.
Please advise why this is not working.

Exporting .gif With Custom Palette
Trying to publish an animated .gif with a custom palette but regardless of my settings the finished file reverts to Web 216 colors.

What am I doing wrong?

Palette-Animation / Colorcycling
Hi

I'm following tonypa's excellent tutorial on creating tile-based flash games using actionscript 3.0, and I would like to create the nes style palette animation effects for a remake of the legend of zelda. When Link (our hero), get's damaged, his bitmap get's animated in order to display damage. Here's a video that demonstrates the palette-animation / color cycling effect. Just wait till about 27seconds into the video and watch how the character reacts when damaged.

Legend of Zelda (nes) video
Tonypa's Tile based games tutorial

I would really appreciate a solution that uses actionscript 3.0 and is suited for tiled based games. Thank you very much for reading this post. Any advice or feedback is appreciated.

Thanks
Francis

The Logic Of The Align Palette
How does the align palette decide which objects to change, and which ones to leave the same?

For instance, say I have five rectangles on stage. One is 20x20, the other four are 50x50. I want to use the align palette to match the size of the four 50x50 rectangles down to the 20x20 rectangle. My desired result is five 20x20 rectangles.

How do I make the 20x20 rectangle my 'anchor'? In other words, my 20x20 stays the same and my four 50x50 rectangles shrink down to 20x20.

A Better Hexidecimal Color Palette
i always found it annoying trying to get the colors for backgrounds and such - the color palettes on various sites never have exact the color i want so i end up changing the hexidecimal code over and over again trying to get a better color.

anyway i played some actionscript and made this,

http://www.fakingbrave.com/hexihelper.htm ,

and thought it would be nice to share. the up/down buttons to scroll you through the hexidecimal number (making it user most friendly).

.brookie

Trying To Hurdle Flash 5 Actions Palette>>>HELP
Trying to hurdle Flash 5 actions palette>>>HELP!

I have no problems with the vector mechanicalization and I am already a disciplined layers user, However I am having problems with selecting the proper actions in Flash 5 to get the desired effect.

Here are the deets:

Five button layers: Home, Info, email, gallery, links.
One background layer
Five header layers: Five colored layers of the same image that I want to blend smoothly to the next color when the user clicks on one of the five aforementioned buttons [i.e. from 'home' button (blue header atop the page) the user hits the 'links' button (red header), during the rollover the header gradiates from blue to violet to red. Next the user hits 'email' (yellow header), rollover gradiates from green, to blue, then yellow.] ***Note: the background do not change it's state like the headers, and the buttons only change their state as most all buttons do [i.e.- over, up, down]

Do you get what I am trying to accomplish?

Now this is where I am getting snagged. How do I make action occur on my timeframe. I figure that I could make movies of the color change possibilities that would play when the user selected a certain buttons corresponding color onto another button and it's color. But would this be the best in regards to file size?

Could anyone give me some detailed suggestion to try so that I may expedite this process and get on with the fun stuff?

Thank you,

Sean

Imported Palette And Color Control.
hi !

i would like to ask you, how to use the colors of an imported color palette via actionscript ?
is there an array or something that contains the 256 colors of the used color palette, and how can I use it with actionscript ?

thanxxx in advance,
digiscarpa

Non Visual Components And The Component Palette
Greetings

Flex Builder and AS/3

I have not found a way to place a non-visual component on the component palette. If I derive from canvas or uicomponent it pulls in unneeded overhead, but that is the only way it seems to have a component show up in the custom components node in the component palette. Is there a trick to force a descendant of Validator, Manager or any non-visual base class onto the component palette so properties can be set at design time?

Color Reduction, How Do You Reduce The Palette?
I need to reduce the number of colors of an image at runtime. I believe the paletteMap function is my best bet, but I don't know how to seed it properly, and my search skills have failed me. Does anyone know how to seed the paletteMap arrays to reduce the number of colors to say 16?

Eventually I need to be able to click on two (or more) points on the image, and then reduce the palette so that the colors clicked on become the same. For example, a face is mostly the same color with varying brightness and slight differences in hue. I need to be able to click on a couple of points on a face and reduce it to a single color (or as close as possible).

Changing The Palette Position Of ColorPicker
Is it possible? 'cuz the palette always shows up at random position, and I wanna lock it to a certain place.

I am using Flash CS3.

Primal Scream: Color Palette
Okay, I'm just going to RANT for a second because I can't for the life of me figure out why Adobe hasn't bothered changing the stupid color picker for the document background in Flash. You can't even add a hex color! Come on, Adobe! I expected crap from Macromedia because their UI designs were always flawed, but how come such a basic tool can't be fixed??? You've owned the product for two versions now. Give up some of the "wow" tools to just get some of the basics fixed for a change!

Okay, I'm done screaming. Maybe I need to learn yoga to calm down or something.

Copyright © 2005-08 www.BigResource.com, All rights reserved