ActionScript 2.0 :: Controlling A MC's Tint With A User Selectable Pallet?

Dec 10, 2005

In a previous project I gave the user a choice of colours for some main features of a Flash Movie. I did this by first giving them eight boxes which each had a different colour painted into it. On them clicking a box (red for example) every part that would be affected would jump to a frame in it's own movie clip to make it appear red. It was a very simple concept to provide customiasable features for users.

I want to take this one step further by having a colour palet of all colours Like the one below) in which a user can click any part of it and then make a movie clip's tint property change to that variable.

I love a challenge but I just wnated to check I wasn't going the wrong way about it,

View 7 Replies


Similar Posts:


ActionScript 2.0 :: Controlling Motion Through User Input In Flash 8

Apr 14, 2006

How can I make a ball move faster or slower depending on user input values?

View 5 Replies

ActionScript 2.0 :: Controlling Sound - Music Automatically Start When The User Enters The Frame

Sep 15, 2011

So I am a complete novice at actionscript as was evident in my attempts to figure this out on my own. I have the following code to control the "Songs" section of my website and I would like the following features:

1. Not have the music automatically start when the user enters the frame. (I thought this was due to line 3 code but it still played after I deleted that code)

2. Add a "Back" button to go back 1 song.I currently have it set up with the following code on my "Songs" Page:

[Code]....

View 3 Replies

ActionScript 2.0 :: Interactive Coloring Book - Large Blank Box At The Top Of The Color Pallet Isnt Changing Color?

Apr 27, 2009

i have been doing this tutorial http:[url]..but i am stuck on PART 8, i have done everything the tutorial has said so far (although my image and the colors used are different) but the large blank box at the top of the color pallet isnt changing color when i click on any color from the pallet.

Also this tutorial doesnt say what version of flash and actionscript is best suited for this.Currently i am using CS4 & Action Script 2.0 but i don't know if this is correct. below there is a link to the fla. file that Coloring_Book.fla.

View 1 Replies

ActionScript 2.0 :: Use Tint Effect Through It?

May 12, 2003

Is it possible to use the tint effect through action scripting?

View 6 Replies

ActionScript 2.0 :: Get Tint Color From MC?

Sep 18, 2007

I am tinting some MC items in my application using:

