Solved

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

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

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo…
Boost your ability to deliver ambitious and competitive web apps by choosing the right JavaScript framework to best suit your project’s needs.
The viewer will learn how to dynamically set the form action using jQuery.
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.

758 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