Discussion:
Pretty please, somebody teach me how to change background color like this example
(too old to reply)
graphicgoof
2009-03-28 08:59:24 UTC
Permalink
As you can see here (http://www.madebysix.com/), this site's background color
is constantly changing, depending on which section/page the viewers on. I
believe the site is one big Flash movie which has embedded into a HTML page.
So, just editing the document's background color won't work.

If someone is kind enough to let this bugger know how to do that, it'd be
seriously appreciated.

Thanks in advance, guys.
NedWebs
2009-03-28 13:20:49 UTC
Permalink
You need to add a movieclip symbol to cover the background and implement color transitions for it.
graphicgoof
2009-03-28 15:40:39 UTC
Permalink
OK, I guess, if .SWF fills the whole page area, the audience won't see the
HTML-area in the background.

But then, please allow this ignorant to ask another question: how do I fill
the whole (web) page area with .SWF? I am currently using CS4 and I think I
tried every combination on publish setting, but so far I couldn't find how to
do it.

Thanks for your patience, man.
NedWebs
2009-03-28 17:57:21 UTC
Permalink
Look around for the forums for postings regarding full screen sizing and things of the like. I haven't dealt with it myself, but there are plenty of postings that address these matters.
doghouseJim
2009-03-29 05:40:51 UTC
Permalink
What site?? Everyone's talking like they see it but I don't. I know I've had a few beers tonight but I've looked through this posting several times and I still don't see a url to the site.
graphicgoof
2009-03-29 14:36:27 UTC
Permalink
Haha, sir, you missed it. http://www.madebysix.com/.
doghouseJim
2009-03-29 16:09:58 UTC
Permalink
Here's the AS2 code: [b]tile[/b] in this case is the identifer of a gif in the
library and http://www.gotoandlearn.com/play?id=31 is the tutorial I got that
from. If you learn to do it in AS3 before I do please show the code.

import flash.display.BitmapData;

var tile:BitmapData = BitmapData.loadBitmap("tile");

function fillBG()
{
this.beginBitmapFill(tile);
this.moveTo(0,0);
this.lineTo(Stage.width,0);
this.lineTo(Stage.width,Stage.height);
this.lineTo(0,Stage.height);
this.lineTo(0,0);
this.endFill();
}

fillBG();

var stageL:Object = new Object();
stageL.onResize = function()
{
fillBG();
}
Stage.addListener(stageL);
graphicgoof
2009-03-29 16:47:59 UTC
Permalink
Thanks for your sincerity.

However, I am one big new bee to Flash, and to be honest I have no idea where
I need to attach the code which you have shown me here. Could you be kind
enough to let me know how I would use the code, please?
doghouseJim
2009-03-29 20:53:38 UTC
Permalink
are you using AS2 or AS3?
graphicgoof
2009-03-29 23:03:43 UTC
Permalink
AS2!
doghouseJim
2009-03-29 23:43:30 UTC
Permalink
Then the code above is what you need. If you're still unsure just take the tutorial this one http://www.gotoandlearn.com/play?id=31 it's real easy to follow and fun too :-)
graphicgoof
2009-03-30 00:54:36 UTC
Permalink
THANK YOU!!!
doghouseJim
2009-04-01 06:35:26 UTC
Permalink
It's 6 boxes up :-)
NedWebs
2009-04-01 14:23:44 UTC
Permalink
The fifth word of the initial posting "here"

Loading...