Suprisingly this one took a while to find the answer to. I embedded a flash movie using SWFObject and found that once a user clicked on the movie, a dotted line appeared around the edge of the swf (in Firefox). I tried adding "outline:none" to the css for the div but it didn't help. The only thing that worked was to add this to the javascript right after creating the swfObject:
swfobject.createCSS("#growth","outline:none");
(where growth was the name of the target div)
So here was the full code for the swfObject:
swfobject.embedSWF("web-v2.swf", "growth", "1024", "768", "9.0.124","expressInstall.swf", flashvars, params, attributes);
swfobject.createCSS("#growth","outline:none");
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment