A Flash Developer Resource Site

Results 1 to 5 of 5

Thread: Simple Positioning/Scale Question?

  1. #1
    Member
    Join Date
    May 2007
    Posts
    80

    Simple Positioning/Scale Question?

    Firstly Yes I have searched around for this but theres so many results that havent worked for me i have decided to just ask the question myself.

    I have a full screen browser flash page, and at the bottom of the flash content i want a bar that shows the same old copyright mumbo jumbo that always hugs the bottom and that resizes its width to fit the full length of the browser? initial example of this can be seen here (the orange bar) http://www.mandchou.com/

    Does anyone know how to achieve this? Thanks

  2. #2
    Senior Member
    Join Date
    Nov 2004
    Location
    Toronto, Canada
    Posts
    194
    you can use Stage.width and Stage.height in fullscreen mode with onResize to change the xscale of the bar movieclip, or use lineTo to redraw the bar everytime.

  3. #3
    Member
    Join Date
    May 2007
    Posts
    80
    This means nothing to me, can you be more precise?

  4. #4
    Member
    Join Date
    May 2007
    Posts
    80

    Closer...

    I have got the desired effect I am after, the bar doesnt stay in its fixed position when its resized but it fits the browsers width, but there is 1 problem..the bar isnt hugging the bottom of the content!! Can anyone help me fix this please!? I have attached a mock up .fla file. Sorry about my AS coding i really am amateur at it
    Attached Files Attached Files

  5. #5
    Senior Member
    Join Date
    Aug 2000
    Location
    Montréal
    Posts
    14,141

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