Solved

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

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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

"In order to have an organized way for empathy mapping, we rely on a psychological model and trying to model it in a simple way, so we will split the board to three section for each persona and a scenario and try to see what those personas would Do,…
Get to know the ins and outs of building a web-based ERP system for your enterprise. Development timeline, technology, and costs outlined.
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
This video teaches users how to migrate an existing Wordpress website to a new domain.

816 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

11 Experts available now in Live!

Get 1:1 Help Now