Professional :: Create Document To Change Colour Of Certain Graphics Using Own Colour Palette

Jul 14, 2010

I want to create a flash document that allows me to change the colous of an image using a colour palette of my own. I am a complete beginner and have no idea where to start this, hence i would need to know what to do and how to do it. I basically want the image to be a simple 2d image that i will create using different layers in photoshop and import them into flash, the layer images will all be one colour so the colour of the whole layer changes. so the colour palette will be on the side of this and when i click on an image and then a colour the image changes to the colour i clicked.

View 3 Replies


Similar Posts:


ActionScript 2.0 :: Change All The Elements In Movie That Have The Colour X And Change Their Colour To Y

Jul 24, 2007

I need to change all the elements in my movie that have the color X and change their color to color Y. Is it possible to have this in AS? like, if i press one button all the elements that have the color black (graphic, text, background, etc) change their color to yellow?

View 1 Replies

ActionScript 2.0 :: Change The Colour Of An Object Through And XML Document

Jun 1, 2005

So I was just sitting and fooling a bit around in flash, when I decided to change the colour of an object through and XML document, that ofcause contained the colourcode. So I made a little, very basic, action script, but it doesn't seem to work. When I open the page, the object turns black, so the setRGB works, but because it can't find any of the xml, flash writes 000000, and therefore it turns black. Well, that's what I'm guessing. The point is, it isn't working, and I really don't know why.

[Code]...

View 4 Replies

ActionScript 3.0 :: Use A ComboBox To Select A "colour Palette"?

Nov 14, 2009

I want to use a comboBox from which the user selects a colour theme. When the item is selected, I want it to run a function that will then change various item's attributes. I don't know where to store the new attribute values though. I tried storing them in comboBox item under DATA but that didn't work. I also tried having a function as data which didn't work either.

View 1 Replies

Professional :: Can't Change The Colour To Match The Site Background As 1

Feb 11, 2010

I've created a banner ad (attached) for my company and intended to have it appear as a rectangle with rounded edges (transparent corners). It seems like I need to create a transparent border or mask to have my animated banner appear in this way.
 
Can I add a mask or a border to the whole thing just to make the rounded corners transparent and see the background colour of the site I'm putting it on?
 
Note: the corners are currently white. I can't change the colour to match the site background as 1. the banner will be shown in different places, and 2. the background is a gradient.

View 1 Replies

Professional :: Change The Background Colour Of A Flash Slide-show?

Jun 9, 2010

how to change the background colour of a flash slide-show.  I am trying to post a slide-show on a website, but some of the pictures do not fit the box well and, as a result, there are black bars surround them.  Is there a way that I can change the background colour so that it blends with the background colour of the website?

View 1 Replies

Professional :: Change Colour On Volume Bar When Moving Slider For Video?

Mar 9, 2012

how one goes about changing the colour on the volume bar for playing videos like youtube does as the volume slider is moving. I don't think I need to go into depth using the graphics classes. What I'm looking for are ideas when a user changes the volume while playing a video, say in youtube, while dragging the volume control, the colour of the background bar changes. I've seen lots of help about creating volume bars for videos, but I don't see how to change the volume bar colour as the volume slider is moving.

View 1 Replies

Flash :: Colour Format/Encoding Are These Colour Values In?

Oct 31, 2011

I am parsing colour codes that I get from a Flex(Flash ActionScript) application, then creating HTML div elements with that same colour. My Problem: The colours are all only 8 digits long. So they cant be RGB colour values can they? What color value format are they in? If I can figure the format they are in I can convert them to RGB. Maybe the last/first digit signifies its 0. alpha value?

PS: Should I convert the colours to RGB or something else?

This is an example of the colour code values I getting from the flash application:

View 1 Replies

ActionScript 3.0 :: Retrieve Pixel Colour Of Off Screen Graphics

Jul 5, 2011

I have a sprite which is 125px by 125px. A circle is drawn using the graphics object of this sprite. The circles midpoint is 0,0 of the sprite. When the user clicks the sprite an event is fired. How do I retrieve the colour of the pixel that the user clicked on the sprite?

