> Are you basing this off of SwfObject 2.2 or an earlier version? I had to > alter your code a bit to get it to work.
Yes, I neglected to say I was working with 2.1 because of a version incompatibility between 2.2 and the version of SWFAddress I was using. Thanks for reworking this! BTW, I've noticed that with some browsers it's not enough to just escape the end comment tags; they will still parse the commented start comment tag. So if you want this functionality then you should also escape the start comment tags. In my local version I added this to the customization: value = value.replace ( new RegExp ( "__escaped_start_comment__", "g" ), "<!--" ); You may ask why I bother - it's because my alternate content is automatically generated and so out of my control whether or not an HTML comment slips in. Obviously I still need to escape the comment tags on the server side but I feel better doing that than removing the comments altogether. But there's no real functionality being added. -Mike --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
