Is it possible to have a transparent flash piece float over top of HTML

Is it possible to have a transparent flash piece float over top of HTML. For example I want to have a standard page and have a flash piece that will float over top of the page. I would then have a guy walk out and start spray painting over the page. Anyone know if something like this can be accomplished?
894359Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Aneesh ChopraCommented:
Hi,

yes can be done,

use div(layer) and set wmode=transparent  in flash object tag..

here is the sample code.
-----------
1.
put this code in HEAD
----------
<style type="text/css">
<!--
#Layer1 {
      position:absolute;
      width:200px;
      height:115px;
      z-index:500;
}
-->
</style>
-------------

2.
put this code in HTML BODY
----------
<div id="Layer1">
  <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="200" height="200">
    <param name="movie" value="myFlash.swf" />
    <param name="quality" value="high" />
    <param name="wmode" value="transparent" />
    <embed src="myFlash.swf" width="200" height="200" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" wmode="transparent"></embed>
  </object>
</div>
-----------


Rgds
Aneesh

0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Aneesh ChopraCommented:
more info.

div is used to create a floating layer over html contents..
parameter <wmode=transparent> makes a swf transparent

Rgds
Aneesh
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Adobe Flash

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.