Generally, it comes down to specifics in a given code implementation that cause problems with SWFObject. Do you have a URL for perusal? How did you implement SWFObject? Did you use the code generator? I ask these questions because the documentation and the examples are fairly explicit in their use cases. It's more likely something specific in your setup - this specificity is easier to pick out if you have some actual HTML to parse through.
You mention that the FABridge example does not appear to use swfobject at all... I'm not sure what you are looking at. When I view the source at http://www.bobbyvandersluis.com/swfobject/flex3/swfobject_dynamic/FABridge/index.html, there's a very specific section in code, which is basically all there is to implementing swfobject... <script type="text/javascript"> var flashvars = {}; flashvars.bridgeName = "example"; var params = {}; var attributes = {}; attributes.id = "flexApp"; attributes.name = "flexApp"; swfobject.embedSWF("app.swf", "myContent", "400", "400", "8.5.0", "swfobject/expressInstall.swf", flashvars, params, attributes); </script> I may be speaking incorrectly here, because I'm a relative neophyte in the SWFObject community, but all SWFObject does is provide a standardized way of putting a .swf file in a browser context while providing some clean interfaces to features like setting flash variables, parameters. At its heart, does swfobject.js use document.write in its code? I believe it does, but without some specifics as to why that's a bad thing, I'm not sure how to help you in terms of providing guidance or an alternative. So consider this a request for more information so we can help you. That all said, it's understandable if this is an internal project and you don't want it plastered all over the internet, but maybe you can work things out with the group as far as what you are trying to do and where you expect SWFObject to fit in. Best, Vincent Polite On Wed, Mar 11, 2009 at 6:16 AM, Michael Pelz-Sherman < [email protected]> wrote: > Hello again, swfobject folks. > > Well, so far I haven't been able to get swfobject working with my Flex/Ajax > Bridge code. > > I am using your modified > FABridge.js<http://www.bobbyvandersluis.com/swfobject/flex3/flex_updated/FABridge/FABridge.js> > > ... but the FABridge__bridgeInitialized function is never called. > > Furthermore, the FABridge > example<http://www.bobbyvandersluis.com/swfobject/flex3/swfobject_dynamic/FABridge/index.html> > does > not appear to use swfobject at all; it uses document.write(). > > Can anyone please provide straightforward instructions on how to > use swfobject with the Flex/Ajax Bridge? > > Thanks! > > - Michael > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
