Load Swf Coloring Book Problems
I made a flash coloring book. I want add the pages with a loadMovie into an empty mc.empty.loadMovie("horse.swf");The rollover effects work but the coloring part does not. Here is the code for one of the coloring mc's.on(release) { _root.hue = 0x666666; colorselected = new Color (_root.selected) ; colorselected.setRGB(_root.hue) ; } now here is the code for the part I want to be colored which is in the loadedmovie.on(release) { fillshade = new Color (_root.horsebody) ; fillshade.setRGB(_root.hue) ; gotoAndPlay(1);}the gotoandplay part plays a sound and it works but the coloring part does not. Any suggestions? thanks
Adobe > ActionScript 1 and 2
Posted on: 03/01/2007 03:18:01 PM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Coloring Book
Ok can flash be used so that the end user has a very primative way of drawing freehand. Simple lines and fills.
Coloring Book
How do I mkae a coloring book (interactive)? Please help.
Coloring Book
I downloaded the super drawing board fla from http://www.flashkit.com/movies/Scrip...7252/index.php and it's great but I would like to add a "flood fill" and "load background picture" options to it so could anyone give me some help on how I would do that...
Thanks for any replies in advance
Coloring Book Help
Hi,
I am working on a touchscreen coloring book. I already know how to make it where you can select a color and apply it to an area of the picture. The client just asked if I could make it so when the kid is done coloring, they can hit a button and email what they colored to an email address.
I am not really sure how to accompolish this, maybe some sort of actionscript that takes a screenshot and emails it?
I am looking forward to hearing from you guys.
Thanks,
---
Casey Davis
casey@caseydavis.org
http://www.caseydavis.org/
Coloring Book
Can anybody help me figure out how to make an online coloring book? I am new to Flash, and still have a whole lot to learn, but I am a fast learner...
here's what I have so far on the objects I have been messing around with:
actions for red_btn:
ActionScript Code:
on (release)
{
var colorful = new Color ("currentcolor")
colorful.setRGB(0xFF0000)
fillColor = 0xFF0000
}
actions for blue_btn:
ActionScript Code:
on (release)
{
var colorful = new Color ("currentcolor")
colorful.setRGB(0x0000FF)
fillColor = 0x0000FF
}
the problem is that no matter which button I push the object "currentcolor" turns red...I'm sure that this is probably pretty simple to fix, but I would appreciate any help.
Coloring Book
I had an idea about making an interactive coloring book online, I was wondering if there were any good tutorials or leads any of you out there might have? I figure its a basic principle that could become a large scale application, but I am not exactly sure where to start.
I have the areas ready to be colored and the colors to choose from, but I am not exactly sure of the script to make those colors react to the area that is touched.
I figure it would deal with if and then statements but I haven't found anything helpful, or I am on the wrong path. Any help would be great
Please Help With Simple Coloring Book.
Hi all. I've been struggling on a coloring book for 2 days now. I've searched everywhere, and found some nifty examples, but they're more complicated than I need them to be and the code is way over my head.
Basically, I have this in the 1st frame:
myColor = new Color (_root.test);
and this in the color buttons:
myColor.setRGB(0xFFFF00);
I can get it to change the color of "test" mc by clicking on any color button. So far so good.
I'd like to be able to click on a color btn, use something like "getRGB" to color-pick it, then click on an area of a b/w drawing (buttons) and apply that color. I've tried the getRGB object, with no success.
Any help will be greatly appreciated. Thanks.
- artbum
Flash Coloring Book Q's
I'm fairly versed, (but not by much) in actionscripting but i need help. I've looked at countless flash coloring books around the net and have only seen ones where you can fill-shape with color. What i'm trying to do is create a coloring book where the user can actually paint in the color. here's the format i'm going for:
http://www.randomstupidity.com/coloringbooktest.html
I don't know where to go from here so i was wondering what you guys thought would be a good 'game-plan' or general way that i could do this. any help at all is appreciated. thanks!
Coloring Book Problems - Again
okay, this code is really flexible, but with one exception. i need for the user to only be able to color in a certain area. Also, i need a button that will reset the page. any ideas? i was thinking along the lines of creating a separate swf and importing it on top so that there are two layers. if you have any ideas, let me know. the swf i've made is located: here
and here's some actionscripting, some of which (the reset function) obviously doesn't work.
function updateCursor() {
setproperty ("_level0.cursor", _x, _xmouse);
setproperty ("_level0.cursor", _y, _ymouse);
updateAfterEvent();
}
function reset() {
_root.stage.clear();
};
col = 0x00FF00;
thick = 5;
onMouseDown = function () {
paint = true;
moveTo(_xmouse, _ymouse);
};
onMouseMove = function () {
if (paint) {
lineStyle(thick, col, 100);
lineTo(_xmouse, _ymouse);
}
};
onMouseUp = function () {
paint = false;
};
blueButton.onPress = function() {
col = 0x0000FF;
};
darkblue.onPress = function() {
col = 0x332ccd;
};
greenButton.onPress = function() {
col = 0x00FF00;
};
redButton.onPress = function() {
col = 0xFF0000;
};
red1Button.onPress = function() {
col = 0xCC0000;
};
brownish.onPress = function() {
col = 0xCC6600;
};
blackButton.onPress = function() {
col = 0x000000;
};
yellowButton.onPress = function() {
col = 0xFFFF00;
};
lightyellow.onPress = function() {
col = 0xFFFF99;
};
darkyellow.onPress = function() {
col = 0xDFDF00;
};
darkyellow1.onPress = function() {
col = 0xC7C618;
};
brushsize5.onPress = function() {
thick = 5;
};
brushsize10.onPress = function() {
thick = 10;
};
brushsize20.onPress = function() {
thick = 20;
};
brushsize40.onPress = function() {
thick = 40;
};
reset.onpress = reset();
Coloring Book Query
I am creating a flash version of a kids colouring book. I have created a simple character and broken the body parts down into individual movie clips. I have also created three colorus that the user can click on. When they click on one of the colours the paintbrush changes to that colour and then in turn when they click on a part of the character it is filled with their chosen colour. This all works fine but I would like to create more detailed pictures to be coloured in. At the moment I have the code as shown here where a function called paintanything is declared with a parameter of theclip. This function is then called using an OnEnterFrame. At them moment I am having to manually declare the movie clip that I want to be coloured in. Is there a way to check which movie clip is currently being rolled over by the mouse so that I can feed this name into the function?
Basically I want to do something that says
theclip = whatever is currently being clicked on or rolled over
function paintanything (theclip) {
theclip.onRelease = function () {
var paintbrush:Color= new Color(theclip)
paintbrush.setRGB(_root.myColor.getRGB())
}
}
onEnterFrame = function () {
paintanything (bobface_mc)
};
[CS3] AS2 Coloring Book Project
I'm working on a coloring book Flash file using AS2. I have attached the file. The file works correctly as it is now, but I was hoping someone could suggest a way to shorten the coding for the "fill triangles yourself" movie clips. The coding so far is below. I want to do something like the "fill all triangles" where the value of "i" is set in the actionscipt code for the "fill all triangles yourself" movie clips. I was thinking maybe something like a function called trino that could fill in successive numbers somehow. I would like to apply the actionscript to a much larger project with over 50 triangles, so hope someone can suggest a way to cut back on the amount of coding. I don't have a lot of experience with actionscript, so any help would be appreciated.
PHP Code:
F=0;
//////////////////////////////////Fill all triangles white as starting point
tileBG = function () {
for(i=0;i<=5;i++){
tile_width = 34;
tile_height = 34;
//
x_max = Math.round(340/tile_width);
y_max = Math.round(170/tile_height);
for (x=0; x<=x_max; x++) {
for (y=0; y<=y_max; y++) {
bg = _root["Tri"+i]["container"+i].attachMovie("white", "bg"+x+y, _root["Tri"+i]["container"+i].getNextHighestDepth());
bg._x = tile_width*x;
bg._y = tile_height*y;
}
}
}
};
tileBG();
//////////////////////////////////////Fill Triangles Yourself buttons
tileBG = function (trino) {
tile_width = 34;
tile_height = 34;
//
x_max = Math.round(340/tile_width);
y_max = Math.round(170/tile_height);
for (x=0; x<=x_max; x++) {
for (y=0; y<=y_max; y++) {
if (F==1){
bg = _root["Tri"+trino]["container"+trino].attachMovie("red", "bg"+x+y, _root["Tri"+trino]["container"+trino].getNextHighestDepth());
}
if (F==10){
bg = _root["Tri"+trino]["container"+trino].attachMovie("square4", "bg"+x+y, _root["Tri"+trino]["container"+trino].getNextHighestDepth());
}
bg._x = tile_width*x;
bg._y = tile_height*y;
}
}
};
Tri1.onRelease = function() {
tileBG(1);
}
Tri2.onRelease = function() {
tileBG(2);
}
Tri3.onRelease = function() {
tileBG(3);
}
Tri4.onRelease = function() {
tileBG(4);
}
Tri5.onRelease = function() {
tileBG(5);
}
tileBG(trino);
Coloring Book Tutorial
With regards to the Coloring Book tutorial on this site, I would like to know.
Is there a way that once the user has colored in the picture they can email the picture to someone with the color values in the email?
Click Coloring Book
I'm looking for a tutorial to do a coloring book without swatches. there will be no picker, you just click on a color to cycle through the available colors. anyone seen anything like this? it should be quite simple but i'm having trouble with it.
thanks
Enhancing The 'coloring Book'
Hi there!
I succesfully managed to complete the tutorial on how to make a coloring book with Flash 8 (or its predecessors).
(http://www.kirupa.com/developer/mx2004/coloringbook.htm)
I mofified it to suit on of my previously created characters, in order for the main parts to be filled in.
There is just one other feature i would like to add to this application. I would like to implement a button which has the capibility of resetting the character, in order for the new colors to be cancelled out, and for the initial colors to be shown.
If you wish to take a peek at the file i'm working with, i have managed to attach a copy, which can be accessed below.
I will be very grateful for any help in order to address this issue.
Many thanx,
Stroodle
Coloring Book Game
Would be most grateful if anyone could help with this.
I am trying to create an effect for a game where the cursor takes the form of a paintbrush with different colors when clicked on different coloured paintpots (have started with this for two colours red and blue tho this could also probably be done better).
Then when clicked on the coloring book area, the colour will be applied to the area clicked on ie red brush makes it red, blue brush makes it blue, etc.
Not very wise in the ways of actionscript so can anyone advise?
The fla is attached.
Coloring Book Tutorial
With regards to the Coloring Book tutorial on this site, I would like to know.
Is there a way that once the user has colored in the picture they can email the picture to someone with the color values in the email?
A Director Coloring Book
im not really sure how to go about this one, about how to lay down the color on an image rather. i got everything else set up i guess, a coloring page, custom cursor, crayons to pick from. its just that last part of actually deciding where color needs to be put that i cant figure out.
anyone with ideas on how to go about this would be a really big help!!
Want To Make Flash Coloring Book - Please Help
does anyone know how to change the color of a shape by clicking on it?
i want to make an online coloring book.
i traced a line-art picture and made all the "coloring areas" into buttons... however, i don't know how to make it so clicking on a "crayon" will set a color, then clicking on one of the "coloring area" buttons will change it to the color of the selected "crayon".
if you can help, please email sp33m_sp33m@yahoo.com.
Need To Make Smth. Like Coloring Book
I need to make smth. like internet coloring book. I'm not great in scripting & so on...
maybe someone could help me. How should i do it?
I think, i'll need a black&white picture (curved)... some colour symbols.... and a script for a mouse to take a collour from object and paint a spot on the
picture...
Thanx!
Coloring Book Question With Flash?
I'm making a coloring book with Flash and I have it where when you click the paint brush on to the paint buckets you can color a black and white drawing using this code:
on (release) {
iColor = new Color( this );
iColor.setRGB( _root.fillColor );
delete iColor;
}
Pretty simple stuff I suppose. We've all seen it a million times on kids websites. What I want to be able to do is to also have the paint brush pick up the color of the paint bucket when it clicks it so you know what color is active. How do I do this? I got the tutorial from here if it helps:
http://www.developingwebs.net/flash/cbook.php
Swatch Coloring Book With Gradients
Hi everybody,
I'm trying to make soemting along the lines of this coloring book in flash. The user clicks on swatchs, then on an object to color it.
http://www.developingwebs.net/flash/cbook.php
I have the concept explained here under control (easy) It just loads the RGB value into the "brush" (mouse pointer) and that effects the object it clicks on next. Is there a way to make the fill a gradient? Say, make #663300 (brown) fade to #ffffff.
If this is going to be too difficult for you to explain to me quickly, could you point me in the right direction ( key words, etc.)and I'll study the necessary techniques.
Thanks in advance, you guys are sweet as in here.
Kirupa's Coloring Book Tutorial
Hy guys .. I followed your tutorial on the coloring book ... Now the thing is I have to make something similar to that but with image fills instead of colors.
That way when the user hits an image button , the background of a certain movieclip changes .
I searched some tutorial son the web .. but yours was the closest thing I could find...
Can anyone help? Give an idea on hoe to do this or give me some link?
Thanks a lot!
Question On Coloring Book Scripting
Why would you create a button within a movieclip instead of just having a movieclip? Does the 2 different types give you more scripting options? thanks
[Flash 8 Pro]Online Coloring Book Help
So I've been working on an online coloring book, and I've got most of it working for the majority. As you can see from the attached file it is fully functional except for the reset button. Ultimately I'd like you to be able to switch between two modes, a basic click and fill mode, and one that switches to a pencil to draw on the image. When you click on reset it is to clear the drawings, and reset the fills to their original colors. As of now I can't figure out what to do to get the fills to reset. So I ask for any input All help is greatly appreciated.
http://dave.obhost.net/work_test/color/desk.zip
Help Needed To Enhance Coloring Book
Hi there!
I succesfully managed to complete the tutorial on how to make a coloring book with Flash 8 (or its predecessors).
(http://www.kirupa.com/developer/mx2004/coloringbook.htm)
I mofified it to suit on of my previously created characters, in order for the main parts to be filled in.
There is just one other feature i would like to add to this application. I would like to implement a button which has the capibility of resetting the character, in order for the new colors to be cancelled out, and for the initial colors to be shown.
If you wish to take a peek at the file i'm working with, i have managed to attach a copy, which can be accessed below.
I will be very grateful for any help in order to address this issue.
Many thanx,
Stroodle
Complicated Semi Coloring-book
I'm looking to create a character creator in the vein of Hero Machine. I want to allow users to select different components and then color the conglomerate image. I'm very new to flash (Using MX Flash 6), so I'm not sure how to accomplish this goal though I have a near identical program I developed in VB.net.
I need help/suggestions with:
1. Where do I create the fill layer to be colored? At the button for select and then just move it? Somewhere in the library? Where?
2. How do I generate the outline to a pre-specified location to allow the object to be colored?
3. I'm doing multiple layers allowing different component matches. I don't have to have a movie clip of every combination, do I?
Thanks
Flash Coloring Book Tips
Hi all,
I'm working on a children's flash coloring book. I've got the scripting to click on color options and fill in shapes on the page. So I've got the basics. My understanding is that for the younger kid style where they click and fill in large chunks, that each piece needs to be its own movieclip.
I'm just curious, if anyone knows of a smart way to go from a flat line drawing to slicing it up into all the little unique movieclips. Seems time intensive.
Any suggestions?
Much appreciated,
Jess
Coloring Book And Jigsaw Puzzle
I've always had a problem with interactive things like puzzles and coloring books, but does anybody know where i can learn to make a coloring book or a jigsaw puzzle, or can anybody help me to make one?
Is it that hard to do?
Thanks a lot!
Austin
Coloring Book Application-2 Simple Questions
1) What code should I attach to a clip to indicate/represent the currently selected color?
How do I create a cursor that also indicates the currently selected color?
i've created a coloring book application containing:
-a selection of colors using
on (press, release) {
fillColor=0xFF0000;
}
attacted to movie clips representing each color
-the image to be colored with each area separated into movie clips
with the code
on (release) {
iColor = new Color(this);
iColor.setRGB(_root.fillColor);
delete iColor;
}
-a custom cusor
all of this works fine
Coloring Book Woes On A Reseting Pageflip
Problem: I'm making a coloring book using Macc's wonderful open source pageflipping code seen at http://www.iparigrafika.hu/pageflip but because of his need to have the pages reset themselves on every pageflip, any movies I put on those pages reset themselves as well. The movies have to reside on his page content clips in order to give the appearance that the artwork is on the page and turning with every page flip. I placed a color mixer on the movie's root which allows the user to create any color possible and then the user can click on any area of my drawing(s) to fill the area in with this color. The drawings use a standard technique of buttons laid over top of similarily shaped movie clips whereby the button changes the RGB value of the movieclip directly below it. Everything works fine except when you go to turn a page. The moment you even get close to the page's edges Macc's script kicks in and "resets" the pages causing all my colored clips to revert to white, what they started out as when the page first was turned to.
So, I thought I could fix this by including code within the button which would assign that clips' newly set RGB value to a global variable which would be read as the clips' current RGB color whenever the page "reset" itself.
Like this:
1. I turn a page and my artwork movie/clip contains all white areas with black outlines.
2. The artwork is one clip with many movies and buttons inside of it which make up the clickable areas of the drawing.
3. Within every clip which makes up a clickable area, script in it's first frame tells the clip that it's RGB color is equal to a variable which at this point is not yet set.
4. I use the mixer located on the movie's root to mix up a color.
5. I click the desired area on the drawing to change it's color using a setTransform action which reads the newly mixed color and sets it as it's own.
6. I also assign this color as the variable mentioned in step 3 above.
The idea (I had hoped) is that I am now creating a color (other than it's base white) for the clip which will be assigned to it the moment the page resets itself. In theory, the color should not revert back to white but should simply blink out and then back in once the moment the cursor rolls over the pageflip rollover area. Meaning that it was going to reset itself to white because the overall page is reseting itself but now that a global variable has been set for it's RGB color because the area has been clicked on at least once, the clip should read the color in the variable and use it to color itself the same color it was last set to.
I would have posted my code but the project is at work and I'm now home and it's still going through my head and it's driving me insane.
Any suggestions? Am I even clearly stating the problem? I guess I'm asking whether anyone has any other way of doing this or do they think I'm doing it right but that I'm probably just screwing up my code?
Any help is greatly appreciated.
Thanks!
Flash Coloring Book...gradient Colors
Hi:
I have a basic working flash coloring swf I made (click on a color, click a shape and the shape gets colored). Anyways, instead of having a giant color palate at the bottom is there a way to have just a few colors but have gradient sliders on each? Could someone link me to some tutorials on this. I have a fla example but it is really complicated so hopefully someone has something simpiler. Thanks!
An example of what I have now would be something like this:
http://www.developingwebs.net/flash/cbook.php
Thanks again!
Coloring Book Export Options/solutions
I am creating a "coloring book" tool for a client that wants to in turn export the updated image to a flat file (PDF, JPEG, GIF) for web viewing. Beyond creating the coloring book what is the best way to control/allow output of the Flash file?
Need To Make Flash Movie - Coloring Book Style
Hi Guys,
Please take a look at this:
http://www.braininjurylondon.on.ca/colorie.htm
I need to reproduce something similar, but cant figure out heads or tails. Can someone take the time to explain in detail. I'm not any good with Action Script.
Regards,
raiahk
Changing Cursor Color For Coloring Book Flash
I need to make a coloring book game, so I searched for a tutorial and found this one. It was so easy, that I had my coloring book in less than an hour.
The problem is that there is no way to indicate which color is currently selected. The author suggests making a custom cursor (which I have already done) and coloring it with the selected tone. But there's no information on how to do this. Another option is to make a shape that indicates the selected color, but I don't know how to code it so it changes its color when the user selects another color.
How can I make that?
You can see the tutorial's example here.
Thanks!!
Nell
Colouring Book Dynamic Image Load
Hi all
I am creating an online colouring game where the user basically is presented with a palette of 8 colours and a black and white line art image.
The way I am implementing this is to have each element of the image to colour as a separate button and then when the user clicks on the button, it sets the RGB value based on the currently selected colour.
i.e
on (release) {
var newColour = new Color(this.Hands_btn);
newColour.setRGB(_parent.myGameObject.Get_Current_ Colour());
}
I would like to be able to change the image on a regular basis and would like to find a way to not have to put the code on each button element of the new image. What I would ideally like is that someone (with no coding knowledge) could create the new image as a swf composed of all the separate button elements and then when this image swf is loaded in, that the actions are dynamically added to the buttons.
Anyone think this is feasible and if so can you give me some tips or advice.
Many thanks
Chucky
Coloring
hi
I'm just wondering if anyone could help me on coloring.
There are three color palettes on the stage- blue, yellow and red. I want the users to click each color, and then when they click on the objects it will color the color that the user just clicked.
Thanks a lot!!
Yoon
Coloring
Hi everyone,
I'm really new to flash and trying to start building a little website with it.
My question is this. I like to scan in my drawings to be animated. How do I color them ? After I make it a symbol and go to edit symbol I cant get the color to stick, unless I make a new layer. But I also want to color to go underneath the black lines of the drawing.
How do I do this? I'm sure its simple but I just dont know.
Thanks a lot for any help ! Please email me at Tasukitty@aol.com, it will be faster for me to get than checking responses.
Thank you !
-Christine
Coloring, Please Help
Hello ^_^
I was wondering if anyone could tell me how to go about coloring pages with actionscript. I want to have an outline drawing, and a color tablet, so that the user can pick a color then click a blank space in the drawing, which will be filled with that color.
i know it's possible cuz i've seen it, but i have no clue how to go about making one.
some direction would be really appreciated.
thanks for your time ^_^
Coloring A Textbox
how do I color an input box in MX? do they all have to be white? do I have to put a graphic over it? crazy!
Flash Coloring App
First off, This site is huge, and this is my first post, I didnt know if there is a section dealing with this but.
I found a flash coloring applet. It Runs in Internet Explorer. I maintain a Custom Leather Jacket website, and want to get that coloring applet for my site. I have no idea how to do this in flash.
The link to the site that has it is a little lame but its the idea behind it.
http://www.hasbro.com/mylittlepony/p...dn/default.cfm
Does anyone know how i can do this?
Thanks
Coloring Objects
hi @all,
i have 3 objects and 3 color-buttons and i want to fill an object with one selected color. i know i can fill an object(mc) with:
on (release) {
color = new Color(mc);
color.setRGB(0xFF00FF);
}
e.g. i have a 'circle', 'box', 'triangle' and the colors blue, green, red. so i want to click on the 'box' and then on one color and it should fill with the color i click...
how could i do this best??
thanks for help
alex
Coloring Diagrams?
Hello!
I need some help here in one of my flash project. In which i have to develop a Drawing in which users(childrens) can fill colours of their choice from the selected color options/list.
I have attached a file, i want to create an interactive flash page for childrens, in which they can color the figure by selecting colors of their choice from the selected list of colors.
I am working on Flash MX 7.2, But unfortunately i don't know much about flash scripting. Therefore i need help/guide of you guys, kindly advice me how can i make it possible.
Any help, suggestions, guide will be highly appreciated.
Thanks.
Amir
Coloring Tool
I am new to using flash, have a basic understanding of timelines, symbols etc...
I successfully created a coloring tool that can change colors of a house. I would also like to create a door and window option that allows users to click on a button that is a double door or larger window then the door or windows on the house will change.
Is there a simple way to add this to my coloring tool? The coloring tool is set up as 3 movie clips, a lower wall, upper wall and roof that change colors, the main timeline is the house outlined. It works great and would like to ad door and window buttons. Is there an actionscript that will change features?
Can Anyone Help With Coloring A Component?
F8
Hey,
I have a form where I've used various code to change the color of the input text components. Unfortunately this code is not effecting the color of my submit button(also a component). Text color and outline changes work but I can't color the center. I'm sure I'm missing a code in my list.(the last section where it is titled //individual atributes)
Does anyone know where I can find a list of codes for changing appearances? I’ve posted my code below.
Thanks,
Steve
__________________________________________________ _____________
var styleObj = new mx.styles.CSSStyleDeclaration();
styleObj.styleName = "newStyle";
_global.styles.newStyle = styleObj
//Group atributes
styleObj.setStyle("fontFamily", "_sans");
styleObj.setStyle("fontSize", 9);
styleObj.setStyle("fontWeight", "bold");
styleObj.setStyle("color", 0x643500);
styleObj.setStyle("themeColor", "0x8CCACC");
styleObj.setStyle("backgroundColor", "0xC9955F");
styleObj.setStyle("borderColor", "0x643500");
styleObj.setStyle("borderStyle", "solid");
firstName.setStyle("styleName", "newStyle");
lastName.setStyle("styleName", "newStyle");
phone.setStyle("styleName", "newStyle");
email.setStyle("styleName", "newStyle");
street.setStyle("styleName", "newStyle");
city.setStyle("styleName", "newStyle");
StateAbv.setStyle("styleName", "newStyle");
zip.setStyle("styleName", "newStyle");
//submit.setStyle("styleName", "newStyle");
//Individual atributes
submit.setStyle("fontFamily", "_sans");
submit.setStyle("fontSize", 9);
submit.setStyle("themeColor", "0x8FD3D9");
submit.setStyle("color", "0x643500");
submit.setStyle("backgroundColor", "0x8FD3D9");
submit.setStyle("borderColor", "0x8FD3D9");
Coloring Text
Hi,
I have this code:
LevelReport = "You lost "+L_units+" units and stopped "+S_monsters+" monsters."
Is it possible to make the number L_units and S_monsters display be a different color then the rest of the text?
Text Coloring
I need a way to color the middle letter of a bunch of 3 letter words.
Does anyone have some ideas.
Thanks,
Jason
Coloring Problem
hi I'm having a problem to color Movie clips I was wondering if any of you know how to make this happen:
I wanna color a movie clip (a house) with this script but I want the lines of the house to show not just the shape colored i used this script:
myColor = new Color(_root.house);
myColor.setRGB(0xffff00);
help is greatly apreciated thanks
|