# Get rid of bounding boxes from swf files on web pages

**URL:** <https://forum.kirupa.com/t/get-rid-of-bounding-boxes-from-swf-files-on-web-pages/266047>\
**Category:** flash\
**Created:** [July 15, 2008, 7:48pm UTC](https://forum.kirupa.com/t/get-rid-of-bounding-boxes-from-swf-files-on-web-pages/266047 "2008-07-15T19:48:13Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Bossos](https://avatars.discourse-cdn.com/v4/letter/b/53a042/32.png) [@Bossos](https://forum.kirupa.com/u/Bossos)\
**Post date:** [July 15, 2008, 7:48pm UTC](https://forum.kirupa.com/t/get-rid-of-bounding-boxes-from-swf-files-on-web-pages/266047/1 "2008-07-15T19:48:13Z")

</div>

Anyone know how to get rid of the bounding boxes that appear when you click inside a swf movie area ? Example below. Any help would be much appreciated.

![](http://forum.kirupa.com/uploads/kirupa/4847/ea3fa4aaafe66b09.gif)

---

<div class="post-metadata">

**Author:** ![sw0bes](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/sw0bes/32/3424_2.png) [@sw0bes](https://forum.kirupa.com/u/sw0bes)\
**Post date:** [July 15, 2008, 8:04pm UTC](https://forum.kirupa.com/t/get-rid-of-bounding-boxes-from-swf-files-on-web-pages/266047/2 "2008-07-15T20:04:18Z")

</div>

[quote=Bossos;2359192]Anyone know how to get rid of the bounding boxes that appear when you click inside a swf movie area ? Example below. Any help would be much appreciated.

![](http://forum.kirupa.com/uploads/kirupa/4847/ea3fa4aaafe66b09.gif)[/quote]  
There are ways to get around it - swfobject works great for one. The reason you have to click to active certain elements on a page can be found here:

> **[Microsoft, Eolas settle big patent dispute (Updated)](https://blog.seattlepi.com/microsoft/2007/08/30/microsoft-eolas-settle-big-patent-dispute-updated/)**
>
> Microsoft and Eolas Technologies Inc. have settled their high-profile patent dispute over technology in Internet Explorer, according to a letter to Eolas shareholders from Mark Swords, the company&…

Here’s a link to swfobject:

> **[swfobject/swfobject](https://github.com/swfobject/swfobject)**
>
> An open source Javascript framework for detecting the Adobe Flash Player plugin and embedding Flash (swf) files. - swfobject/swfobject

Happy reading =)

---

<div class="post-metadata">

**Author:** ![sekasi](https://avatars.discourse-cdn.com/v4/letter/s/5f8ce5/32.png) [@sekasi](https://forum.kirupa.com/u/sekasi)\
**Post date:** [July 15, 2008, 8:19pm UTC](https://forum.kirupa.com/t/get-rid-of-bounding-boxes-from-swf-files-on-web-pages/266047/3 "2008-07-15T20:19:11Z")

</div>

you can put onFocus=“this.blur()” on the object as well…

---

<div class="post-metadata">

**Author:** ![Bossos](https://avatars.discourse-cdn.com/v4/letter/b/53a042/32.png) [@Bossos](https://forum.kirupa.com/u/Bossos)\
**Post date:** [July 15, 2008, 10:19pm UTC](https://forum.kirupa.com/t/get-rid-of-bounding-boxes-from-swf-files-on-web-pages/266047/4 "2008-07-15T22:19:15Z")

</div>

I’m already using swfobject, but can’t see where to turn off bounding borders in the swf generator or in the documentation.

Also tried:

```auto
<div id="slvMenu" onfocus="this.blur()">

```

which is the html reference of the swf object, but no luck either.

I see there is a javascript approach also, so I guess I’ll try that next.

[URL=“[http://www.webmasterworld.com/forum91/4092.htm](http://www.webmasterworld.com/forum91/4092.htm)”]

---

<div class="post-metadata">

**Author:** ![Bossos](https://avatars.discourse-cdn.com/v4/letter/b/53a042/32.png) [@Bossos](https://forum.kirupa.com/u/Bossos)\
**Post date:** [July 15, 2008, 10:28pm UTC](https://forum.kirupa.com/t/get-rid-of-bounding-boxes-from-swf-files-on-web-pages/266047/5 "2008-07-15T22:28:47Z")

</div>

Great, managed to fix it.

Its apparently an issue in Firefox 3 which I just downloaded a few days ago 😃

If you put the following code in the header of the html document or in your CSS file, it goes away:

```auto
<style type="text/css" media="screen">
    object { outline:none; }
</style>

```

Thanks for the help.
