onLoad Event to remove IE flash border

Posted on 2006-12-01
Medium Priority
Last Modified: 2010-05-18
My webpage has a flash swf file in it.  Is there a way so that when the user enters a web page in IE that using an onLoad event that the border around the swf file  can be removed automatically without having the user click on to use that control?  I want it appear as though it is seamless to the end user as much as possible.
Question by:COwebmaster
  • 3
LVL 10

Accepted Solution

Dennis Maeder earned 672 total points
ID: 18056251
No. Not if the border is a property of the flash object.
LVL 10

Expert Comment

by:Dennis Maeder
ID: 18056340
Your object embed syntax is typically something like this:
<object >
  <param name="movie" value="somefilename.swf">
  <embed src="somefilename.swf">  </embed>

You can change the color of the object using  style='background-color:background'
in the object tag, but this will not directly affect the embedded flash object which has its own display settings.
See http://www.w3.org/TR/REC-CSS2/ui.html for details


Assisted Solution

rizla7 earned 664 total points
ID: 18056906
No, this is an option in Internet Explorer 7.0 called "Allow previously unused ActiveX controls to run without prompt" and is set to "Disabled" by default.  This option does not exist in Internet Explorer 6.0 and all ActiveX controls will have 'boxes/borders' wrapped around them.

Assisted Solution

aescnt earned 664 total points
ID: 18057942
I think you're looking for SWFObject. It's a way to embed Flash files that gets rid of IE's "click here to activate..." message, among other things.

LVL 10

Expert Comment

by:Dennis Maeder
ID: 18060122

Please clarify. are you asking a question about visual integration or about user experience?
swfobject mentioned by aescnt is a smart option for doing the embedding as it works around the patent issues which makes IE force you to 'click to activate'.


Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

In Part 1 (http://www.experts-exchange.com/Programming/Languages/Scripting/JavaScript/A_7849-Hex-Maze.html) we covered the hexagonal maze basics -- how the cells are represented in a JavaScript array and how the maze is displayed.  In this part, we'…
This article discusses the difference between strict equality operator and equality operator in JavaScript. The Need: Because JavaScript performs an implicit type conversion when performing comparisons, we have to take this into account when wri…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

600 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question