# Showing a flash movie as background on an asp.net webpage

**URL:** https://forum.kirupa.com/t/showing-a-flash-movie-as-background-on-an-asp-net-webpage/213841
**Category:** flash
**Created:** [January 23, 2007, 6:36pm UTC](https://forum.kirupa.com/t/showing-a-flash-movie-as-background-on-an-asp-net-webpage/213841 "2007-01-23T18:36:25Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![LianaEnt](https://avatars.discourse-cdn.com/v4/letter/l/d6d6ee/32.png) [@LianaEnt](https://forum.kirupa.com/u/LianaEnt)
#### Post date: [January 23, 2007, 6:36pm UTC](https://forum.kirupa.com/t/showing-a-flash-movie-as-background-on-an-asp-net-webpage/213841/1 "2007-01-23T18:36:25Z")

</div>

Hi all! I’m brand new on here, so I’m doing like they say, and saying Hello!

I know there’s been a lot written about this, but I’ve yet to see a code sample. I’ve been using [asp.net](http://asp.net) 1.1 ([vb.net](http://vb.net)) for over a year, but have not done much with CSS files or Div tags. From what I’ve read it looks like you need to use these. However, there seems to be a lot of differing opinions on that. I’m brand-spanking new with Flash (though the code looks very C#-ish).

At first I tried using layers and motion guides to create gifs, but after 3 layers the gif animation started slowing down immensely. That was just 3 snowflakes! I can imagine how slow 75 snowflakes would be! That’s when I found the snowflake tutorial.

So then I created a snowflake-like Flash Basic 8 movie with the associated swf/fla/gif/html files. Now, I have all these files, but I do not know how to make them/it play as a background on my webpage. I’ve seen plenty of webpages like this so I know it’s possible.

I tried adding the Flash generated html to my webpage code-behind , but then the design view became just all black. Even the generated html page itself creates an all-black display. It seems you need the swf file to see the animation properly. The generated gif file is static, probably because the movie only uses 1 frame. Someone said something about layering the webpage using div tags and the CSS style sheet, but I couldn’t get that to work. They also mentioned designing the whole web page in Flash, but I already know and love [asp.net](http://asp.net), so can’t it be done through [asp.net](http://asp.net)?

THANKS!  
Larry
