Forum Groups
  All forums
    Help & Feedback
      Work in progress
      Finished Art
      Non-Max related

Maxunderground news unavailable

help with flash based website?
show user profile  aniworld
hi i realise this isn't a max question but i was hoping somone would be able to help me?

i've created a simple website in flash (not yet live)
but i want to be able to scale the borders on one layer without scaling the movie which is on another layer??

i know how to set it for noscale but this effects the whole site?

thankyou for any help/advice given :)
read 500 times
8/5/2009 9:07:48 AM (last edit: 8/5/2009 9:07:48 AM)
show user profile  Stephen R.
if it's on a whole different layer, scaling it using a classic tween shouldnt effect anything else on any other layers, just make sure its on a layer by itself.

read 486 times
8/5/2009 9:34:46 AM (last edit: 8/5/2009 9:34:46 AM)
show user profile  aniworld
sorry i didn't really explian that well (my bad)
i ment scaling within the browser,
so that the borders scale with the browser but the movie remains fixed
any ideas?
read 482 times
8/5/2009 9:39:50 AM (last edit: 8/5/2009 9:39:50 AM)
show user profile  Stephen R.
the border would have to be outside the flash movie and applied to a div or the like in the html/css with its width set to a % (which IE does not handle well), so that when the browser is resized it grows/shrinks accordingly.

maybe if you explained why this needs to be done and what it would accomplish I could suggest maybe a better route?

read 476 times
8/5/2009 9:51:28 AM (last edit: 8/5/2009 9:52:02 AM)
show user profile  aniworld
ok im trying to create a site similar to this:

all im after really is a set of borders (top and bottom)
which will scale with the browser but leave the movie in the middle fixed?
and maybe the buttons aswell?
(so the the border can overlap the movie)

i've used tables on dreamweaver but cant get on with layers as there fixed by the pixels?

any ideas?
read 467 times
8/5/2009 9:58:08 AM (last edit: 8/5/2009 9:59:06 AM)
show user profile  Stephen R.
all you are seeing there is that the width and height of his .swf are set to 100% when embedded on the page, and when you scale you are just seeing the edges of his movie show up because the window shrank too small in one direction. If you just built out your page to look like that in flash and exported it as normal and set the width and height to 100% it would do the same thing.

oh, and never use tables for layout, ever. Tables should only be used for organizing data.

read 455 times
8/5/2009 10:12:26 AM (last edit: 8/5/2009 10:12:58 AM)
show user profile  aniworld
ah yes i see what you mean but theres still holds its aspect ratio if you know what i mean
on mine i can squish my video right up where as there's hold ratio,
but my other concern is that if someone opens the page on a large screen my movie in the middle would pixelate?
which was why i was hoping to set it to not scale?
any ideas how to make it hold ratio?
read 449 times
8/5/2009 10:24:34 AM (last edit: 8/5/2009 10:24:34 AM)
show user profile  Stephen R.
in css you can set a min-height and min-width and/or max-height and max-width so that it never gets too big, so if someone on say a 2480x1900 monitor views it, it would be in the center with black around it.

Flash elements should all automatically retain their aspect ratio.

This is literally all there is to his entire site:

read 437 times
8/5/2009 10:35:06 AM (last edit: 8/5/2009 10:38:44 AM)
show user profile  aniworld
yes your right what he's done is made the borders really wide so that they fit all aspect ratio
i've just done this and now it all work as his! yay!!

thankyou for leading the way :)

what i was doing was settin mine to exact fit which was making everything really narsty!
but all looking better now

thanx again :)
read 427 times
8/5/2009 10:43:59 AM (last edit: 8/5/2009 10:43:59 AM)
#Maxforums IRC
Open chat window