A Flash Developer Resource Site

Results 1 to 11 of 11

Thread: resizable background with constrained foreground

  1. #1
    Junior Member
    Join Date
    Apr 2007
    Posts
    2

    resizable background with constrained foreground

    hey guys

    I'm trying to develop a website that doesnt scale the menu or the information inside it but scales the background behind it to fit your browser size.

    something similar to http://www.cuttingedge.com.au

    notice how the background gradiant can be resized, however everything else maintains its proportions.

    What I'm trying to do is get a background animation that appears on the website that can be resized to the browser size but have a field, or layer, or movie clip (if i have to) that keeps its original proportions.

    So thats a background that changes size with browser resize
    and a foreground that, though it isnt static, maintains original proportions.

    Thanks for your time, any help is greatly appreciated.

  2. #2
    Ryan Thomson EvolveDesigns's Avatar
    Join Date
    Oct 2001
    Location
    British Columbia
    Posts
    3,338
    one method would be to set your publish settings to Dimensions=percent and Scale=No scale, then make your background graphic way bigger than thedimensions of your movie
    Evolve Designs Interactive Media
    the natural selection

  3. #3
    Senior Member
    Join Date
    May 2003
    Location
    London
    Posts
    122
    I need to know exactly the same thing,
    I'm working on this site:
    http://www.othersidecreation.com/cli.../whynot/glitz/
    and i need the text to stay at a set size and not scale, and i need the background animation to fill the entire browser window.
    Can anyone help?

  4. #4
    Senior Member
    Join Date
    May 2003
    Location
    London
    Posts
    122
    it's ok, i've done it now.
    cheers

  5. #5
    Junior Member
    Join Date
    Oct 2007
    Posts
    4

    scaling movie clips in flash and aligning left / right

    Hi Guys,

    I have one further step from this that i need to figure out..

    how do you align movie clips in your flash movie so that they either align right or left right up against the edge of the browser window such as with this example - http://www.sanctuary2007.com/

    if you look at the footer bar at the bottom there is an mp3 player that aligns right and the developers logo that aligns left always.

    also if you also play around with your browser size you will notice that all the flowers etc move independently. they are either aligned left or right but then move independantly when you resize the browser. I know its a lot to ask but someone out there must have an idea?

    cheers!

  6. #6
    Junior Member
    Join Date
    Oct 2007
    Posts
    4
    please help somebody.. once i have got an idea of how to do this I can start putting together some stuff!

  7. #7
    Junior Member
    Join Date
    Nov 2005
    Posts
    18
    Quote Originally Posted by martinstaceyuk View Post
    it's ok, i've done it now.
    cheers
    Could you post how you did it, I need this code too (and so anyone else who comes here in the future can find it)?

  8. #8
    Junior Member
    Join Date
    Dec 2009
    Posts
    2
    yeah...that annoys me too somebody figures something out then doesn't post the answer...grrr...I could have used this too...

    Adam

  9. #9

  10. #10
    Junior Member
    Join Date
    Dec 2009
    Posts
    2
    thx for taking the time to post whispers...links very helpful

  11. #11

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