Hello to all,
I am posting this because it will most likely affect people that are making use of Flex.
No because of Flash directly but a Microsoft update for IE.
http://news.com.com/Microsoft+tweaks+br ... 80658.html
Every time the mouse pointer moves over an embedded flash movie Internet
Explorer draws a thick border around it and a tool tip appears saying "Click
To activate and use this control".
This appears to be a result of a new patch for IE
Windows update -
http://support.microsoft.com/?kbid=912945
Adobe has posted a fix fort this on their site. However after spending quite a bit of time checking their recommendations I came acros a better and easier solution at:
http://blog.deconcept.com/swfobject/
This is free to use and it has few more capabilities
How to use:
Download swfobject after you uncompress it import the swfobject.js file into your web site. Open the page that has the Flash movie. To import the javascript file, add this to the <head>…</head> area of your page:
<script type="text/javascript" src="swfobject.js"></script>
Now find the code that embeds the Flash movie. Don’t delete it yet, because you’ll want to grab some of its parameters:
<object classid="…” codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="500" height="100" id="mymovie">
<param name="movie" value="movie.swf?variable=varvalue">
<param name="flashvars" value="variable=varvalue"> << Your code may not have variables.
<param name="quality" value="high">
<param name="bgcolor" value="#003399">
<embed …></embed>
</object>
Add this code after the last </object> tag.
<div id="flashcontent">
This text is replaced by the Flash movie.
</div>
You can keep the div's ID (“flashcontent”) or call it something else. Then, put your alternate content in between the <div id=”flashcontent”> and </div> tags. This can be simple text, or it can be HTML code for a replacement image… whatever you want! This even allows search engines to index that alternate content as well, which you couldn’t really do with just a plain Flash movie.
Add this code underneath your flashcontent div:
<script type="text/javascript">
var so = new SWFObject("movie.swf", "mymovie", "500", "100", "6", "#003399");
so.addVariable("variable", "varvalue");
so.write("flashcontent");
</script>
This short bit of Javascript is what passes in the Flash movie parameters – from the original code, above - so that the SWFObject script can display the Flash movie properly. Here’s the breakdown:
new SWFObject(
"movie.swf", << the file name of the Flash movie
"mymovie", << this matches the “ID” from your Flash movie parameters
"500", << the width of the Flash movie
"100", << the height of the Flash movie
"6", << the version of the Flash Player that is required
"#003399"); << the background color
so.addVariable("variable", "varvalue"); << this is only necessary if you are passing in variables to the Flash movie through the HTML code. You can duplicate this line if you are passing in several variables.
so.write("flashcontent"); << replace “flashcontent” with the name of the div ID, if you’ve changed it
At this point, you can delete the original Flash code (the <object>…</object> tags and everything in between).
Adobe/Macromedia solution:
http://www.macromedia.com/devnet/active ... ccurrences
I hope this may save some aggravation....
If you find a better solution please let us know.
Regards
Saki