Results 1 to 4 of 4

Thread: Floating Flash Object

  1. #1
    Join Date
    Jan 2009
    Posts
    6
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Question Floating Flash Object

    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!

  2. #2
    Join Date
    Jan 2008
    Posts
    4,168
    Thanks
    28
    Thanked 628 Times in 624 Posts
    Blog Entries
    1

    Default

    Since I don't know Flash that much - I can tell you how to do it with CSS.
    HTML Code:
    <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.
    Jeremy | jfein.net

  3. #3
    Join Date
    Jan 2009
    Posts
    6
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default

    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!

  4. #4
    Join Date
    Jan 2009
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    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?

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •