View Full Version : EOLAS : object borderish
hendrix9189
12-14-2006, 11:36 PM
Hello, i am presently working on a website where i have it as html but only the center is flash based, and when the page loads its as if there like a border around the flash object but soon goes away when i go over it with my mouse a few times, what is this and how the heck do i get rid of er lmao, if anyone could help that would be great?:)
CyanBlue
12-14-2006, 11:41 PM
I think you are talking about the EOLAS stuff that asks you to activate the ActiveX elements...
Go check out the SWFObject to get solve that problem...
http://blog.deconcept.com/swfobject
hendrix9189
12-15-2006, 04:58 AM
hmm i dont think this is what im looking for? um i could be wrong is there any way you could show me an example of what it exactly does, i didnt quiet understand that tut, um its as if its outlining the flash, amongest the html, and when i go over the flash object on my site, it says "click to activate and use this control".....
CyanBlue
12-15-2006, 01:45 PM
If you see that message, SWFObject can definitely help you get rid of it...
I suggest you go over that site one more time thoroughly and look up the example files... I cannot be more accurate than that site no matter how I explain better... ;)
hendrix9189
12-15-2006, 02:51 PM
hmm, its like i went to your tutorials.flashvacuum.com site click on javascript popup window and when i clicked one of the buttons a popup came up soon as i put my mouse of the flash object i got it. hmm do you get this to on your computer???
anonymous
12-15-2006, 03:28 PM
This Eolas problem (on IE...) came up only a few months ago, and he probably hasn't had time to change his old tutorials embeddings yet!
Simply download the package (http://blog.deconcept.com/swfobject/), including the .js script, upload
the .js script to your server, and follow the simple steps...
Using SWFObject is easy. Simply include the swfobject.js Javascript file, then use a small amount of Javascript on your page to embed your Flash movie. Here is an example showing the minimum amount of code needed to embed a Flash movie:
<script type="text/javascript" src="swfobject.js"></script>
<div id="flashcontent">
This text is replaced by the Flash movie.
</div>
<script type="text/javascript">
var so = new SWFObject("movie.swf", "mymovie", "200", "100", "7", "#336699");
so.write("flashcontent");
</script>Here is a breakdown of what the code does:
<div id="flashcontent">[...]</div>Prepare an HTML element that will hold our Flash movie. The content placed in the 'holder' element will be replaced by the Flash content, so users with the Flash plug-in installed will never see the content inside this element. This feature has the added bonus of letting search engines index your alternate content.
var so = new SWFObject(swf, id, width, height, version, background-color);
Create a new SWFObject and pass in the required parameters:
swf - The file path and name to your swf file.
id - The ID of your object or embed tag. The embed tag will also have this value set as it's name attribute for files that take advantage of swliveconnect.
width - The width of your Flash movie.
height - The height of your Flash movie.
version - The required player version for your Flash content. This can be a string in the format of 'majorVersion.minorVersion.revision'. An example would be: "6.0.65". Or you can just require the major version, such as "6".
background color - This is the hex value of the background color of your Flash movie.
so.write("flashcontent");
Tell the SWFObject script to write the Flash content to the page (if the correct version of the plug-in is installed on the user's system) by replacing the content inside the specified HTML element.
And it will solve your problem.
hendrix9189
12-15-2006, 09:23 PM
wow i must be such a noob, because i do not understand this at all lmao, so i download that link and make sure the javascript thats in the folder is on my server, then i add what to my main html page?? and my flash movie is called, history.swf
CyanBlue
12-15-2006, 09:40 PM
Why don't you show us what you have in the main.html file??? :)
anonymous
12-15-2006, 09:50 PM
Basically yes!
Be sure the .js script is on your server, and that the path to it below is the correct one. This is basically all you need...
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<!-- saved from url=(0014)about:internet -->
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>YOUR WINDOW TITLE</title>
<!-- SWFObject embed by Geoff Stearns geoff@deconcept.com http://blog.deconcept.com/swfobject/ -->
<script type="text/javascript" src="swfobject.js"></script>
</head>
<body>
<div id="flashcontent">
<strong>You need to upgrade your Flash Player</strong>
This is replaced by the Flash content.
Place your alternate content here and users without the Flash plugin or with
Javascript turned off will see this. Content here allows you to leave out <code>noscript</code>
tags. Include a link to <a href="swfobject.html?detectflash=false">bypass the detection</a> if you wish.
</div>
<script type="text/javascript">
// <![CDATA[
var so = new SWFObject("history.swf", "history", "300", "300", "8", "#FF6600");
so.write("flashcontent");
// ]]>
</script>
</body>
</html>
In this line...
var so = new SWFObject("history.swf", "history", "300", "300", "8", "#FF6600");
...Simply change the 300 & 300 with the width & height (in pixels) of your own movie, and change the background color (FF6600) to something else if you want...
|
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.