Solved

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

Posted on 2004-08-23
5
661 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
[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
  • 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

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

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

An enjoyable and seamless user experience can go a long way on an eCommerce site. While a cohesive layout and engaging copy play roles in creating a positive user experience, some sites neglect aspects that seem marginal but in actuality prove very …
Color can increase conversions, create feelings of warmth or even incite people to get behind a cause. If you want your website to really impact site visitors, then it is vital to consider the impact color has on them.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

726 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