How Do You Change The Background Colour?
It won't let me use the paint bucket tool to change the background colour.
What is another way of doing it?
FlashKit > Flash Help > Flash Newbies
Posted on: 12-17-2002, 04:05 AM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Transparent Background/ XML Code To Change The Background Colour
Hi,
In a bit of a pickle here; I need a way to insert a swf file into any color background website, so it automatically matches up.
Now, can one make the swf files background transparent? And match the background of any given websites background?
Or, can one use some sort of XML file and simply change this xml file to match the background color of the website?
Now, what if the website uses a particulare pic background? How would one match this?
As usual folks, I am stuck between a rock and a hard place, so any help deeply apprecaiteed!
Kind Regards,
Boxing Boom
Change Background Colour
I would like to change the colour of an mc which is on the main timeline using some A script, can anyone help!
Advance thankyou to anyone who helps
PEACE...
Change Background Colour
OK, i have two scens in a movie. The first scene goes with my intro movie with a certain background color. And of course, when the movie moves on to the second scene it has the same background color. What actionscript do i use that i can put on scene 1 enter button that will direct it to scene two frame one but yet at the same time, change the background color into something else? Can it be possible that you can make the background color change slowly? thanks...
Background Colour Change?
hi. is there anyway to be able to change the colour of the background?
i have a website. and i want each section to have a different background colour. i dont really want to make a huge coloured box to go behind everything. so is there an actionscript way?
thanks.
Background Colour Change.
Howdy people. Im looking to create a flash website which, when a button is pressed goes to a different section of the website.
However, when, for example you go from the 'homepage' to the 'about' page I want the background colour of the actual html page itself to change to a specific colour.
Any ideas? Anyone know if this is possible?
Any help appreciated.
Liam
Background Colour Change
I have an online folio and want to have a few different options for background colour. You click a button and the colour changes. Is there some way you can change the document background colour by code?
Thanks in advance
Background Colour Change.
Hello.
I was wondering if it was possible for me to change the colour of my background gradually using setTransform()? I dont know how to use it yet. But im guessing its something along the lines of..
ActionScript Code:
var myVar:Color = new Color(myMC);myVar.setTransform(Insert loads of rr, rg, rb stuff in here..);
But I want to do it gradually..
From what I remember, setTransform() is only a tint. Should I really be using setRGB()?
Thanks for ANY help .
An example of what I want can be found here : www.deathjr.com (SKip the intro, on the main site, then click 'Characters', choose any of them and watch the background colour change.
Change Background Colour Help.
Hello,
I,ve used Kirupa's script
( http://www.kirupa.com/developer/mx/centered_popup.htm )
to open a centralised window on the release of a button. It works brilliantly but I can't for my life work out how to change the background colour of the opened window to black.
I'm no programmer so don't really have much of a grasp of Action or Java script but having looked on the web, I think what I need to do is use document.bgColour('#000000') somewhere in the script but have no idea where to put it or even if it's right!
If someone could help me out on this one I'd be most grateful.
Cheers,
Mat.
Change Background Colour
I made a XML driven gallery and i want when i change to other photo/photo section the colour of the background changes.
Background Colour Change.
Quick question here (apologies is it has been dealt with elsewhere). I have Flash 5 and need to create a sequence of animations where the transperant front end basically loops and the background colour changes. I've not yet found a direct way of doing this - would it require an MX upgrade? Thanks.
Change HTML Background Colour
From within my flash movie, I need to change the background colour of the html page it is embedded in. I know I should use the FSCommand() function, but I can't figure out the correct syntax.
I've tried FSCommand("bgcolor", "#003300") but it does not work.
An easy one for a flash guru.
Thanks in advance,
Dean
Background Colour Change Problem
hi all
i have some code that once i hit a button it will change my background mc colour to the chosen colour, now the problem i have is that my backround mc that i apply the different colours to starts with a gradient fill, now when i apply the new colour to it the grident is lost and i just got a solid colour, how can i get it to keep the gradients when changing to different colours.
hope i make sense thanks in advance
Change Background Colour In Browser From Flash
Hi there. I want to be able to set the background colour from flash i.e. when an event happens in flash, I want to be able to change the background colour in the html. Is this possible?
Thanks.
Change Main Movie Background Colour
Hi!
I have my main movie background colour set to a light green.
I have a print button that prints a specific movie, but it picks up the green background. Is there any way that I can change the movie background to white just while it prints and then change it back again after it has finished?
Any help would be appreciated!
Many thanks!
Action Script To Change Background Colour Of Html Page
Hi, I'm trying to create a button in my flash move that would be able to change the background colour of the html page that holds it. I don't know if that's even possible and if it is how I would go about it. Can anyone help?
Action Script To Change Background Colour Of Html Page
Hi, I'm trying to create a button in my flash move that would be able to change the background colour of the html page that holds it. I have posted this question before and someone gave me this code to use:
<html>....<head>
<SCRIPT LANGUAGE=JavaScript>
<!--
function NEWbg(newcolor) {
document.bgColor=newcolor;
}
//-->
</SCRIPT>
Button action in flash :
on(release){
getURL("javascript:NEWbg('#FFFFFF')");
}
/////////////////////////////
or from flash w/o any code in html :
on(release){
getURL("javascript:document.bgColor='#FFFFFF'; void(0);");
}
The problem with this is that it brings up a dialogue box about flash security settings when you press the button which obviously won't do. does anyone know another method? Thanks in advance.
Action Script To Change Background Colour Of Html Page
Hi, I'm trying to create a button in my flash move that would be able to change the background colour of the html page that holds it. I have posted this question on another site and someone gave me this code to use:
<html>....<head>
<SCRIPT LANGUAGE=JavaScript>
<!--
function NEWbg(newcolor) {
document.bgColor=newcolor;
}
//-->
</SCRIPT>
Button action in flash :
on(release){
getURL("javascript:NEWbg('#FFFFFF')");
}
/////////////////////////////
or from flash w/o any code in html :
on(release){
getURL("javascript:document.bgColor='#FFFFFF'; void(0);");
}
The problem with this is that it brings up a dialogue box about flash security settings when you press the button which obviously won't do. does anyone know another method? Thanks in advance.
Action Script To Change Background Colour Of Html Page
Hi, I'm trying to create a button in my flash move that would be able to change the background colour of the html page that holds it. I have posted this question on another site and someone gave me this code to use:
<html>....<head>
<SCRIPT LANGUAGE=JavaScript>
<!--
function NEWbg(newcolor) {
document.bgColor=newcolor;
}
//-->
</SCRIPT>
Button action in flash :
on(release){
getURL("javascript:NEWbg('#FFFFFF')");
}
/////////////////////////////
or from flash w/o any code in html :
on(release){
getURL("javascript:document.bgColor='#FFFFFF'; void(0);");
}
The problem with this is that it brings up a dialogue box about flash security settings when you press the button which obviously won't do. does anyone know another method? I'm using action script 1. Thanks in advance.
Background Colour Should Be Nothing
I'm pulling out my freshly streaked locks in an effort to remove this bloody light green background from the swish sprite I imported into FrontPage. How can I get rid of it? In swish the "background" colour I have selected to work a simple text sprite on is "white"... when I import it into Front Page, my sprite works just fine, but I have a NASTY GREEN BOX behind it... HELP. I have tried deleting "bgcolour" in the html but this turns the box white and deleted my text sprite altogether...
How To Set Background Colour?
I have 10 buttons for changing the background colour of a movieclip. Movie clip is a square with linear gradient. When I click 10th button I want to have the movieclip retain its original linear gradient colour, but right now it turns to some solid colour even though I have mentioned the RGB value of the linear gradient.
On the button I have
on (press) {
colour.text="#A0C4EB";
}
On the frame of the main timeline I have
myColor = new Color(colour);
c1.onRelease = function() {
myColor.setRGB(0xA0C4EB);
}
Is this right?
How to make the same linear gradient colour appear?
Background Colour
Hi all,
Just wondering if it was possible to change a background colour halfway through a movie, tried using keyframes on my background layer but can't get anything to work...
Any help greatly appreciated ...
tyrone
Background Colour
Got a white background at moment so i go properties change it to black upload it my webspace and it comes out white what am i doing wrong. the swf anf fla preview show black what could it be.
Background Colour
whats the action script (when on(release) ) so change the background colour of the main stage. ( the properties of the movie). thanks. im not english, i just like spelling colour with the U.
Background Colour
whats the action script (when on(release) ) so change the background colour of the main stage. ( the properties of the movie). thanks. im not english, i just like spelling colour with the U.
How To Set Flash Background Colour?
Is there a way to set a specific html value for the background of a Flash movie?
Just clicking the Modify Movie preferences only allows you to pick from the color boxes, without being able to input a html value.
Say you wanted the background value to be #D7D9DB, is there a way to do it?
Stage Background Colour
Hi, I'm wondering if someone can help me. I've set the background colour of my stage for exactly the same colour as the background colour of my web page. But it shows in the browser as a slightly different colour. I've tried making the stage transparent, but it shows in the browser as white. I swear, I think I've tried just about everything, but it just doesn't work. The colour of my webpage is #FFE8D0.
I tried changing the background colour of the Flash once I've inserted it in Dreamweaver - doesn't help. I even took a screen-shot of the different colours as they show on my website, and then taking a colour sample of each colour. They do sample a little differently - #FFE8D0 for the web page background, and #FFE7CF for the Flash background colour - so I tried to change the background colour of my web page to match that of the Flash piece. It seemed as though it made no difference at all.
I know I've rambled a bit, but I really have tried everything and it's driving me nuts. Does anyone have any suggestions?
Thanks,
Rose
Changing Background Colour
Does anyone know how to change the background colour using Action Script. I have several scenes but want to change the background colour for each.
Any help appreciatend.
Is It Possible To Set The Background Colour As Transparent
Mt friend made a swf button to use on his page. Cute little button with rounded edges. The problem is when using a jpg image for the page background and assigning a colour for the movie background the rounded corners means that the background colour shows slightly and it looks messy.
Is there any way to make the background color transparent?
The "offending" button may be viewed here:
http://aliengalaxy.net/disconnected/jukebot/Submit.asp
How To Not Print Background Colour
I have a single frame that gets printed when certain conditions occur, however because the movie is setup with a coloured background the print of the frame also prints with a coloured background. I have tried to place a white box on this frame but it still print the coloured backgroung (as margins) down the sides of the page. Is there a way that I can specify to print this frame without the background color. This flash movie is NOT controlled withing HTML.
thanks
Background Colour While Loading
I've got a curiosity; while I wait for every flash work I make to load, I see a white background until the preloader or the actual work appear. if the background colour of the site is white as well there's no problem but if the it is different, well...it hurts : ... I was wondering if there were a way to adjust this colour, maybe during the publishing setup process..
Changing Background Colour
Hi Guys,
I'm fairly new to flash.
I am making a webpage, and am using flash to do it.
So far it is very simple. I have some text layers which move the playhead to different points in the timeline, using the actionscript goto...
I want to know if it is possible to have the background colour fade to different colours independant of where the playheaad is in the timeline?
Any ideas?
Thanks
AT
Textfield Background Colour
I'm making an Alt text thingy using a textfield that pops up when moving over a button.
I want to have the textfield have a background colour - is it possible to set the background colour of a dynamic textfield?
If not, can anyone think of a way to make a background to the textfield that will dynamically change in size depending on how much text is in the textfield?
Quesion About The Background Colour
Is it possible to change, while running, the background colour of a flash file or is making a borderless rectangle the entire size of the flash scene the easiest way to manipulate the background colour?
Background Colour Before Swf Loaded?
If you click on my site www.napoly.wz.cz you can see for a second a big white square before the first frame of my swf gets loaded. I heard that I can change that white colour with CSS but not sure about that.. does anyone know how to do it?
Many thanx..
Chaning Background Colour
Hello all.
Is it possible to change the _root. background colour with actionscript.
I'd love to hear if its possible and if it is , what script to use.
Thank you in advance .
-Joppe
Changing Background Colour...
im trying to change background colour
var color:Color = new Color("stage");
color.setRGB(0x000000);
its currently purple, how come it doesnt change
Background Colour Changed In IE7
I constructed a site a few years ago which I updated today with a few files and I notice an annoying change in the way IE7 displays the navigation and title movie.
The background of the movie is set to black and now, in IE7 it's white which looks rubbish! I constructed the site in Flash 4.
Is there something different about IE7 as it displays fine in Firefox and Safari?
Any suggestions would be welcomed.
best wishes,
Colin.
Colour Change
I need help. I have a scene where the viewer picks a colour for an object. I want the object to be the colour they picked in the next scene. what is the action script. can anyone help please?
Change The Colour Of A
I used this code to change the frame of my movie depending on the time of my PC clock, now I want to change the colour of a "Graphic" using the time on my clock.
How do you tell a "Graphic" to alster it's RGB values?
mydate = new Date();
days = mydate.getDay();
month = mydate.getMonth();
day = mydate.getDate();
year = mydate.getFullYear();
//
if (year == 2002 && (month == 4 || month == 5)) {
if (month == 4 && day<27) {
tellTarget (stages) {
gotoAndStop(1);
}
}
if (month == 4 && day == 27) {
tellTarget (stages) {
gotoAndStop(1);
}
}
if (month == 4 && day == 28) {
tellTarget (stages) {
gotoAndStop(2);
}
}
if (month == 4 && day == 29) {
tellTarget (stages) {
gotoAndStop(3);
}
}
if (month == 4 && day == 30) {
tellTarget (stages) {
gotoAndStop(4);
}
}
if (month == 4 && day == 31) {
tellTarget (stages) {
gotoAndStop(5);
}
}
if (month == 5 && day == 1) {
tellTarget (stages) {
gotoAndStop(5);
}
}
if (month == 5 && day == 2) {
tellTarget (stages) {
gotoAndStop(5);
}
}
if (month == 5 && day == 3) {
tellTarget (stages) {
gotoAndStop(6);
}
}
if (month == 5 && day == 4) {
tellTarget (stages) {
gotoAndStop(7);
}
}
if (month == 5 && day == 5) {
tellTarget (stages) {
gotoAndStop(8);
}
}
if (month == 5 && day>5) {
tellTarget (stages) {
gotoAndStop(8);
}
}
} else {
tellTarget (stages) {
gotoAndStop(8);
}
}
Bg Colour Change
How do you change the bg colour during a scene.
Ex when i play my movie i wnat the bg colour to start off witha white bg then change to a black bg in the same scene how do I do that.
Colour Change
hello again!
i have another questions for the minds of the great out there. i have a movie and above that movie i have a 50% alpha blue toned square that colours the whole movie. what i am after is a drag bar that chnges the colour of this box, hence changing the colour of the overall site.. . .
can this be done, and if so, please could you help...
many thanks
tasvin
|