[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 185
  • Last Modified:

Another Resize Question

In HTML I can define the width of an JPG image to be 100%. If I put that image in a table with a width of 40%, I can resize the window and the table will become wider and smaller, always taking up 40% of the screen space. Resepectively, the JPG image will resize itself to fit 100% of the table, getting bigger and smaller with the screen.

I would like to do this with a flash movie. I'm not very experienced in flash, but I've managed to build a game that I want to resize the same way as a JPG image. So far I have been able to make it resize, but then one of two things happens depending on my Flash publishing settings:

1) When the movie gets smaller, a white frame appears on the top and the bottom.

- or -

2) The movie does not scale properly and becomes squished or stretched.

I just want it to resize like the JPG image does. Here's how I'm getting the JPG to resize correctly in HTML:

<table border="0" cellpadding="0" cellspacing="0" width="40%">
  <tr>
    <td width="100%">
    <img border="0" src="testimage.jpg" width="100%"></td>
  </tr>
</table>

I've read a bunch of other answers about flash resizing and I'm not finding anything helpful to my problem.
0
cnxmax
Asked:
cnxmax
  • 3
1 Solution
 
BillystyxCommented:
try this tutorial:

http://moock.org/asdg/technotes/relayout/

billystyx
0
 
BillystyxCommented:
does this help? Please provide some feedback:)

Billystyx
0
 
BillystyxCommented:
If not, please post a comment or a question or some progress on before. Thanks:)
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

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