.swf as background in html

can i use my flash file let say bg.swf as my bg in html?
how is the html coding?

I think it’s impossible … 'cause we’re using the embedd tag to insert flash movie into HTML. But i suspect usign the WMODE = transparent to make out any special effect like bg but i’m not sure… :h:

so…if i wanna used embedd tag, how’s the code. plss

<embed src=“http://www.yourpage.com/mysswf.swf" quality=“high” pluginspage="[url=“http://www.macromedia.com/go/getflashplayer”]http://www.macromedia.com/go/getflashplayer” type=“application/x-shockwave-flash” width=“600” height=“325”></embed>

but the flash file will be infront of all other thigs right…?
it will not become the bg i guess

i’ve tried but it cover all other things…so i’m not ganna use it…but thanks very much abhilashkk.

You cannot have a Flash file as an HTML page background due to the fact that it must be embedded in the HTML file using the embed tags.

However, if you set the wmode to transparent for the movie you can use DIV tags and z-index to make it appear as though your HTML content is over the Flash movie. Though, this can be picky cross browser and not really recommended.

Why would you want a Flash movie to be a background though? It would seem a bit too distracting if you ask me :x

i just wanna have a simple animation bg,that’s all…but since it can’t be done, i just stick to the common Jpeg bg.
thanks lostinbeta.

Try File> Export Movie then change the Save As Tye to Animated GIF, this will solve your problem

wow…i didn’t think of that. thanks helmz!

Notes about that method: All animation must be contained on the main timeline (nothing inside movieclip symbols) and all actionscript will be stripped upon exporting it as a gif, so don’t control any of your animation via actionscript.

Also it is common for image quality to decrease when using Flash to export any of the content as an image. Macromedia really needs to fix this one :frowning: