Forum Moderators: open

Message Too Old, No Replies

javascript + flash - border?!

having trouble figuring out what is making a border

         

geekwannabe

7:52 pm on Jan 24, 2008 (gmt 0)

10+ Year Member



I have taken over this website and trying to work with the flash that is embedded into javascript. I am so confused because i keep putting codes that say no border but it isn't working. When I open the swf files it seems that there might be a little border, but my boss says that there isn't any borders. I don't have access to the original flash files and I am very new to Javascript.

Here is some of the code:

 [3]
<td colspan="4" align="left" valign="top" style="border: 0 none; margin:0; padding:0;">[/3]

 [3]<script type="text/javascript" src="/js/swfobject.js"></script>[/3]

 [3]<div id="iphone_intro" style="border:none; margin:0; padding:0; vertical-align:top; border-top:none;"><img src="/images/iphonegraphic.gif" height="220" width="770" border="0" style="border:none; margin:0; padding:0;"/></div>[/3]

 [3]<div style="border:none; margin:0; padding:0; vertical-align:top; border-top:none;">
<script type="text/javascript">var so = new SWFObject("/movies/iphone_intro.swf", "mymovie", "770", "220", "8", "#CCCCCC"); so.addParam("menu","true"); so.addParam("loop", "false"); so.addParam("quality", "high"); so.addParam("wmode", "transparent"); so.addParam("salign", "tl"); so.write("iphone_intro");
</script></div>[/3]

Please let me know if you want to see the page where it is happening.

eelixduppy

10:03 pm on Feb 5, 2008 (gmt 0)



Welcome to WebmasterWorld!

What I see real quick is that there is nothing you are doing that would add a border. If you looked at the flash file (outside of the browser) by itself and you say that there may be a little border there, you are probably right. Since you do not have access to edit the original file, you are either stuck with what you have, or you are going to have to manipulate the size of the embedded flash to crop the edges all around. See what you can get through experimentation.