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
Solved

A webpage that automatically resize the flash according to the monitor resolution.

Posted on 2004-08-23
5
656 Views
Last Modified: 2012-06-27
Hi Expert,
I want to have a webpage that automatically resize the flash according to the monitor resolution.
Can someone help?
0
Comment
Question by:comnetz
  • 3
  • 2
5 Comments
 

Expert Comment

by:Crazy_Penguins
ID: 11878259
Yes Sir, this is how you would do that:

<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
 codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0"
 WIDTH="100%" HEIGHT="100%" id="PEDIflash" ALIGN="center">
 <PARAM NAME=movie VALUE="YOURFLASH.swf"> <PARAM NAME=quality VALUE=high> <PARAM NAME=bgcolor VALUE=#000000> <EMBED src="YOURFLASH.swf" quality=high bgcolor=#000000  WIDTH="100%" HEIGHT="100%" NAME="PEDIflash" ALIGN="center"
 TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED>
</OBJECT>

For an example, go to http://www.pediplastics.com
0
 

Accepted Solution

by:
Crazy_Penguins earned 50 total points
ID: 11878279
Please note to change the id, src, and NAME tags to reflect your own SWF file, this was a copy/past from one of the websites that I maintain - see example.
0
 

Author Comment

by:comnetz
ID: 11878726
Hi Crazy_Penquins,
How should I change id, and NAME from your example code:
id="PEDIflash" ... NAME="PEDIflash" ... ?
Thank you.
0
 

Expert Comment

by:Crazy_Penguins
ID: 11878765
the Name and ID can be whatever you want.  for example, if it is the only flash on the page, name it somethings like "main" - for this usage it really does not matter, you can even leave it PEDIflash if you want.
0
 

Author Comment

by:comnetz
ID: 11889055
Thank you for your help.
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.

Question has a verified solution.

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

There’s a good reason for why it’s called a homepage – it closely resembles that of a physical house and the only real difference is that it’s online. Your website’s homepage is where people come to visit you. It’s the family room of your website wh…
When crafting your “Why Us” page, there are a plethora of pitfalls to avoid. Follow these five tips, and you’ll be well on your way to creating an effective page.
This video teaches users how to migrate an existing Wordpress website to a new domain.
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

856 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