• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 195
  • Last Modified:

Resize Header based on Resolution

I am trying to put in a flash header for our website.  I have created the flash and it works great.  Here is the problem.  My site is set up in a table format.  There are 4 rows and 5 columns.  Here is my first row
Column 1 is empty
Column 2 is our company logo
Column 3 - Column 5 is where I want the flash to go.

The problem is that depending on the resolution of the screen the user is using my flash movie either fits perfectly (middle(1024) res), is too short (high res) or is getting cut off (low res).  Is there anyway to stretch or shrink the .swf when I put it there?  I'm not worried about the hieght just the width.  Thanks for the help.  
0
trifecta2k
Asked:
trifecta2k
  • 4
  • 3
2 Solutions
 
FLAASHERCommented:
in your HTML code make the width of your SWF 100%

this way it will be as you want

FLAASHER
0
 
trifecta2kAuthor Commented:
That doesn't seem to work.  When I made the width="100%" the swf actually showed up smaller than when I had no width declared.  
0
 
trifecta2kAuthor Commented:
Sorry I did it wrong.  It worked, but I had text on the very left side and when the movie stretched out, it moved my text to the right.  Is there anyway to make that text stay on the left border no matter what?
0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
FLAASHERCommented:
0
 
trifecta2kAuthor Commented:
Thank you FLAASHER
0
 
FLAASHERCommented:
U welcome ...
is it OK now .. ???

FLAASHER
0
 
trifecta2kAuthor Commented:
Works great.  I just needed to add the following action script:

Stage.align = "L";
Stage.scaleMode = "noScale";

Once I added that it worked fine.  Thanks again!
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 4
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now