<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://developer.myspace.com/Community/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>General Questions/Comments</title><link>http://developer.myspace.com/Community/forums/11.aspx</link><description>Leave questions here.  Problems, issues, bugs do NOT belong here.</description><dc:language>en</dc:language><generator>CommunityServer 2007.1 (Build: 20910.1126)</generator><item><title>How to add a simple rollover image over a flash SWF - HTML/inline style</title><link>http://developer.myspace.com/Community/forums/thread/41715.aspx</link><pubDate>Fri, 19 Jun 2009 13:02:44 GMT</pubDate><guid isPermaLink="false">8e485011-333f-425c-b84a-1febdb8bfab0:41715</guid><dc:creator>turrall consulting</dc:creator><slash:comments>0</slash:comments><comments>http://developer.myspace.com/Community/forums/thread/41715.aspx</comments><wfw:commentRss>http://developer.myspace.com/Community/forums/commentrss.aspx?SectionID=11&amp;PostID=41715</wfw:commentRss><description>&lt;p&gt;Hi&lt;/p&gt;&lt;p&gt;I&amp;#39;ve created a flash widget and produced the embed code which can then be added to a user&amp;#39;s profile. Due to security restrictions flash cannot open links in the browser and therefore I&amp;#39;m adding rollover images with links which will sit over the flash. I&amp;#39;ve seen this done with a Reverbnation widget and am adopting the same approach.&lt;/p&gt;&lt;p&gt;It doesn&amp;#39;t work. I have two problems:&amp;nbsp;&lt;/p&gt;&lt;p&gt;1. MySpace seems to be chopping off the height attribute of html img tags&lt;/p&gt;&lt;p&gt;2. It&amp;#39;s also chopping off the entire style attribute with my inline styles intended to use absolute positioning to overlay the images.&lt;/p&gt;&lt;p&gt;The result is that the images are being drawn below the widget. &lt;br /&gt;&lt;/p&gt;&lt;p&gt;Here&amp;#39;s the html I&amp;#39;m using:&lt;/p&gt;&lt;p&gt;&amp;lt;div style=&amp;quot;position:relative&amp;quot;&amp;gt;&lt;br /&gt;&amp;lt;object classid=&amp;quot;clsid:d27cdb6e-ae6d-11cf-96b8-444553540000&amp;quot; height=&amp;quot;310&amp;quot; width=&amp;quot;350&amp;quot; align=&amp;quot;middle&amp;quot;&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;lt;param name=&amp;quot;allowScriptAccess&amp;quot; value=&amp;quot;never&amp;quot; /&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;lt;param name=&amp;quot;allowNetworking&amp;quot; value=&amp;quot;internal&amp;quot; /&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;lt;param name=&amp;quot;movie&amp;quot; value=&amp;quot;...............................&amp;quot; /&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;lt;param name=&amp;quot;wmode&amp;quot; value=&amp;quot;transparent&amp;quot; /&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;lt;param name=&amp;quot;flashvars&amp;quot; value=&amp;quot;...........................9&amp;quot; /&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;lt;param name=&amp;quot;quality&amp;quot; value=&amp;quot;high&amp;quot; /&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;lt;param name=&amp;quot;bgcolor&amp;quot; value=&amp;quot;#ffffff&amp;quot; /&amp;gt;&lt;br /&gt;&amp;lt;embed type=&amp;quot;application/x-shockwave-flash&amp;quot; allowScriptAccess=&amp;quot;never&amp;quot; allowNetworking=&amp;quot;internal&amp;quot; src=&amp;quot;...........&amp;quot; height=&amp;quot;310&amp;quot; width=&amp;quot;350&amp;quot; align=&amp;quot;middle&amp;quot; wmode=&amp;quot;transparent&amp;quot; flashvars=&amp;quot;................&amp;quot; quality=&amp;quot;high&amp;quot; bgcolor=&amp;quot;#ffffff&amp;quot; /&amp;gt;&lt;br /&gt;&amp;lt;/object&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;lt;br /&amp;gt;&lt;br /&gt;&amp;lt;a href=&amp;quot;http://www.....................&amp;quot;&amp;gt;&lt;br /&gt;&amp;lt;img src=&amp;quot;http://www............../images/blank.gif&amp;quot; style=&amp;quot;border: none !important;position:absolute;top:192px;left:230px;width:112px;height:25px;&amp;quot; /&amp;gt;&lt;br /&gt;&amp;lt;/a&amp;gt;&lt;br /&gt;&amp;lt;a href=&amp;quot;http://www............................&amp;quot;&amp;gt;&lt;br /&gt;&amp;lt;img src=&amp;quot;http://www.............../images/blank.gif&amp;quot; style=&amp;quot;border: none !important;position:absolute;bottom:0px;left:0px;width:350px;height:90px;&amp;quot; /&amp;gt;&lt;br /&gt;&amp;lt;/a&amp;gt;&lt;br /&gt;&amp;lt;/div&amp;gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;The URLs are, of course, populated with valid values in the real code ;) &lt;br /&gt;&lt;/p&gt;&lt;p&gt;Any ideas what could be going wrong here? How is it that the apparently identical approach seems to be working for Reverbnation?&lt;/p&gt;&lt;p&gt;Thanks for any tips,&lt;/p&gt;&lt;p&gt;Robert &lt;br /&gt;&lt;/p&gt;</description></item></channel></rss>