This content has been marked as final. Show 5 replies
Unembedding them makes them show for some reason. Which of course isn't really what I want...
I'm having a similar problem with a Flex app in Firefox when running from a remote server. The page opens, but the swf file is just a strip across the top of the page. I know there's a problem with Firefox when the app is sized to width=100% and height=100%, but I want the app to be able to re-size. I also discovered there is a DOCTYPE issue with Firefox and Flex. If you add a doctype to your html wrapper, things will look fine in IE, but not work in Firefox. I haven't found (yet) a good solution, other than to have the page without a DOCTYPE (works fine then) and I want to be standards compliant.
If I find an answer, I'll let you know.
Tried getting rid of the DOCTYPE, but that didnt seem to affect it. The containing Flex app looks fine, it's just the embedded SWF's that are messed up.
Hmm. I notice that you use data binding in your source attribute. Have you tried using this: source="@Embed(source='btnMostRecentSWF') ?? You should still be able to use a click event handler.
BTW, I found a solution to my Firefox display problem at actionscript.org.
So I think at this point with some other weird issues I've seen, that what in fact is happening is that the SWF buttons are being embedded in a stage the size of the parent (ie. 800x630 in this case) and then being scaled down to fit in the w/h of the mx:Image.
But only in FF/Safari remote. Local is fine. /sigh