Forum Moderators: open
I wanted to use preloaders but my client says no they want a static gif above the player controls. I have seen this done on other sites but I cannot figure this out. I code in the image with a div tag above the swf embed code using transparent in the embed code and all I see is a blank screen until the movie has downloaded and my controls are gone when it loads.
So I am wondering do I need a transparent title page in the swf so it will show the image or what?
Code where image will go:
(<div id="flashcontent">
This text is replaced by the Flash movie.
</div>
)
Here is my embed code:
(<script type="text/javascript">
var so = new SWFObject("capture3.swf", "mymovie", "640", "480", "8", "#336699");
so.addParam("quality", "low");
so.addParam("wmode", "transparent");
so.addParam("salign", "t");
so.write("flashcontent");
</script>)
Thanks!
[edited by: eelixduppy at 3:11 pm (utc) on Feb. 5, 2009]
[edit reason] no URLs, please [/edit]
<div id="flashcontainer">
<div id="flashcontent">
This text is replaced by the Flash movie.
</div>
</div>
#flashcontainer { url(some-background-image.gif) top left no-repeat;}
The background image of the parent container would not get replaced, so you'd have to position it so that when the Flash does load it completely covers it.
They are also using SWFObject 2.0 to drive this thing.