Cool. As I said, mists of time... It's kind of like the magic 31fps for swf frame rate - just numbers you hang onto even if no longer relevant. It would make sense that a 1x1 px swf should still work. Thinking harder about it, I believe it was a particular build of Netscape which did not allow FSCommand style communication if < 4px.
I did a quick Google check to ensure some sanity of my memory and there are some references, but at different numbers: Moock on Flash 4 embedding quotes an 18px minimum limit: http://www.moock.org/webdesign/flash/detection/flash4noscript/ Webreference mentions a 1x2 Netscape limit: http://www.webreference.com/js/column85/2.html Anyhow, these are as old as my memory of this topic, so pay no more attention. We can all forget it now.. :) I guess the only minimum dimensions we need to take note of these days is the ExpressInstall dialog of 215x138 Aran -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Getify Solutions, Inc. Sent: Monday, 2 February 2009 3:35 PM To: [email protected] Subject: Re: invisible flash component and swfobject I successfully embed 1x1 size SWF's (even transparent ones) all the time. I don't think there's a 4x4 limitation (at least not anymore). --Kyle -------------------------------------------------- From: "Aran Rhee" <[email protected]> Sent: Sunday, February 01, 2009 5:28 PM To: <[email protected]> Subject: RE: invisible flash component and swfobject > > Arco > > Reaching back in the mists of time, I seem to remember a minimum 4x4 pixel > size for certain browsers to embed the swf properly. You can just set the > swf color to match your background color (or set wmode=transparent if you > really must for some complex BG image etc and want to make it invisible > (avoid this if possible though - it brings various bugs along with it)) > > > Cheers, > Aran > > -----Original Message----- > From: [email protected] [mailto:[email protected]] On > Behalf Of Arco > Sent: Monday, 2 February 2009 9:53 AM > To: SWFObject > Subject: invisible flash component and swfobject > > > I am developing component in flex that will be used to play audio > effects. > > The flex component has no UI elements. The component uses fabridge > for javascript/flex communications, and all the UI buttons are > rendered in JavaScript. > > So - I want this flex component to be a 'headless', or hidden > component. > > When I embed the component using this command, everything works OK. > (although I see an unwanted 10x10 square...) > > swfobject.embedSWF("JsDial.swf", "flashContent", 10, 10, "9.0.0"); > > But when I change the 'display size' to 0,0 using the command below, > my flex component stops working, and the 'alternate content' is > displayed in the browser page. > > swfobject.embedSWF("JsDial.swf", "flashContent", 0, 0, "9.0.0"); > > Can anyone tell me what I should do to properly render a 'headless > component' ?? > > Thanks in advance!! > > ps here is the source code for my flex component... > > <?xml version="1.0" encoding="utf-8"?> > <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" > layout="vertical"> > <fab:FABridge xmlns:fab="bridge.*" /> > <mx:SoundEffect id="click_sound" source="@Embed(source='tones/ > click_sound.mp3')"/> > </mx:Application> > > > > > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "SWFObject" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/swfobject?hl=en -~----------~----~----~----~------~----~------~--~---
