Solved

onLoad Event to remove IE flash border

Posted on 2006-12-01
7
1,497 Views
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.
0
Comment
Question by:COwebmaster
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
7 Comments
 
LVL 10

Accepted Solution

by:
dennis_maeder earned 168 total points
ID: 18056251
No. Not if the border is a property of the flash object.
D
0
 
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>
</object>

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

D
0
 
LVL 3

Assisted Solution

by:rizla7
rizla7 earned 166 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.
0
 
LVL 6

Assisted Solution

by:aescnt
aescnt earned 166 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.

http://blog.deconcept.com/swfobject/
0
 
LVL 10

Expert Comment

by:dennis_maeder
ID: 18060122
COwebmaster,

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'.

D
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

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

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article will give core knowledge of JavaScript and will head in to your first JavaScript program. I am Durvesh Naik and I am here to deal with this series of JavaScript. I will teach you JavaScript in part wise , as its quite boring to read big…
This article discusses how to create an extensible mechanism for linked drop downs.
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…
Suggested Courses

751 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