View Full Version : Floating Flash Object
jamespowell1989
01-28-2009, 11:51 AM
Hi,
I would like to create a floating flash object so that it always stays on the bottom right of an open window.
I have the flash file that i'd like to use but no script to get it working.
Please could someone help me find some script so that I could create this floating flash object on my web page?
Thanks a lot, it is much appreciated! :)
Since I don't know Flash that much - I can tell you how to do it with CSS.
<style type="text/css">
#box {
position: fixed;
bottom: 0;
left: 0;
height: 200px;
width: 200px;
background: blue;
}
</style>
<div id="box"></div>
Didn't test it in IE.
jamespowell1989
01-28-2009, 03:09 PM
Hi, thanks a lot! Is it possible to create a floating iframe or layer that I could put my flash file into so that it would move???
Would I be able to put my flash .swf file into the code you just gave?
Thanks again!
Lumpy500
01-28-2009, 09:02 PM
css just gives what itll look like
if u want you could show the file either by iframe aka <iframe name="iframe id="iframe src="link_to/flashfile.swf" width="200px" height="200px"></iframe> which you could put inside the other guys <div id="box"></div> code
tho you can do
<?PHP
include('file_to/flashfile.swf');
?>
inside the box.
im sure about making it so it starts when people want it to, maybe you could implament that yourself on the flash file?
Powered by vBulletin® Version 4.2.2 Copyright © 2021 vBulletin Solutions, Inc. All rights reserved.