1x1 swf's have been working for me in my limited testing. And I can make it transparent.
Is there really no way to make a 0x0 swf?? I would prefer that if it can work... On Feb 1, 8:34 pm, "Getify Solutions, Inc." <[email protected]> wrote: > 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 -~----------~----~----~----~------~----~------~--~---
