Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Windowless Flash

Status
Not open for further replies.

Avalanche33

Technical User
May 15, 2006
2
CA
I am trying to create a windowless flash add that "hovers" above jpgs for about 2 seconds and then disappears and lets the user click on pictures or whatever. (After it disappears if they right click it, I want the save picture as prompt, not the flash one.)
Everytime I try this, the image is at the top of the screen
and the images are pushed down below it.
Help please!!!
The net version is here:

Here is what I have so far for html:

<OBJECT>
<BODY bgcolor="#FFFFFF">
<div id="id-div" style="center: 20; center: -70; width: 70; height: 90; position: absolute">
<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase=" WIDTH="800" HEIGHT="800" id="atcha" ALIGN="center">
<p>RAIDERS</P>
<PARAM NAME=movie VALUE="atcha.swf">
<PARAM NAME=Loop VALUE="false">
<PARAM NAME=quality VALUE=high>
<PARAM NAME=wmode VALUE=transparent>
<PARAM NAME=bgcolor VALUE=#FFFFFF>
<EMBED src="atcha.swf" quality=high wmode=transparent bgcolor=#FFFFFF
WIDTH="800" HEIGHT="800" NAME="RaiderWin" ALIGN="center"
TYPE="application/x-shockwave-flash"
PLUGINSPAGE="</OBJECT>
</div>
 
Thanks for the info but,

Exactally how would you do that?

 
For instance like this:

Your FLA for when it disappears:
getURL("javascript:moveawaymyflashdiv()");

Your HTML file:
<script>
function moveawaymyflashdiv()
{
document.getElementById("id-div").style.left = -1000;
}
</script>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top