Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Flash Box

Status
Not open for further replies.

crazywheelies

Technical User
Feb 15, 2007
3
BS
I've done it before, but now...it seems as if I just can't get it. :(

Here's my site
I want to remove the boxes around the flash files.
I've already managed to take it off the top bar and buttons. Unfortunately, I let this project go a bit and
I've forgotten how to do it. :( Trying and trying to no avail. If someone out there can copy and paste and change the code for it to work...to at least show me where I may be going wrong. I'd GREATLY appreciate it.


Thanks.

Frustrated and confused. :)

Cara Chan
 
youre using swfobject to get around having the box around the swfs (it uses javascript to write the object and embed tags in the html)

however the movies that still have the box are included in the html page using regular object and embed html tags, not using SWFobject.
 
Thank you BluesmanUK. But what, if anything, can I do now?Can I take the boxes off?
 
sure you can, in the html page take out the object and embed tags for those swfs and just include them like you did with the header and the buttons

eg.
Code:
<script type="text/javascript">
  var so = new SWFObject("homepage.swf", "mymovie", "94", "22", "6", "#003399"); 
  so.addParam("wmode", "transparent");
  so.write("flashcontenthomepagebutton"); 
</script>

check the documentation for swfObject to see what options you can set.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top