How to decrease the padding around a swf movie (widget)
I've created a flash object (.swf) and placed it inside of a Widget (Google Gadget) so that it can be properly centered. The problem I have now is the space (padding) around the swf.
I want to reduce (or remove) the padding around swf object - is there a way I can do this?
Below is the HTML I dropped in the Widget object (embed tags removed):
I want to reduce (or remove) the padding around swf object - is there a way I can do this?
Below is the HTML I dropped in the Widget object (embed tags removed):
object width="900" height="350">
embed src="http://mydomain.com/resources/Flash/caption.swf" quality="high" wmode="transparent" width="900" height="350" align="middle" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer">
embed
/object
1
person has this question
I have this question, too!
Tell me when someone answers.
The more people who ask this question, the more it gets noticed.
The more people who ask this question, the more it gets noticed.
The company marked this question as answered.
-
Inappropriate?Hello Mk,
I am not exactly sure how to do that and will see what I can find out!
Emmy
-
Inappropriate?Hello Mk
Would you mind posting the page url where you have this code so that I can take a closer look at it and hopefully give you suggestions as to how we can decrease the padding. Thanks! -
Inappropriate?I think rather it has to do with either the flash size out of perfect or the SWF itself than a code issue. Flash files are quite simple beasts and if properly sized contain no padding as such unless placed there by the designer in the FLA file before becoming a SWF media.
It is kind of like a TV and the Screen. The Screen the is the flash and the code is the box the screen sits in. In your case the code you used contains no padding and would have a flash to background transition.
If in the code you use the width and height settings are not set to the flash files actual settings sometimes this creates a colored border around your flash or more often than not a white border which restricts other objects placed on top, bottom or side from coming in contact with the flash. I have had flash components on most of my sites and found with some (not all) this happens frequently.
To begin with I would play around with the width and height settings (most often it is 2 times for height and 2 times for width per code)
I posted a thread here which may be what you are looking for as you have the option to adjust the dimensions and see with one click if it is properly set. It is really perfectly suited for you I think. http://forum.yola.com/yola/topics/eas...
MK could you post the URL to the page which contains the flash media? That would speak volumes and be most helpful to find out the cause.
Happy site building
Ed
You can find me with my head in the honey pot here..
Honey Bear Playhomes Tips and Favs in one place... A Honey bear Playhomes Tip ;)
Loading Profile...




EMPLOYEE
CHAMP