Mozilla 도움말 검색

고객 지원 사기를 피하세요. 저희는 여러분께 절대로 전화를 걸거나 문자를 보내거나 개인 정보를 공유하도록 요청하지 않습니다. "악용 사례 신고"옵션을 사용하여 의심스러운 활동을 신고해 주세요.

Learn More

getting a dotted line around .swf files in my flash site now. this is new as of Firefox 3. Using 4 on a MacBookPro. tried "style outline none" fix. doesn't work. any help?

  • 10 답장
  • 17 이 문제를 만남
  • 21 보기
  • 최종 답변자: ralphiedee

more options

Question getting a dotted line around .swf files in my flash site now. this is new as of Firefox 3. Using 4 on a MacBookPro. tried "style outline none" fix. doesn't work. any help?

Question getting a dotted line around .swf files in my flash site now. this is new as of Firefox 3. Using 4 on a MacBookPro. tried "style outline none" fix. doesn't work. any help?

선택된 해결법

Ah, totally understand now as I added to my html doc

<style type="text/css"> body { background-color: #FFF; } '''''''object { outline:none; }'''''''

</style>

문맥에 따라 이 답변을 읽어주세요 👍 0

모든 댓글 (10)

more options

Is it a public and family friendly page? If so, can you post a URL to it?

more options

Sorry for long response. Vacation.

To answer your question. This problem affects ALL my sites. The test site showing the problem is http://www.christophermoores.com

For testing, I snagged an image from the web. Converted it to a button and placed it in the middle of a 1024 x 768 file. When you rollover it the "hand" cursor doesn't appear, and clicking on it creates the "dotted black line" problem. Using Firefox 4.0.1. on a MacBook Pro 64bit.

That's it. Nothing fancy. And this problem doesn't appear in Safari, Chrome, or Explorer.

I've done some reading (blogs, forums and what not...) and seems a pretty common problem. Some folks have fixes that sound like they work, but when applied, don't.

SO...there you have it. Any help would be appreciated.

Thanks

글쓴이 morz 수정일시

more options

I don't get the outline on that Flash object on Windows 7. Have you tried Firefox's Safe Mode or a blank new profile to see whether it could be caused by a custom setting or add-on?

First, I recommend backing up your Firefox settings in case something goes wrong. See Backing up your information. (You can copy your entire Firefox profile folder somewhere outside of the Mozilla folder.)

Next, try starting Firefox in Firefox Safe Mode. Be careful not to "reset" anything permanently if you didn't back up.

Does that fix it? If not, try creating a new (blank) profile: Managing profiles.

Any change?

more options

I'll try those tips. And, yes, you're correct. In the Windows environment, (XP and 7) there is no outline and everything works normally.

Just a guess at this point, but I think it may have something to do with OSX 10.6 and 64bit handling. Thanks tho'

more options

object, embed {

 outline: 0;

}

more options

...well i'm brain dead. That's got it!!!

Thanks.

more options

...now if i can just get the "hand" cursor problem fixed on buttons that would be great...sigh.

more options

/* stops annoying focus-selection boxes in FF3 */

  • active, object:focus, embed:focus

{ outline: none; }

more options

Sorry for being a bit anal here but where do I add the "object, embed { outline: 0; } " to the html or the actual swfobject_modified.js?

Heres my object and embed codes right off the .html page

<script src="../Scripts/swfobject_modified.js" type="text/javascript"></script>
<style type="text/css">
body {
 background-color: #FFF;
}
</style>
</head>

<body>
<div id="container" >
  <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="900" height="600" id="FlashID" title="index">
   <param name="movie" value="index.swf" />
   <param name="quality" value="high" />
   <param name="wmode" value="opaque" />
   <param name="swfversion" value="10.2.0.0" />
   
   <param name="expressinstall" value="../Scripts/expressInstall.swf" />
   
   <object type="application/x-shockwave-flash" data="index.swf" width="900" height="600">
    
     <param name="quality" value="high" />
     <param name="wmode" value="opaque" />
     <param name="swfversion" value="10.2.0.0" />
     <param name="expressinstall" value="../Scripts/expressInstall.swf" />
     <!-- The browser displays the following alternative content for users with Flash Player 6.0 and older. -->
     <div>
       <h4>Content on this page requires a newer version of Adobe Flash Player.</h4>
       <p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" /></a></p>
        </div>
     <!--[if !IE]>-->
    </object>
   <!--<![endif]-->
  </object>
</div>
<script type="text/javascript">
swfobject.registerObject("FlashID");
</script>

글쓴이 cor-el 수정일시

more options

선택된 해결법

Ah, totally understand now as I added to my html doc

<style type="text/css"> body { background-color: #FFF; } '''''''object { outline:none; }'''''''

</style>