Flash BG
- Started
- Last post
- 7 Responses
- 187LockDown
I have not used flash in a hot minute, and I just started building a navigation for a friend, thing is when the page loads the area where the flash file is has a white BG until the preloader shows up. On slow connections this looks bad. ANyone know how to get around this. I made sure that there are no major graphics on the first frame where the preloader is. Only 1 5x5 pixel symbol which I resize to make the graphics of the preloader.
- airey0
it's pretty usual.
you cold create a backer swf which just contains the colour and loads the rest in on top if it's an issue.
- monNom0
it's definitely loading something heavy on frame 1... are you importing anything from the library @ runtime?
try wMode = Transparent in your embed to at least have the background show through
- 187LockDown0
I was exporting the main MC to load on frame 1 but I turned that off in linkages. I still got the white BG. I put the code for wmmode=transparent and it looks good for the time being. Still can't figure out what the hell is loading on frame 1. I only have one layer with content on it on frame 1 and that is the preload Gfx
- Seanbot0
try changing your wmode to opaque or transparent... and make sure the area behind the flash is set to #000
- 187LockDown0
respect..did it! Still wondering why my preloader does not load faster though. I think the problem miight be because I have on my mainstage a moviclip. In that movieclip is all the content with a preloader on frame 1. I'm thinking I need to get rd of the movie clip and put everything on the mainstage (_root)
- 187LockDown0
So what I did was just put wmode to transparent and in the table I had the flash movie I put background image that is really small in file size that says loading. Now it looks fine. Thanks for the help guys.
- PonyBoy0
sorry to burst your happy bubble, 187...
...i just ran the site... biiiiiig white background where the swf is placed... :)
I'm on a pc, Firefox.
two other issues:
param name="wmode" value="transparent" won't be effective on a Mac... and on a PC, I see you're still embedding your swf w/object tags...
... on IE7... you have to click to activate the flash (shitty... this isn't your fault at all.. but MS being greedy... I won't go into it)... but there is a work-around... use swfObject:
http://blog.deconcept.com/swfobj…
Now... about the white background... what color is the background of your stage in Flash?... make sure that's black like the rest of your page, then use swfObject to embed the swf... there are parameters that the swfObject allows you to control... such as background color also... :)
Happy Flashing!