Solved

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

Posted on 2004-08-23
5
651 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

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 …
Developer portfolios can be a bit of an enigma—how do you present yourself to employers without burying them in lines of code?  A modern portfolio is more than just work samples, it’s also a statement of how you work.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
Any person in technology especially those working for big companies should at least know about the basics of web accessibility. Believe it or not there are even laws in place that require businesses to provide such means for the disabled and aging p…

912 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now