Background Color With Color Object?
Hey guys, quick question, is there a way to control the background color of a flash movie using the color object or some other way? i would like the entire window (html background included) to change, so sticking a stage-size movieclip in the back wouldn't help. Thanks .
FlashKit > Flash Help > Flash ActionScript
Posted on: 08-04-2003, 03:05 PM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Text Color And Background Color Setting Dynamically
How would I go about setting the background color of a flash movie as well as the text color of a text box based an external variable?
I want to pass in both of these colors in the <object> tag
myfile.swf?bgcolor=red&textcolor=white
Please advise.
Thanks
Robert
[F8] Color Swatch Or Change - Color Object?
You know how on retail sites or even a car site you can swap the color by clicking on the swatch and than the image changes the color. I wanted to do this in flash preferably with actionscripting but I have NO CLUE how to do it. Can anyone show me a tutorial or advise me o how to do this. This is just a BASIC example in flash five but this is the same concept I want. http://www.adobe.com/support/flash/i...y/colorobject/ If anyone knows of a high level example with tutorial I would appreciate it.
Turtle
Setting The Color Of Multiple MCs Using One Color Object
Hiya I am making a movie that has to be published to Flash Player 6 and want to set a bunch of movie clips to have the same color. Here is my function:
ActionScript Code:
var fillObjs_ar:Array = [square_mc, circle_mc];function colours(array:Array, color) { for (i=0; i<array.length; i++) { var my_color:Color = new Color(array[i]); my_color.setRGB(0x+color); }}colours(fillObjs_ar, FF0000);
My problem is that I get the error message:
"Hexadecimal digits expected after 0x" referring to the 4th line of my function.
If anyone could help me out it would be really appreciated.
Thanks
Schm
Hex Color As Variable In Color Object?
im trying to do this
myColor = new Color(myMC);
myColor.setRGB(variable);
we have all of the colors we need in css info in a database but im attempting to use the same values in flash. i can load the variables in fine but when i try to set them as a hex color it just assumes the letters are hex colors.
any suggestions
Color Object- Get Color Name?
Hello,
I made a color picker and I was wondering if the color object had any way of grabbing the actual color name?
I know I could put all the colors into an array and call them up as needed... I've done the same thing in C#... and the color object in C# has a color name feature, I was wondering if Flash's color object had the same deal.
-Ryan
Need A Different Background Color
I want to make this background color of the movie #FFFFE6 but it's not in the palette. How do I make the color change to that one? Thanks much!
Background Color
This is a very stupid question but how doI change the background color of a layer permanently? I tried clicking on the layer button next to the layer name in the timeline and that didn't work when I changed the outline color. Can anyone tell me what I need to do here? Any help would be greatly appreciated.
James
Background Color
ok, the fist part of my cartoon has a black background color. I want to change it to white, but when I do the whole cartoon changes.
How do I change the back frame color without changing the whole cartoon?
Thanks
Background Color
Does anybody know how, or even if it is possible to change the background color of the WEBPAGE in which a movie is embedded through the flash movie?
Background Color
Can I change the background color from the HTML-file from within the Flashmovie? -> actionscript to javascript or something?
Background Color
Hello again, I have changed my background colors before and no problems, but now when I change my background color to a darker or any other color it does not work online. I change color and it works when I test, but after I upload, nothing. It stays the same. I can not even change it to black. It works fine until I upload and look at the live mc and it is still the same color.
www.tsigold.com
Background-color <p>
hey,
I'm importing text with loadvars, and using a textfield with htmlText.
I was wandering if it is possible to style it, but also style it with different backgroundcolors.
for example: I want the first <p> to have a yellow background, and the next one to have a white.
As far as I know flash doesn't support a style-tag background-color... but maybe anyone here knows something?
Or maybe I have to simulate it with movieclips...?
Background Color In AS
hi, does anyone know how to set background color property of the whole movie using only AS?
[F8] Background Color
Is it possible to change the background color of a flash application using actionscript? The thing is, I have made a game with quiet a lot of menus/submenus, and when you enter a specific cheat-code, it changes the cursor to yellow.
So, is it possible to change the default background color using actionscript?
Thanks in advance!
Background Color From AS?
I cant find good informations about changing flash background color from AS. I know that there are few different solutions - like loading "background sprite or mc".
Is it possible that there is no way for changing background color "directly" from AS?
As you see I'm new with flash so sorry if my questions are not as much ''clever'' as others! .
Br,
P
Help With Background Color
Posting this for a second time -
If I change the background color of my document, I can't see it, nor can I see the different fill colors of any symbols I add to Scene 1. The colors show fine when I run the movie. It is using the outline color to display all the objects on the work area whether I am in outline mode or not. I don't know what I did, but I could not find a menu item to turn it off.
Thanks for your help.
Background Color
Hey guys,
I got a question here. I am doing a flash presentation and one my first slide, I want a background color of white, and on the other one, I want a background color of black. But I think the main slide determines the whole background color...Is there a way to change each slide background's color with ActionScript?
Anyway thanks!
Antoine
Getting Background Color
How can i get the background color from an external swf file? (or even from the main swf file)
I'm loading the external swf with:
moviecontainer = _root.createEmptyMovieClip("moviecontainer", 10);
moviecontainer.loadMovie("pacman.swf",0);
I tried to do get the background color of pacman.swf with moviecontainer.backgroundColor, moviecontainer._root.opaqueBackground, moviecontainer._root.backgroundColor and moviecontainer._root.background. All of these returned 'undefined'.
Does anyone know how to get the background color of this external swf file, or even how to get the background color of the main swf file (which contains this script)?
Background Color
I want to have a background color
I wrote in the action
set.backgroundColor="0xcccccc";
what do I need to write that it will work......? (I want that the movieBG will be cccccc)
Background Color
Hey guys,
I got a question here. I am doing a flash presentation and one my first slide, I want a background color of white, and on the other one, I want a background color of black. But I think the main slide determines the whole background color...Is there a way to change each slide background's color with ActionScript?
Anyway thanks!
Antoine
Background Color
I would like to change the background color of a movie by ActionScript. I would rather not put a "fake" background in as a symbol and change it's color. Is it possible to programatically change the background color of a movie?
Background Color
Sup All —
I'm still "fairly" new to Flash/actionscript as I am growing wings and trying to get away from html. However I still intergrate my flash components into Dreamweaver and build everything out of Dreamweaver once I'm done in Flash.
However I have a simple question that I assume most of you would be able to answer.
I'm making a website for my band Kynosis. Check out www.kynosis.com fairly soon within a week, and the site will be up. Domain is there, just not he content.
Anyway :: back to my question. I have a preloader / flash checker for a splash page etc. . . .
I don't neccesarily want to detect screen size, but how do i have the image in the background—it's going to be a simple horizontal wash of black and white with the logo in the middle. 50% white on bottom and black on top. I want to this fill the entire window when one is looking at it, but want it to be able to be viewed nicely at 800x600 / 1024x768 / 1600x1200 etc ... i don't want to have the horizontal window bars on the bottom scroll, but just have the background wash exist to whatever window size the user has.
If anybody knows of how to correct this or any suggestions, all would be appreciated.
Thank you
michael
A Little Help With Background Color
Hello guys, I'm new here.
I was wondering, how could I change the background color in different scenes ? I tried changing through the document properties window (Where you could set your resolution, frame rate, background color etc), and the other scenes were all set at the same background color.
Is there a way to change this ?
Or perhaps should I create a rectangle on a single layer and lock it and apply the color I need ? Or perhaps thru AS ?
I hope to receive a favourable reply. Thanks.
Background Color
Does anyone know how to make a Background with images and with a very cool color? Say:
www.abeautifulmind.com
BTW, how to make the scroller scroll horzontally?
Background Color
Sup All —
I'm still "fairly" new to Flash/actionscript as I am growing wings and trying to get away from html. However I still intergrate my flash components into Dreamweaver and build everything out of Dreamweaver once I'm done in Flash.
However I have a simple question that I assume most of you would be able to answer.
I'm making a website for my band Kynosis. Check out www.kynosis.com fairly soon within a week, and the site will be up. Domain is there, just not he content.
Anyway :: back to my question. I have a preloader / flash checker for a splash page etc. . . .
I don't neccesarily want to detect screen size, but how do i have the image in the background—it's going to be a simple horizontal wash of black and white with the logo in the middle. 50% white on bottom and black on top. I want to this fill the entire window when one is looking at it, but want it to be able to be viewed nicely at 800x600 / 1024x768 / 1600x1200 etc ... i don't want to have the horizontal window bars on the bottom scroll, but just have the background wash exist to whatever window size the user has.
If anybody knows of how to correct this or any suggestions, all would be appreciated.
Thank you
michael
Background Color
I have an embedded flash piece in an html page. The page is tan and the background of the embedded flash is tan. When the frame loads however, for a second the area of the flash is white before it fills in with color. It's just a short flash piece and only takes a second to load. Is there any way to prevent second of white showing up before the frame loads?
Maybe I have to put in a loader even though it's so small but I don't think that will solve the problem.
Thanks...
Background-color In AS3 Css?
Hi guys, I need to make some text that are brought in from an xml file have a background-color that changes on rollover. From looking in the documentation I can see that background-color isn't supported. Is there any way to do this? The text are brought in dynamically and have different word counts so I can't just make the shapes and put them behind the text. Anyone have any ideas?
Background Color Changing
hi guys
i made 2 scenes in a flash movie but i want to change the background color in the second scene when its loaded
i tried to find this in the set property in action script
but i didnt find it
so can u tell how i can change the BGcolor when it goes 2 the second scene?
or how i can make the bg color of the scenes are diffrent
and thnx
The10101
Changing Background Color
Hi,
I love flash but new to the flash inviorement.
I come across a site http://www.jail*****.com
It shows deffrent color every time you enter the site.
Also there is option of choosing color of your choice
from the gamut at the bottom of the site.
Could you please tell how these two things have been done.
I will be greatful to you.
Kind regards
Mishra
Background Color Before Load?
how can i change the white that flashes before my flash
movie loads on my webpage?
http://imua.tv/intro.htm
thank you
Automatic Background Color Changes
I want to make my swish 2.0 program with automatic background color changes, that slowly fade from one color to the next. It has an image over it and i want that image to stay the same. Please help. I am new to this, but loving it.
Movie Background Color
Hi
I´m creating a presentation in flashMX and I want different background color for different sections of the presentation. I realize that you only can have one background color for each movie, so I created several movies and loaded them in using loadMovie. But, it seems that adapt the color of the first movie. Is it at all possible to have different background colors?
Any ideas?
Sindi
Text Box Background Color
Hai flash experts
I would like to change the text box background color through external text file by loading the variables. Mean through html codings is it possible to change the background color in Text box.
thx
sathish
Combo Box Background Color
is there a way to change the background color of the selected item in a combo box?
Reason: i have a MC with a combo box. The movie clip is gray. So is the background of the combobox. I want to change the color of the combo-box background so that is is not identical to my movie clip background..
thanks,
-myk
Can I Set Background Color W/actionscript?
can i change the background color using actionscript?...
and can i change the color of more than 1 MC at a time (perhaps with an array?) using the color obj?.....??????????????????????
thanks in advance
Change Background Color
Greetings, can you change the background color of a movie by using actionscript and also have the new color fade in slowly? Would like to do this without clicking on a button. Thanks.
Background Color Problem...need Some Help Please.
I have an image I have saved for web via photoshop as a gif with a transparent background, however when I import it into flash MX the image has a slightly different color background color than that of my main background in flash. Why is that and is there a way to fix it?
Thanks for the help.
Random Color In Background
I have a Website built in MX with two basic colors in the background. I want to add a script that changes the two background colors on site randomly. The catch is that I have certian colors that I want displayed together. For example, blue and green are used together then pink and yellow and orange and blue. How could these colors switch based on every visit to the site, but remember it can't just be any random color it has to come from a set that I specify (blue/green, pink/yellow, orange/blue, etc.).
Thanks
Printing Without Background Color
Ok, I'm trying to print a movie that lies on my main timeline...no problem. What I'm having problems with is disabling the background color. I've changed the black backgound to white and I've added a black box directly over the white background. The html page that my Flash movie sits on has a black background, yet I've changed this and it has produced the same black background. The Flash movie works flawlessly when I test it in Flash, I'm only having problems when I try to execute it from the web.
Any help would be greatly appreciated...
Thanks in advance!
|