dcsimg
A Flash Developer Resource Site

Results 1 to 6 of 6

Thread: Flash animation in Background

  1. #1
    Junior Member
    Join Date
    Jul 2001
    Posts
    2

    resolved

    I am looking for a way to place a fixed Flash animation in an HTML document. When viewed in a web browser, the animation should fill the screen in the background, but stay fixed when scrolling.

    Is there ANY way to do this? Thanx.

    -horse|dude

  2. #2
    Junior Member
    Join Date
    Jul 2001
    Posts
    10
    I never did that before but you can try it :

    Use a

    <style type="text/css">
    <!--
    body{background-image: url(images/bg.gif); background-repeat: no-repeat;
    background-attachment:fixed}
    file://-->
    </style>

    and replace "images.bg.gif" by your html flash code.

    Let me know if it works !
    thanks

    Bryce@free.fr




    Originally posted by horsedude
    I am looking for a way to place a fixed Flash animation in an HTML document. When viewed in a web browser, the animation should fill the screen in the background, but stay fixed when scrolling.

    Is there ANY way to do this? Thanx.

    -horse|dude

  3. #3
    Junior Member
    Join Date
    Jul 2001
    Posts
    2

    resolved

    Thanx Skeet, but it didn't work for me. If there is a way, I don't know enough about HTML code to tweak it what you provided to make it work.

    when u said "replace 'images/bg.gif' by your html flash code" what exactly did u mean. Use all the code written to put a flash animation in HTML or just put the flash filename?

    -horse|dude


    [QUOTE]Originally posted by Skeet007
    [B]I never did that before but you can try it :

    Use a

    <style type="text/css">
    <!--
    body{background-image: url(images/bg.gif); background-repeat: no-repeat;
    background-attachment:fixed}
    file://-->
    </style>

    and replace "images.bg.gif" by your html flash code.

    Let me know if it works !
    thanks

    Bryce@free.fr

  4. #4
    Junior Member
    Join Date
    Jul 2001
    Posts
    10
    I'm workin on it !
    and I let you know in 15 min

  5. #5
    Junior Member
    Join Date
    Jul 2001
    Posts
    10
    Your daim right, it doesn't work,

    I apologize, but it could be very intersting, however, I'm looking forward.

    If it can help you, you can use an animated gif instead of the movie, depends what your ptoject is !!!!

    Skeet

  6. #6
    Junior Member
    Join Date
    Mar 2000
    Posts
    28
    You are probably going to have to use layers and some css. Look at this article on CNET's builder.com and maybe you can modify this to work:

    http://builder.cnet.com/webbuilding/...90-8-5934478-9

Posting Permissions

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




Click Here to Expand Forum to Full Width

HTML5 Development Center