Miscellaneous: Flash backgrounds

started by Webharvest Webharvest on Jan 21, 2005 — RSS Feed

Webharvest Webharvest Webharvest Webharvest
Posts: 4

I use a small amount of flash in the header of my site.  While the flash is loading and if someone doesn't have a flash player installed the box that contains the flash is white.  Is there a way to make that box place a image there or be transparent?

Thanks

http://www.harvestpointecc.com

Joe Gillespie Joe Gillespie
Posts: 528

You can put your Flash movie in a div with a GIF or JPEG background image that is essentially a proxy for the Flash movie but Flash always draws a white rectangle briefly first before it shows any specified background colour so you can't completely eliminate that 'Flash' of white.

If your movie takes some time to download, consider using a pre-loading movie that is just a background colour and script to load the real movie.

Managing Flash loading is an art in itself and makes all the difference between a professional looking job and that tiresome 'loading, please wait'  message that you see so often.

I use a technique that works like curtains in a theatre. The curtain in front always hides the scene changing going on behind it. You can do this with movie layers in Flash. Load up behind a running movie then hide the one in front for a seamless experience.

Webharvest Webharvest Webharvest Webharvest
Posts: 4

Thanks for the response.  Take a look at what I am talking about http://www.harvestpointecc.com
I guess what your saying is tht I could have a small flash of just the wheat background and it call up the new flash.  I assume the wheat background would stay up until the regular flash loads?  I've been using swishmax to do the flash but haven't done much with actionscripts.  What would the script look like?

Thanks

http://www.harvestpointecc.com

Joe Gillespie Joe Gillespie
Posts: 528

Yes, you are not going to be able to get rid of the white rectangles no matter what you do. That's just the way Flash works and you will have to live with it.

Webharvest Webharvest Webharvest Webharvest
Posts: 4

Yeah but if I use a small background flash that will load quicker and then have it call up the larger flash than the white box won't be there as long correct?  It will only be there as long as it takes for the smaller flash to load.  While the larger flash is loading it will show the smaller flash and not a white box.  Is that correct?

http://www.harvestpointecc.com

Joe Gillespie Joe Gillespie
Posts: 528

No. Flash draws everything from the bottom up. The background layer is loaded and drawn first and will show almost immediately regardless of what goes on top of it or what the file size is. Try it. Put an 'odd' colour on your background temporarily and you will see that it draws almost immediately - but there is still a flash of white first.

If you background is an image instead of a plain colour, it will take a little longer but the trick is the have a definite background colour too - as near to the image colours as possible.

If you are not using Macromedia Flash itself, you might not get the results I'm describing.

Webharvest Webharvest Webharvest Webharvest
Posts: 4

Thanks for all your help.

http://www.harvestpointecc.com

Maria James Maria James
Posts: 1

i have found something good regarding Flash tutorials and get good help from that you all try it once

http://www.trainingshell.com/view_all.php?cat=49

if you like then please complement me

With Regards

Maria

You must login to reply