Code:
Color.prototype.setTint = function (r, g, b, amount) {
var trans = new Object();

[code]......

View 1 Replies

ActionScript 3.0 :: Color The Tint Of A Movieclip?

May 3, 2007

I am trying to figure out how to color the tint of a movieclip using as3.Using as2 I would do the following :

var clSymbol:Color = new Color(mcSymbol);
clSymbol.setRGB(0xFF0000);

..and the movieclip mcSymbol would turn red.Very easy using as2 but I dont know how to do the same thing using as3.

View 21 Replies

Tint - Movieclip - Change The Color

Aug 6, 2009

I have a movie clip i want to change the color i am trying to do PHP Code:

onClipEvent(load){
_root.Mc._tint = 0xff0000
}

View 1 Replies

Professional :: Tint Part Of An Image?

Apr 20, 2011

I have imported an image into Flash, turned it into a symbol, inserted a frame, then a tween, and can animate the image with tint. It works fine, but the tint is applied to the entire image. What I was hoping to do, is have a sort of 'rolling tint', where the tint starts on the left side of the image, and gradually works it's way over to the right.

View 5 Replies

Getting Error In Component Tint Style

Jul 1, 2011

I am facing an animation error while i applying tint style on component.when i am passing paramenter values in second component by refrencing first component name and then applyng tint style on it but when i compile it, the first component tint syle is working fine but as it comes on second component it get stuck & the second component appears 80% transparent.

View 1 Replies

ActionScript 3.0 :: Applying Tint To MovieClip?

Mar 13, 2010

Applying tint to movieclip is just changing the color transformation of movieclip.

The easiest way is the Color class of fl.motion package.Just make the object of Color class, call setTint function and assign the object to movieClip.transfrom.colorTransform just find the attachment and do yourself. Cheers

visit this following link for more details and example [URL]...

View 2 Replies

ActionScript 2.0 :: Changing Tint On Movieclips?

Apr 4, 2011

I am using the following code to change the alpha value of all movieclips except the rolled over one on rollover...

ActionScript Code:
on (rollOver) {
function allAlphaButOne(thisClip:MovieClip, alphaNum:Number) {
for (o in _root) {

[Code]....

But cant seem to replace the alpha in the first script with running this

View 2 Replies

ActionScript 2.0 :: Change The Tint Of An Object

Jul 20, 2002

I need to know if it's possible, and if so, how, to change the tint of an object using actionscript. For instance, if one was to select a specific button, the actionscript in that button would tell the object, in this case the background, to change its tint.

View 2 Replies

ActionScript 2.0 :: How To Change Tint Of MovieClip

May 12, 2006

This tutorial was very good: [URL]. But is there a way to do this with tint and just as simply (3 little lines)? Because I just want to change the tint of the movieclip, not turn it into an opaque color.

View 1 Replies

ActionScript 2.0 :: Setting A Tint Using ColorTransform?

Jan 15, 2009

I'm using flash 8 professional with AS 2. I'm trying so set a tint using actionscript on a dynamically created mc using the ColorTransform method. I'm trying to set a 50% black tint, similar to the effect one would get when doing it in the properties panel using the Color setting.

My code so far:

Code:
var colorTrans:ColorTransform = new ColorTransform();
colorTrans.blueOffset = -127;
colorTrans.redOffset = -127;
colorTrans.greenOffset = -127;

This is applied elsewhere in my project and is working fine. My problem is that this is pushing up the saturation of the mc's, thus all orange colors appear red etc.

View 7 Replies

IDE :: Changing Tint On Button Event?

Feb 26, 2005

I want to change a movie clip's tint once a button event occurs, and I can't seem to figure it out. I have looked at Kirupa's color changing tutorial but it does not apply to tinting. I found this through a google search but I'm not entirely sure how to use it.

Code:
//tint an object with a color just like Effect panel b between 0 and 255; amount between 0 and 100
Color.prototype.setTint = function (r, g, b, amount) {

[Code]...

View 6 Replies

ActionScript 3.0 :: Preloader Bar Anf Change Color Tint

Aug 13, 2010

I want to make classic loader bar that scales as it loads, but I also wanted to make it change color (tint). I've tried this but it doesn't work. Any sugestions?

[Code]...

View 1 Replies

ActionScript 3.0 :: How To Make MC Width 100 Percent With Tint

Nov 18, 2010

I'm fairly new to flash especially AS3 and I'm trying to make a MC width 100% with the color changing (tint) but I want the rest of my content to remain a fixed size/non scalable and centered. I've seen this tutorial [URL] but don't have a clue where to start.

View 1 Replies

ActionScript 1/2 :: Slider To Control The Tint Of The Movieclip?

Aug 16, 2010

I have a horizontal slider and a movieclip and I need the slider to control the tint of the movieclip.

View 1 Replies

Professional :: Keep A Movieclips Filter/tint Changes After Breaking Apart?

Mar 13, 2012

I'm currently working on combining a bunch of movieclips with variating color schemes that I'd like to condense into a unified pallete. Breaking apart a movieclip reverts the graphics to the original colors but it would be super-helpful if flash repasted the current color settings onto the graphics once its broken apart. Maybe implementing a few of illustrators color palette tools would be great too. If this isn't the proper place, then I apologize but I wanted to pass the info along as an artist who is currently using flash as his primary art development tool right now.

View 5 Replies

ActionScript 2.0 :: Tint Moviceclip / BUT As In Flash Software

Jun 23, 2009

I am trying to have a code-based solution to tint a movieclip.I KNOW there is the way to tint it using colortransform, problemis, ist not the same effect as if I would 100% tint a clip in flash. Meaning I want the effect that, if I 100% tint it, only a monochrome silhouette is left of the clip.

View 0 Replies

ActionScript 2.0 :: On Rollover Change Tint Of Movieclip

Oct 20, 2008

I have a menu that I want to add some actions on so that when the mouse rolls over each button symbol, a large clip that takes up all of the background changes colour. I could do that with a simple rollover this. but that changes the colour in one sudden stroke while what I'm looking for is a gradual pass from tint A to tint B. As an example, If button A is yellow and button B is blue, it should show the pass from green as I switch from button to button.

View 2 Replies

ActionScript 2.0 :: Sliders To Adjust MC / Tint Level?

Oct 19, 2004

I am looking for sliders that let you adjust an MC (or graphic) through the interior hue specturm as well as another slider that will adjust tint level (brightness.)

View 1 Replies

ActionScript 3.0 :: How To Have Dynamic Text Non-selectable

Aug 11, 2010

Is there a way to have Dynamic Text non-selectable and not have a white background? Such as a transparent background?I'm looking to dynamically change text over a coloured background.

View 1 Replies

ActionScript 3.0 :: Stop Selectable From Scrolling?

Jun 18, 2010

I have selectable html text and when highlight the text from top to bottom it scrolls the text.... how do I prevent flash from that doing that

View 0 Replies

Flash 10 :: Keep Format And Text Being Selectable?

Sep 23, 2010

I found if I make the text selectable, the SWF ignores format such as bullet points indention, spacing between paragraphs. How can I keep both?

View 0 Replies

ActionScript 2.0 :: Selectable Program Using Array?

Jun 14, 2004

My program is enable user to choose movie with click on any radio button. Then the movie will store in the array. then the contain in the array will be loaded. Now i would like save the choice of user in a array and after that the program will trace the arrayand load the swf files that choose by user.User can choose as many choice as they want.

My problem is

1. when click, how the swf files save in array

2. there are the "next" button to let user click and proceed to view their next choice.The "nexScene" and "nextFrame' is not i want.I m seeking any opinion.

View 7 Replies

ActionScript 2.0 :: Make An Object Selectable?

Mar 19, 2006

Ive figured out how to make an object selectable with this [code]...

Now that ive done that i want to know how to change the color of a selected object when i click a certain button?

View 5 Replies

ActionScript 2.0 :: Why Are The Dynamic Textfields Selectable

Feb 16, 2007

why are the dynamic textfields selectable? The textfield is inside a movieclip. Once the clips are attached, why can they not act like buttons?

ActionScript Code:
xmlData = new XML();
xmlData.ignoreWhite = true;

[Code].....

View 5 Replies

ActionScript 2.0 :: TextField.selectable Not Working?

Jul 11, 2003

This is a really basic question, and I feel like I'm probably overlooking something extremely obvious.I'm working on a text-based application, and it's important that users aren't able to muck about with certain portions of it. OK, I thought, I'll just set textField.selectable=false right after I've created the text field.

View 2 Replies







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