sunday flash help
- Started
- Last post
- 12 Responses
- linearch
could use some flash help on a rainy LA sunday. much thanks in advance.
so i have a swf that resizes and centers dependant on the image size. it allgood. then i export the swf with no scaling and stage top center aligned and put in html with the width and height set at 100% as to acheive the full flash effect in the browser...allgood there. the problem is that the html centers the swf, then the movie clip centers off the swf dimensions, aka it is not centered in the browser window. is there anyway to have the mcs center to the browser center and not the swf dimensions center? anybody know what i'm talking about? you can see it here: http://www.nickeykehoe.com
thanks so much peoples.
//c
- instantok0
firefox & safari don't like flash objects with 100% height and width...if you look at your page in IE it looks right...try this:
http://blog.deconcept.com/2005/0…
that should do it...if not there are a bunch more options here:
- linearch0
instantok...thanks so much for the links...great to get that CSS code. but alas, that does not fix my issue. even in IE, you can notice that the contents line up too far right. i'm stumped.....
- instantok0
really?...clear your cache...it works for me...cuts off the logo for the tall photos though
- linearch0
i just took out the stage align stuff in the fla and it work now....thanks a ton......instantok, what is your screen res?
- clone0
is it supposed to scale to window size like that when i view things its always in a 800x600 window and on my 1600 x 1200 resolution it seems really small but centered in ff
im jealous though i havent been able to do that whole scale movie size to image size like you have there very nice
- linearch0
thx clone...i'll help you out once i can get this to work....if i put in noScale deally, it will not align properly, but it will not scale. if i do put it in, it aligns properly but scales....any clue...i'm freaking out...
//c
- clone0
line-
check mail
- linearch0
i figured it out. if anyone cares... i had centerx and centery equaling Stage._width and Stage._height divided by 2, so that it would center the swf in the browser then the mcs would center off the swf dimensions.....i just changes the center x and y to numeric values....thanks for your help you all.
//c
- clone0
see i knew it had to do with that askew stuff in my email
see see?
maybe not really i dont know
- instantok0
looks good...my screen res is 1680x1050 but i keep my browser window at 1024x768...so the logo and footer cut off on the taller photos (they appear if i make the window bigger than 1024x768)
- clone0
you might want to limit your photo size ala