View 6 Replies

ActionScript 3.0 :: Retrieve Pixel Colour Of Off Screen Graphics?

Jul 5, 2011

I have a sprite which is 125px by 125px.A circle is drawn using the graphics object of this sprite. The circles midpoint is 0,0 of the sprite. When the user clicks the sprite an event is fired. How do I retrieve the colour of the pixel that the user clicked on the sprite?

View 1 Replies

ActionScript 3.0 :: Changing Colour Of A MC With A Colour Picker?

Aug 17, 2009

i have a background and i want to be able to change the colours of it using a colour picker... if the MC was to cover the whole stage... how could i then get a colour picker and make it so it would change to whatever colour i wanted from the colour picker?

View 5 Replies

Change The Colour Of A Mc Called Tab

Nov 13, 2009

I have this code in a function to change the colour of a mc called Tab1. It works fine. But when the mc is tweened it doesn't move. If I don't change it's colour with this function it tweens fine. What have I done wrong?

[Code]...

View 3 Replies

ActionScript 3.0 :: Change The Artboard Colour?

Jul 22, 2007

I'm sure this question has been tackled previously, but is it possible to change the colour of the artboard in CS3 from white, or even get a line around the document?

View 8 Replies

Change Text Colour Onrollover

Oct 6, 2009

The goal is to have a link to a url, that changes colour when you roll the mouse over it. I'd rather it wasn't a btn as there are a lot of links similar and it would be very time consuming to change them all to symbols and stuff. I'm using flash CS4 [AS2]. Currently, I have a dynamic text box on the stage and a link in the link box. ***please see attatched screenshot*** Please can someone send over some AS2 script that I can use to change the colour of the text on mouseover?

View 3 Replies

Change Colour Of Copied Buttons?

Mar 13, 2012

I created an animated button and copied this six times. i would like to chane the colour of each individual button, but when i do this it changes the colours of all the buttons. how can i do this so it changes the individual the colour of a single button.i need to know how to do this as also later i want to apply different sounds to each button.

View 10 Replies

ActionScript 2.0 :: Change Colour Value Using Code?

Feb 10, 2009

I have 2 buttons on the stage that when pressed birth MC onto the stage,these mc are dragable and have a transform manager applyed to each mc when clicked on stage.

I have a color_btn that when clicked will change the colour from default black to white

the problem is finding which instance the button is to change the color value as there can be multiple instances on stage at any one time.[code]...

View 0 Replies

ActionScript 3.0 :: Change Colour Of An Object?

Jan 19, 2010

I have an array newArray=["bird","dog","fish"] and I want to change colour of an object, so I use:

var myColor:ColorTransform = this[newArray[0]].transform.colorTransform;
myColor.color = 0xFF0000;
this[newArray[0]].transform.colorTransform = myColor;

which causes an error. if I change the array to newArray=[bird,dog,fish] without the commas it works

