Hello and welcome to our community! Is this your first visit?
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New Coder
    Join Date
    Jul 2009
    Thanked 0 Times in 0 Posts

    Question How can I stretch flash background without movie resize?


    I'm having flash movie with black background. I want the background to be stretched 100% in browser window, but I don't want to resize content of movie. How can I do that? If I set flash movie size to 100% it stretches content as well, but I want content to stay fixed size in center. Is there a way to make it? It is made on all professional flash websites.


  • #2
    New Coder
    Join Date
    Mar 2009
    Uk, North
    Thanked 3 Times in 3 Posts
    I think - if I'm understanding your question/problem - that generally the flash item is placed, perhaps in an html <div> tag, which has the black background to it...
    so it's actually the containing div element that expands to the browser width and not the Flash item though it looks like it does... a little slight of hand magic trick .

    If there is imagery in the black background (as opposed to just plain flat solid black), then the same is possible with a background image to the html div that matches the Flash and the two are carefully positioned to look like it's all one thing. Bit more challenging but not too much hard work to do.

    Hope this helps.


    Posting Permissions

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