ActionScript 2.0 :: How To Set The Mc Colour

Jun 18, 2009

Below I have set up a movieclip and now I want to set the colour

Code:
this.attachMovie("bgimg","bgimg_mc",this.getNextHighestDepth());
bgimg_mc._x = 10;
bgimg_mc._y = 96;

I dont want to tween the colour just set it something like Code: bgimg_mc._colour = #ffffff I know that's not how to do it but you get what I mean from that.

View 8 Replies


Similar Posts:


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

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 :: 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

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 3.0 :: Can Set Colour Of Stage

May 5, 2009

i have a few rectangles and text fields that i have in my library but i exported them through actionscript. All i want to know id how do i set the rectangle behind the text fields.And i also want to know how i can set the colour of the stage

View 3 Replies

ActionScript 3.0 :: Only Happens With The Colour White?

Jan 21, 2010

Why does this not work?

Code:
package
{

[code]......

View 3 Replies

ActionScript 2.0 :: Colour Shift In Swf?

Jun 21, 2010

I have a psd that is to be the background of a flash site that i'm working on. I've tried every combination of exporting from photoshop and flash but the end result (in the browser) is always significantly brighter.Does anyone know what the best prossess for keeping the colour of imported raster content accurate in swf while keeping the size moderate?

View 1 Replies

Get Different Colour Flash Skins?

Jul 28, 2009

Currently I skin videos with Steel External no volume. However my client wants a lighter grey, not as light as Mojhave but lighter than steel. I wonder if anyone knows if I can get other coloured flash skins (just the basic ones) from anywhere. Im happy to purchase but all I can find are fancy skins rather than just more variety of the standard skins.

View 1 Replies

Colour With 16 And 32 Bit Settings In Windows

Sep 7, 2009

I'm having a problem I haven't seen before with a Flash application I'm working on. I have attached two images of a part of the screen: one is taken with 16 bit color setting and the other with 32 bits. The texts are standard dynamic text fields.when i view the app at 32 bits all colors seem to be OK, but when I set it at 16 the textboxes seem to have a different background color, even though it's set to transparent!

View 1 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 2.0 :: Get Colour Of Pixel In Mc?

Jul 14, 2009

I want to take the colour of a certain pixel in a movieclip and make the colour of another movieclip that colour. How do I do that?

View 1 Replies

ActionScript 2.0 :: Is There A Way Of Tweening Colour

Apr 15, 2007

Is there a way of tweening colour using actionscript. Like you would using an alpha fade but using color instead.Say I have a button that once pushed it turns a square from orange to blue, but gradually fading.

View 3 Replies

IDE :: Get The Colour To Stay Red When It's Clicked?

Nov 21, 2009

I have buttons with black text. The buttons (not the text) change colour to red when you rollover them. I can't seem to work out how to get the colour to stay red when it's clicked. Do I make a duplicate symbol which is already red to replace it when clicked? And I'm also unsure of the actions I'm supposed to use if any??

View 1 Replies

ActionScript 2.0 :: Colour Shift In Swf

Jun 21, 2010

I have a psd that is to be the background of a flash site that i'm working on. I've tried every combination of exporting from photoshop and flash but the end result (in the browser) is always significantly brighter. Does anyone know what the best prossess for keeping the colour of imported raster content accurate in swf while keeping the size moderate

View 1 Replies

ActionScript 2.0 :: Changing The Colour Of A MC?

Nov 21, 2002

I am trying to automatically change the colour of an MC when it comes into play and am having a few problem. I used the code I found in the Flash AS Help, but it's not working.

Here's what I used:

myColor = new Color(rollover);
myColor = setRGB(0x993366);

Rollover is the instance of the MC I want to target.

View 14 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

Button Colour To Show It's Selected?

Nov 21, 2009

I have buttons with black text. The buttons (not the text) change colour to red when you rollover them. I can't seem to work out how to get the colour to stay red when it's clicked to show that it's selected. Do I make a duplicate symbol which is already red to replace it when clicked? And I'm also unsure of the actions I'm supposed to use if any??Another thing, when I click on a different button, I don't want the previous button to still be selected.

View 1 Replies

ActionScript 3.0 :: CS4 - Colour Fill For On Clicking?

Mar 13, 2010

CS4 - Colour fill for on clicking?

View 2 Replies

ActionScript 2.0 :: Fade Mc Colour Onclick

Jul 6, 2010

what i am trying to do is add some script to buttons within a movie that will fade/tween the background movieclip to a predefined (not random) colour.does anyone know of any resource/posts/tuts to do this?so the user clicks a button and the main bg mc goes from say, yellow to orange with a faded transition?

View 2 Replies

ActionScript 2.0 :: CS3 LevTextSpace Random Colour

Sep 21, 2010

I'm currently adapting the flash file "levTextSpace" from [URL]. Everythings working fine except for one teensy weensy little problemette. I want to be able to assign a random colour to each word as it appears on stage. The generic code I have for this is:

var myColor = Math.round(Math.random()*0xFFFFFF);
myRdmColor = new Color ("target");
myRdnColor.setRGB(myColor);

"target" being the name of a movieclip. I'm assuming I need to apply this to each instance as it's created but anything I try either doesn't work at all or crashes. I'm completely stuck, I'm sure it can't be that difficult but after several days ny head hurts.

View 2 Replies

CS3 Variable To Line Colour Conundrum?

Mar 8, 2011

He doesn't do much, just an integer what adopts a value between 0-100. I also have a line drawing function. He does lots of things and draws lots of pretty lines. All in just one colour mind.I'd like to be able to change that colour based upon the value of 'n', but I don't know how to convert this integer into the 0x000000-0xFFFFFF format used by linestyle. I can scale and convert 0-100 into a hex string but I'm stumped at how to prepend 0x to the string and how to use this within linestyle...Here's what I have so far....

//rgb = n*16777215/100;
//hex = rgb.toString(16);
//mcImage.lineStyle(1, 0x000000, 100, true, "normal", "none");

[code].....

View 2 Replies

ActionScript 2.0 :: Retrieving R, G And B Values From Colour?

Mar 28, 2011

I have a game, in which the player can open maps to edit them. The maps each have their own colour. The player assigns a colour to the map by using sliders (R, G, B)
This all works fine.

However, I also need a way to put those sliders back in place when re-opening an existing map. This means that I need to know what the percentages of R, G and B are in a colour. I made flash trace a few of those colours, this is the output:

16646398
0
16646144
65024
58878

I need to know the amounts of R, G and B in any colour.

View 6 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 3.0 :: Using A Colour Multiplier On Images?

Feb 24, 2009

I have lots of images and i need to put a pinkish colour filter on them....The problem i'm having is i can put a layer of 50% alpha pink infront of the image but then it's much lighter than i want as it's half transparent. So I'd like to do a kind of photoshop multiplier effect where i merge the pink with the image.Is there a way to do this in as3?

I've seen merge, using bitmapData but i can't work out how to get it relate an loaded in image. Also i've seen the blendmode on movieclips but i can't seem to get anywhere with that.

View 4 Replies

ActionScript 3.0 :: Changing The Colour Of An Image?

Dec 10, 2008

I have a client that has a series of products that come indifferent colours and different textures. What I need to do is havepicture of the product. When the user runs a mouse over the colourpalette the product changes it's colour to represent the chose madeby the customer fro the various choose in a colour palette. FordCanada does this when I pick the colour of my car. I can run overred and the car will change colour to red.

View 3 Replies

ActionScript 3.0 :: Changing The Colour Of MovieClip?

Feb 9, 2010

Basically, I want to change the colour of a component in my fla file that is called 'EDL Arrow' using Actionscript
 
'EDL Arrow' is a Movieclip and is part of another movileclip called 'EDLClipDisplay' - which exports to my actionscript file: 'Export: CIS.FLVPlayer.EDLClipDisplay'
 
How can I change the colour of the component 'EDL Arrow' from the actionscript file 'EDLClipDisplay'
 
I understand how to do colorTransforms but I just don't understand how to connect this component 'EDL Arrow' with my Actionscript file.

View 1 Replies

Professional :: Colour Changing Upon Export?

Jul 27, 2010

I'm working on a game at the moment, and I'm running into a problem. I was testing the vector files that I export of the art I made, and upon re-importation to flash the colours have changed significantly. Then, when the game is running in a browser, it looks different again. It even looks different between different browsers.

View 2 Replies

Professional :: How To Get Accurate Red Colour Compression

Oct 25, 2010

Any troubles when compressing red colours to .swf? I always have a kind of blur in edges, like dirty compression.

View 1 Replies







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