Flash :: TargetMC And The Signature Child All Change Color?
Feb 15, 2011
I have this project where a user draws dynamically her signature with the mouse on an area and then, on another frame and after the signature is drawn, he can changes the color of the signature by clicking some buttons, each with a different color.I'm using this to capture the signature to another frame:
The Button that triggers the capture event:
//targetMC is an MC to where the signature will be copied
function buttonClick(event:MouseEvent):void{
capture(drawingBoard_mc, _targetMC);[code]........
My problem is the _targetMC and the signature child all change color, and i just want the child/signature..I'm using var myMC:DisplayObject = DisplayObject(_targetMC.getChildByName("signature") as DisplayObject); to access the signature child, but the container mc (_targetMC) also changes color... What i'm i doing wrong?
View 1 Replies
Similar Posts:
Feb 24, 2011
What I am trying to do is to have the button color change to a different color when it is on the page. The color only changes when I roll over it or hit it. Once I am on the page it changes back to the color it is on the up state.
View 1 Replies
Aug 7, 2004
I am using a Listener attached to my movieClipLoader(MCL). I have this code below to try to modify the text in a dynamic textbox that is within the targetMC itself.. but it is not working.
[Code]....
View 1 Replies
Aug 7, 2004
I am using a Listener attached to my movieClipLoader(MCL).
I have this code below to try to modify the text in a dynamic textbox that is within the targetMC itself.. but it is not working.
[Code]....
debug is the dynamic textbox that lies in a container movieclip that consists of the targetMC and itself...
View 1 Replies
Sep 22, 2011
I have a few movie clips that change color when they are rolled over and rolled out of which is great and works correctly but now I have add glows to those buttons to serve as borders or a stroke and when you roll over the buttons the color and the filter color changes.
View 3 Replies
May 20, 2011
I'm trying to change the color of a textBox via xml but i'm stuck with this code:
ActionScript Code:
xmlLoader.addEventListener(Event.COMPLETE, loadXML);
function loadXML(e:Event):void {
xmlData=new XML(e.target.data);
var titleColor:Color=xmlData.appTitle.titleColor.text();
sTitle.textColor = titleColor.toString();
}
View 2 Replies
Apr 21, 2005
How is it done? All I've seen on the web is how to change the color. Well how about going back. I'm talking about a MC with many colors. I can't just change back to a single hexadecimal color.
I can accomplish the change as it passes over a frame, but I can't get it to change back.
In the frame is this:
Code:
cHurtColor = new Color(_root.compMC);
cHurtColor.setRGB(0x00FF33);
View 6 Replies
Oct 8, 2011
How to change the image or a mc color to black and white color?
View 1 Replies
Apr 21, 2005
All I've seen on the web is how to change the color. Well how about going back. I'm talking about a MC with many colors. I can't just change back to a single hexadecimal color.I can accomplish the change as it passes over a frame, but I can't get it to change back.[code]
View 6 Replies
Oct 27, 2009
I am looking for a way to change stroke color via AS3. The objects I would like to change are created with flash professional. They do have a fill. I just want to change the stroke color and not the fill color... is this possible? ... or am I stuck removing all fills and using a filter?
View 1 Replies
Jun 18, 2010
I am building a line drawing movie where I would like the user to be able to change colors using the AdvColorPicker I downloaded from Sephiroth.it.I don't know how to write the code that will change the line color upon picking one from the AdvColorPickerHere is the actionsript for the line drawing:
ActionScript Code:
colors.onMouseDown = function() {
if (1) {
[code]......
View 9 Replies
Nov 17, 2004
I�d like to add something more but don�t know how.I[d like to make the MC to load a random color, in a color range that I specify, like #000000, #FFFFFF and #111111.Also, I want somew buttons to change between this colors, but with an ease transition.
View 1 Replies
May 9, 2008
if its possible to change the setFocus color from black to a different color. Ive seen it on the web some where but i cant remember where??
View 1 Replies
Jan 1, 2011
I saw the following AS3 code in a "Class" which is used for changing the font color. How to modify it to change another font color say, Red, Green or Yellow.
View 3 Replies
Jan 30, 2011
What is the hex signature for a .f4v file?
It is not listed in File Signatures Table nor could I find it in Adobe specs. Or am I misunderstanding something here? The purpose is to verify an uploaded file.
View 1 Replies
Feb 24, 2011
What I am trying to do is to have the button color change to a different color when it is on the page. The color only changes when I roll over it or hit it.Once I am on the page it changes back to the color it is on the up state.[URL] (When you are on the home page the button is red, but when on the about page the home button changes to white to show hierarchy.)
View 4 Replies
Jan 6, 2010
Happy New Year 2010 everyone :) Just getting back into the Flash groove, and having a simple question.I have a movie(video player) where the color of the buttons changes. I've already drawn out the buttons and created a 1 color box(movieClip) that will be the background of all the buttons.
I've used ColorTransform to change the color of a rectangle that I used code to create, but what is the simplest way to go about changing a color in a movieClip containing a graphic that you physically have drawn out. Path to movieClip that I need to change the HEX value of: controls.btn_Sound.colorChip
View 2 Replies
Jan 5, 2011
How to chnage progress bar color to green in the following code.[code]
View 3 Replies
Aug 4, 2010
I want to change the color of the Ruler in FLASH CS4. How can I change it?
View 2 Replies
Jul 27, 2011
[code]In this code i had made one movieclip to copy 10 times in this code what i want means i want to change the color of the cloned movieclips.
View 2 Replies
Mar 5, 2011
Is there a way to change the color of the line numbers in the Actions Panel / .as file on Mac OS X?
i see the Windows version of Flash CS5 has this ability, or is colored blue/cyan by default (see screenshot) while the Mac version is gray.
View 1 Replies
Jan 15, 2010
How can I change the select ("highlight") color of an TextField in actionscript 3? I've got an input textfield with white text on a black backdrop and as a result, selections are invisible, which is horrible for usability.
View 2 Replies
May 12, 2010
How can I change color of text on certain words?My animation plays the text animation of THIS SALE IS RED HOT!!! I want RED HOT it to be red. It seems the array can be indexed in such a way to switch the color from Blue to Red.MY BANNER ADD
var myArray:Array = ["THIS","SALE","IS","RED HOT!!!",];
var tm:Timer = new Timer(500);
tm.addEventListener(TimerEvent.TIMER, countdown);[code]....
View 1 Replies
Aug 7, 2010
I am using pure AS3 to build my project. I was wondering if there are anyways to change the stage background color through AS3...
View 5 Replies
Nov 9, 2010
Is it possible to change the stage's background through actionscript?
View 4 Replies
Dec 20, 2010
if this question is kind of newbie I'm really new with flash but I'm using this dice on my site [URL].. and I managed to chage the color but I was wondering if it was possible to change the dots color to white as well?
View 1 Replies
Mar 25, 2009
I have this code that should change the color of a dynamic textfield when I rollover the link movieclip, and then back when I rollout. I get no compiler error, it just doesn't work.
function textColor(mc_function:MovieClip, tf_text:TextField) {
mc_function.onRollOver = function() {
tf_text.textColor = 0x7cb0b7;
[code].....
View 1 Replies
Jan 19, 2012
I have a normal rectangle shape in flash. Id like to change the fill color of it using code, so I can use flashvars and be able to change the color of the shape with a few HTML adjustments.All I need to know is how to change the fill color of the shape. I've got the flashvars sorted.
View 1 Replies
Jan 27, 2012
I have 2 instances of a button wich is red and has a white label I have to edit the buttons so one button is red, and the other is green I was doing this, but when applied Also the title of label goes green instead of being white...
[Code]....
View 1 Replies
Mar 9, 2011
Is it possible to change the color of one layer in the timeline?I would like to do this to create a kind-of separator...
View 0 Replies