Web Hosting Talk







View Full Version : I need help making a Flash movie stretch 100%


vito
08-11-2005, 12:09 PM
I currently have a Flash file 780x100. It has a number of images scrolling across the stage for 20 seconds, then stops.

I have now converted the site to 100% fluid width as opposed to a fixed 780 px width.

I need to know how I can modify this flash file to stretch to 100%. I obviously do not want to distort any of the images. So how do I do this properly?

Vito

Dan L
08-11-2005, 12:18 PM
Have you tried style="width: 100%;" ?

I doubt it will stretch nicely unless it's vector.. also, if the height doesn't expand relatively, it will probably look even more distorted.

It's too bad there isn't a "size" attribute.

vito
08-11-2005, 12:21 PM
Yeah, that's the problem. The height needs to remain the same. Basically, I just need to stretch the stage. For instance, in 800x600, it will show, let's say, 8 images across. But in 1024x768, it will still be 100 high, but it will display 10 images at a time.

Vito

Dan L
08-11-2005, 03:35 PM
You could try making it 1280px wide and putting it in a div with style="overflow: none;"

That way people will only see as much as their screen allows.

This all depends on whether or not the script needs to know how many products they're viewing..