Diesel site / Flash ?
- Started
- Last post
- 10 Responses
- sisu
Does anyone know how to put flash in the background of an html page like in the diesel website?:
Thanks
- unformatted0
isn't the whole site in flash? i don't see html over flash...
or i'm confused
- sisu0
Actually, the only thing that is flash is the bg. Pull down the source and see for yourself.
- unformatted0
and the source says it uses a swf file if it has javascript turned on.
if it doesn't use an image map.
maybe you should look at the source.
- sisu0
Then how do you explain when you pull out your browser really big (if you have 2 monitors it makes it much easier to see) that the main area which is set to be centered stays centered and the same size while the background scales bigger or smaller?
i.e. You scale the browser window twice as wide (say 200%), the centered site does not scale at all while the background scales 200% and appears to zoom in on the photographic image.
Hmm...
- sisu0
Anyone???
- unformatted0
Stage.scaleMode = "noScale";
then add a listener when the stage is reszized. and resize the background image to the size of the stage.
- sisu0
Thanks.
- flashsplat0
Isn't that done in the publish settings? Define the movie background to be transparent...then when you embed into HTML the background should show through.
I haven't tried this but I always thought that was the method.
- autonoma0
sisu
You can't do HTML over Flash. It's just not possible. With newer versions of Flash you can set certain elements in the movie to resize according to the size of the browser while other elements stay the same.
- flashsplat0
oh whoops...misread the question. Ignore me pls.