var myColor:ColorTransform = [newArray[0].transform.colorTransform;
myColor.color = 0xFF0000;
newArray[0].transform.colorTransform = myColor;

Why can't it read the string, I don't really want to create a new array without the commas

View 2 Replies

ActionScript 3.0 :: Colour Change Function - Mc In A Mc?

Jun 23, 2010

I've got a function in the class of my game pieces that changes the pieces colour determined on the value given to it when it is created:

new Piece(x, y, type, Colour, angle)

the function is like this:

ActionScript Code:
private function changeColour(newColour:uint) {
var colourTransform:ColorTransform = transform.colorTransform;

[Code]....

How would I go about only changing the colour of one layer within the movieclip? I know it has to be converted to a movieclip but I'm not sure how to do that with the way that my code for changing the colour of the pieces works.

View 0 Replies

ActionScript 2.0 :: How To Change Colour Of Text

Feb 1, 2004

does anyone know how to change the color of the text following the mouse?[code]

View 1 Replies

ActionScript 2.0 :: Change Colour In Animation?

Feb 18, 2003

Currently I've created a file where using actionscript I can change the colours on the screen on the fly. I've hooked it up through a control panel I have added to the screen. The problem I am having is that when I attempt to do this to an animated graphic, the colour changes but the animation sequence then stops at the point I make the request to change colour.

Is there any way to pass the variable over and not have it stop the animation sequence?

View 1 Replies

ActionScript 2.0 :: Button Colour Change?

Nov 6, 2004

I have a simple( i think!!) problem: I have up to 10 buttons that load jpgs to an empty movie clip. What I want is to change the colour of the button you press, so you know what picture you are seeing. And when you press a new one, this one changes colour, and the last one goes back to the first colour state

View 1 Replies

ActionScript 2.0 :: Change Button's Colour?

Jun 29, 2005

I will like to change the colour of my navigation button's when you click them.So when you are in a section that button will be on a different colour (people will know on which sections they are). The buttons are plain text only.

View 1 Replies

ActionScript 2.0 :: Way To Change Colour Of Various Mc's At Same Time

Jan 18, 2006

I would like to know if there's a way to change the color of various mc's at the same time.[code]What I need is that when onRelease change the color of some movie clips in the stage.

View 2 Replies

ActionScript 2.0 :: Change The Colour Of Background?

Feb 22, 2006

I finaly got the code I needed to change the colour of my background but it clearly needs altering. At the moment it works but I have to click the button twice for the colour to change. Now for once I see that this makes sense because I have onRelease twice!

This code is on the button:

on (release) {
home_btn.onRelease = function() {
var myColor:Color = new Color (this._root.background1);
myColor.setRGB(0xFF8844);}

However i'm unsure how to alter the code correctly....I assume the second onRelease needs to change to something else? I tried just: home_btn = function() { but am really just guessing.

View 2 Replies

ActionScript 2.0 :: Change Colour Of Background

Jun 6, 2003

I got this code from Kax. This allows me to change colour of my background. This use to work on my movie but now is just not working anymore!Since i created a button loading a .swf file this has stopped working, Any suggestions anyone?[code]I understand that I have to replace "myMovieClip" with the name of my clip!

View 14 Replies

ActionScript 2.0 :: Way To Change Background Colour

Mar 17, 2007

I'm trying to change background colour

var color:Color = new Color("stage");

color.setRGB(0x000000);

its currently purple, how come it doesn't change

View 5 Replies

ActionScript 3.0 :: Change Colour Of Textfeild?

Oct 9, 2009

again I have this textfield being generated in a loop, so there are many textfields created.I've added a format to the textfield, but on a click I want to change the colour of a specific textfield. I tried adding a new format to the object, but it won't work.

View 1 Replies

ActionScript 2.0 :: Get The Text To Change Colour At The Same Time?

Oct 23, 2009

Does AS3 work well with get the text to change colour at the same time written in AS2?

View 1 Replies

ActionScript 3.0 :: Draw An Asset If Want To Change The Colour Of It?

Dec 15, 2009

If I draw something manually, can I still change the colour by actionscript? I want to draw a cat, and the cat colour depends on the the user choice in the previous 'screen'. How should I go about this?

View 7 Replies

ActionScript 3.0 :: Get The Text To Change Colour At The Same Time/

Feb 22, 2011

I've got a background behind the text that changes colour once the mouse is rolled over. However I'm trying to get the text to change colour at the same time. The text box is slightly smaller than the background box for the time being. When I put my most over the box it changes colou rto red as expected. However, when I roll my mouse over the text box, it turns completely white. This again is expected, but not what I want. This is happening because the text is turning white as its supposed to, and the background is as well when the mouse is taken off. The about text is a button, and its default rollover state is making the background turn white as it rolls over the text layer. Is there some way prioritize the background? What needs to be changed in the code? Also the drop shadow turns off when I put my mouse over them the first time and I m not quite sure why...Here's my AS code:

import fl.transitions.Tween;import fl.transitions.easing.*;about_bg.addEventListener(MouseEvent.MOUSE_OVER, manageMouseOver); about_bg.addEventListener(MouseEvent.MOUSE_OUT, manageMouseOut);[code]....

View 3 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved