Solved

Resize Header based on Resolution

Posted on 2006-10-31
7
182 Views
Last Modified: 2012-05-05
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
Comment
Question by:trifecta2k
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
7 Comments
 
LVL 13

Accepted Solution

by:
FLAASHER earned 500 total points
ID: 17846205
in your HTML code make the width of your SWF 100%

this way it will be as you want

FLAASHER
0
 
LVL 5

Author Comment

by:trifecta2k
ID: 17850123
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
 
LVL 5

Author Comment

by:trifecta2k
ID: 17850202
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
[Live Webinar] The Cloud Skills Gap

As Cloud technologies come of age, business leaders grapple with the impact it has on their team's skills and the gap associated with the use of a cloud platform.

Join experts from 451 Research and Concerto Cloud Services on July 27th where we will examine fact and fiction.

 
LVL 13

Assisted Solution

by:FLAASHER
FLAASHER earned 500 total points
ID: 17852562
0
 
LVL 5

Author Comment

by:trifecta2k
ID: 17853061
Thank you FLAASHER
0
 
LVL 13

Expert Comment

by:FLAASHER
ID: 17853077
U welcome ...
is it OK now .. ???

FLAASHER
0
 
LVL 5

Author Comment

by:trifecta2k
ID: 17853338
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

Salesforce Made Easy to Use

On-screen guidance at the moment of need enables you & your employees to focus on the core, you can now boost your adoption rates swiftly and simply with one easy tool.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article describes a solution to a problem of subloading one movie into another when they have different SWF versions. Sometime back, I was working on an ActionScript project while I came across an interesting fact which I would like to share…
I have been doing hardcore actionscripting for some time; and needless to say I have faced a lot of problems in just understanding others' code rather than understanding what the code executes. A programmer's life can become hell when there are a lo…
In this tutorial viewers will learn how to create a basic motion tween animation in Flash Open a new document in Flash: Draw/import an image: Press CTRL + F8 to convert it into a graphic symbol: Select a frame (how long you want the tween to last): …
In this tutorial viewers will learn how to create a basic shape tween animation in Flash including shape hints for smooth animation Open a new document in Flash: Draw a shape: Select another frame (how long you want the tween to be): Right click and…

623 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question