Solved

onLoad Event to remove IE flash border

Posted on 2006-12-01
7
1,499 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

In my daily work (mainly using ASP.net), I need to write a lot of JavaScript code. One of the most repetitive tasks I do are the jQuery Ajax calls. You know: (CODE) I don't know if for you it's the same, but for me is soooo tedious to write the …
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'…
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
Course of the Month10 days, 23 hours left to enroll

628 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