sIFR 2.0 – 2.0.5 failed to detect the Flash 10 player, and therefore falls back to normal HTML text. This had previously been resolved in sIFR 2.0.6, however an issue remained with Safari. There is a second Flash version detection, which had not been fixed, and resulted in transparency support being disabled for Safari browsers with Flash 10 installed.

If you are upgrading from sIFR 2.0.4 or older, you must upgrade the sifr.js JavaScript file and re-export your sIFR Flash movies using the sifr.fla file from sIFR 2.0.7.

If you are upgrading from sIFR 2.0.5 or 2.0.6, you must upgrade the sifr.js JavaScript file.

Update, December 1st, 2008: A new sifr-cs3-and-up.fla file has been added to the download. Use this file if you’re using Flash CS3 or later. Find out more.

Detailed Description

sIFR 2 uses the same Flash detection that was originally used in its precursor, IFR, back in 2004. Unfortunately this detection script only expected single digit Flash versions, so it fails to detect Flash 10. This has been fixed in sIFR 2.0.6. However, I missed a second Flash version detection, which was used to check for transparency support in Safari browsers. Back in the day, Safari did not support transparency with Flash 6, so an explicit check for Flash 7 was added. The second version detection failed to detect Flash 10, disabling transparency support under Safari.

Thanks to Giancarlo Gomez for originally pointing out the problem with the Flash detection, and Marco Della Pina for pointing out the Safari problem.

76 responses

  1. Hi, We are from http://www.929webhosting.ca, heard this SIFR from various professional developers and have been watched in various highly ranked websites. We would like to experiment/implement in our websites.

    Many thanks. http://www.929webhosting.ca

  2. Steve says:

    Awesome. Thank you so very much! We realized that many of our sites were now displaying something awful!! It’s all fixed, and it wasn’t hard at all. Thanks again.

  3. Brett says:

    Now that flash10 supports transparency on linux, it would be nice not to have fall back to a solid background. Thanks for this though, it’s amazing.

  4. Matt Wiebe says:

    Thanks for the speedy update! My site was quite uglified for while.

    The Y2K bug of sIFR, I guess.

  5. Thank you so much for posting this Flash 10 fix! I have been going insane all day trying to figure out why my sites suddenly looked ugly. IE was displaying just fine, but Safari, Chrome, and FF defaulted back to normal text. Thanks again!

  6. Mark Wubben says:

    Brett, thanks for noting that. I’m not changing sIFR 2, but I’ll add it to sIFR 3.

  7. Elena says:

    Thank you a lot!

    2.0.7 work great, but when I try use tag “em” to highlight color something is wrong and it doesn’t work. Please could you help?

    Thank you!

  8. Mark Wubben says:

    Hi Elena. If you could post your question in the forum, accompanied by a live example page, that’d be great.

  9. Chris Peters says:

    Thanks for the update. Unfortunately, when I try opening sifr.fla in Flash CS4 on my Mac, it says that the file cannot be opened. Has anyone else had this problem?

  10. cazanova says:

    Thanks for the update. Unfortunately, when I try opening sifr.fla (sIFR 2.0.7) in Flash CS4 on my PC, it says “Unexpected file Format”. Has anyone else had this problem?

  11. Viljami Salminen says:

    I have the same problem at my work. It won’t open with CS4.

  12. Mark Wubben says:

    I don’t have CS4 here, but the .fla hasn’t changed in years. Bad thing if that’s now broken, but not sure what can be done about it. Anybody else having more luck with CS4?

  13. Stoik says:

    Hi, sifr 2.0.7 dont work in Internet Explorer 6 & 7 and Flash 10.

  14. Mark Wubben says:

    Hi Stoik. It works for me, so perhaps something went wrong with the Flash installation. By “not working”, do you mean there are errors, the movies don’t display, or you see HTML text? Try uninstalling the Flash player and then reinstalling it.

  15. Todd O'Connor says:

    Hi, I have the same problem with the sifr.fla files not opening with CS4 on Mac. The message is “Failed to open document”.

    So I tried creating a new one and I must not have something right in the export and/or Publish Settings. When I replaced tradegothic.swf with my new .swf in the sample code it doesn’t work. Hmm…

  16. Mark Wubben says:

    Ugh, that’s annoying, but I don’t quite see how that could be fixed. Does it work under Windows?

    How are you creating a new .fla? Seems to me there’s a big chance you create it incorrectly?

  17. Todd O'Connor says:

    Mark,

    It’s very probable that I don’t have the right set of options in my new .fla file. Are the set of options needed to recreate this documented anywhere?

    I’ll try your .fla file on CS4 Win and let you know. This will be a fresh Flash install as well.

    Thanks, Todd

  18. Shannon says:

    So I have wanted to use sIFR on clubsguide for some time now, and I have finally got some time aside to get on top of it, and now I cant open the fla file because I am using CS4?

    Thats a bit of an anti-climax if you ask me.

    Has anyone got a workaround for this?

    I would love to have sIFR running on my site, but its not looking like happening in the short term if there is no way of getting around this bug.

    For reference I am talking about the “Unexpected file type” issue when you try to open sIFR.fla in Adobe Flash CS4 Professional.

    Any help would be very much appreciated!

    Keep up the good work guys.

    Cheers,

    Shannon

  19. Mark Wubben says:

    Todd, not really, no. You’ll have to set up the right holder and text fields, with the right names and settings, and load the ActionScript. There may actually be some ActionScript in the Flash movie.

    Shannon, is that on Mac or Windows?

  20. George says:

    sIFR is also not opening up for us on CS4 for Mac OS X.

  21. I’m getting the “Unexpected file format” error on Flash CS4 on PC (XP Pro). Downloaded directly from mikeindustries.com.

  22. Mark Wubben says:

    Nathan, that’s annoying! I’ll see what I can do, but in the mean time, perhaps you have access to an older copy of Flash?

  23. Nate says:

    Yep, the fla doesn’t open in CS4.

  24. Ewald says:

    I can confirm it does not work on Flash CS4… Too bad. I am looking forward for a fix.

  25. Ewald says:

    Another error.

    My firefox and my friend’s one either (he’s on mac, im on xp) do not load any SIFR. Not on our page, not on the example page.. never.. Whats the problem?

  26. Mark Wubben says:

    Regarding the non-loading of sIFR, sounds like Flash isn’t being detected. Does the sIFR 3 demo work? If not, try uninstalling and re-installing the Flash player. If it does, are you using Flash 10 and 2.0.7?

  27. Tom McGee says:

    This is a real problem.

    I downloaded 2.07, re-exported my 20 or so fonts using Flash MX 2004 on OSX, uploaded the new files and — nothing. Even worse, no text at all displayed whereas before the unreplaced text was at least visible.

    I’m not doing this for my own amusement, either; I have a commercial site running that’s pretty highly dependent on this working. Any ideas?

  28. Mark Wubben says:

    Tom, could you make a post in the forum with a live example page? In any case, a quick test to see if the Flash movie is working OK is by opening it directly in a browser. It should show “Rendered by sIFR 2.0.7”.

  29. Tom McGee says:

    My bad — I’d simply uploaded the new sifr.js file without copying the sIFR.replaceElement functions from my old version. It works now.

  30. Fantastic work on this, thank you.

    With Flash Player 10 in Safari 3.1.2 (and with no hover colour set), I’m still seeing links inside my elements not being clickable under 2.0.7. Here’s a sample page. The replaced text reads “Vertigo Theme” and is centred.

    Incidentally, if I right-click the sIFR headline and choose Copy Link, I see: asfunction:_root.launchURL,0

  31. Mat Blackmore says:

    I haven’t found any mention of this bug elsewhere, so I hope you may be able to help. When viewing sIFR in Safari on Mac OSX the HTML text is displayed while the Flash is loading. It disappears when the flash displays, but this looks really ugly. By the way, this has been mentioned by other Mac users as well, so it’s not just my MacBook. Every other browser/OS renders it all perfectly, by the way. Is there a fix out there for Safari? Or is there a way of stopping Safari showing the sIFR and just displaying the HTML?

    I just tried it on a PC-based Safari (Vista), and it does the same thing: HTML headings come up before the sIFR.

    Any help?

    Thanks

    Mat

  32. Mark Wubben says:

    Hi Matthew, I see you’ve switched to sIFR 3 now?

    Hi Mat, there’s some CSS which should prevent that. Perhaps you can post an example in the forum?

  33. Mark, yes I couldn’t make it work in 2.0.7 so in the end I took the plunge. 3 works really nicely!

  34. Steve says:

    Hi,

    I noticed that sIFR uses “embed” tags for the Flash, which seems to make it incompatible with XHTML.

    I’m assuming there are good reasons for this, but if there’s any discussion/articles about why, I’d be grateful if anyone could link them for me – to save me from hacking around trying to do something that’s unworkable. I’ve searched but come up blank.

    (Big fan of sIFR btw, just trying to work out how to get it into a strict XHTML document without generating invalid markup)

    Thanks,

  35. Mark Wubben says:

    sIFR 3 uses object, so you could (and should) use that.

    I’d also like to note that whatever JavaScript inserts, does not have anything to do with validity of XHTML documents.

  36. Steve says:

    Sorry Mark, I wasn’t meaning to imply that you (or sIFR) were doing anything wrong, just trying to get to the bottom of this, and see what the options are.

    Thanks for the heads up on V3, I’ll take a look at it. Keep up the great work

  37. Jeffry McGee says:

    Thanks for the great information. We switched out the JS and re-exported the fonts. Everything is working again. This thread nailed it!

  38. Andrew Crowe says:

    Re opening in CS4 problem, we opened with CS3, saved as, and now it opens in cs4…

  39. Mark Wubben says:

    Andrew, can you tell whether the sifr.fla file has been modified by opening in CS3?

  40. Mick says:

    I have Flash MX CS2, I tried using the latest nightly. The .fla file gives me same error when trying to open it, “Unexpected File Type”. So I used one of the online generators, (the one I used supports no higher than version 419. Would I be losing anything by downloading sIFR 3 r419?

  41. Andrew Crowe says:

    Mark – the “new” fla is smaller (24kb) so I’m assuming the answer is yes… email me and I’ll send you a copy.

  42. Mark Wubben says:

    Mick, the discussion here is about sIFR 2, which uses a far older .fla file. Don’t recall any issues with the sIFR 3 file though. And r436 is much improved over r419, though r419 is pretty good as well.

    Andrew: done.

  43. Stone Deft says:

    I just installed flash player 10 and lo and behold sifr no longer works in mozilla and in safari. But I downloaded the new js file replaced it with the old one and now it’s working again. I didn’t even bothered republishing the swf files. Wow you guys look great. Tnx for the fix.

  44. Kieran says:

    I too am getting the “Unexpected file format” error when I try to open sifr.fla in Flash CS4 on PC (Vista). Just wondering if there is fix for this bug in the works.

  45. Mark Wubben says:

    Hi Kieran, I have a potential fix (a version of the sifr.fla file saved by CS 3) that I’m just waiting to see confirmed by a few people.

  46. Mark Wubben says:

    I’ve put up a new download, containing a fixed sifr.fla file for use with CS 3 and up. Read more.

  47. Rob Tull says:

    Thanks for the fix guys. I literally just downloaded sIFR, ran into the bug and returned to the site to discover that I grabbed 2.0.7 only moments before the update. Appreciate the fix for CS4. Cheers!

  48. Snuurtje says:

    Hey,

    I updated SIFR on my website but it now displays: Rendered by SIFR3 revision 278. instead of my original header texts. How can i fix this?

    Greetings,

    Martijn

  49. Mark Wubben says:

    @Martijn, make sure the JavaScript and Flash movie are of the same sIFR version.

  50. Justin Alei says:

    With sIFR 2.0.7, we’re having trouble with getting links to work, but only using .swf files we generate ourselves – the tradegothic.swf from the example works fine. Is there something specific we have to do when creating .swf files? We’ve tried using sifrgenerator.com and creating them ‘the long way’, so any help would be appreciated.

    Thanks, Justin

  51. Mark Wubben says:

    Justin, I wouldn’t quite know. You mean it’s fine if you swap out the movies you created for the example movie? The text itself does render?

  52. Justin Alei says:

    Thanks for the reply Mark. Yes, it works fine when I use the example movie from the sifr zip (tradegothic.swf), but any others that I created myself don’t work. I used http://www.sifrgenerator.com for the ones I made, so I suppose it’s possible the option for version 2 isn’t the latest version (2.0.7) – however, it also didn’t work with a flash movie a colleague made the long way (via Flash).

    In any case, I think it’s a moot point as I’ve started playing around with the latest release of sIFR 3 and I think we’ll be using this one. Though now I’m having different problems, but will ask in the forums.

    Thanks, Justin

  53. Craig says:

    http://www.vividnewmedia.co.uk/new/sifr/

    On this site it will not work online but works locally? have added web addy into file and still no luck.

  54. Mark Wubben says:

    @Craig, works for me.

  55. Cyberto says:

    I got the same problem with CS4. I opened it under CS3 and saved it so i could open the CS3 saved fla

  56. Mark Wubben says:

    @Cyberto, there’s two Flash movies in the download, one is a movie that has been saved with CS3. That should work.

  57. Sebastian says:

    Hey,

    sIFR is a great peace of software. I used it in many projects and I am really happy about the possibilities it offers. Many thanks for sharing your work and great ideas! :)

    Best regards, Sebastian

  58. Tom Bowen says:

    When I download sIFR, I cannot open the siFR.FLA file in Flash. I get “Unexpected File Format” when I try. I’m using the latest version of Flash, Flash CS4. I’m on a PC, running XP. Any ideas what I’m doing wrong? I’m vary anxious to get started with sIFR

  59. Tom Bowen says:

    I’m sorry I posted before without having read all of the comments. I’ve just downloaded the latest version again, but there is no sifr-cs4.fla file. There is only one .fla file (named sifr.fla).

    Where can I get the CS3 & up version?

    Tom

  60. Mark Wubben says:

    Tom, if you download from the link on this page, it should include a sifr-cs3-and-up.fla file.

  61. Nathan says:

    I tried to implement SIFR3 with my site http://www.petralian.com < fixed now using gif files but it is only until I can figure SIFR2 out… SIFR3 gave me unremovable margins on top and below I cannot get fixed and overflow/margin/height also doesnt seem to work… Is this also the case with SIFR2 or not? I rather first ask before I try another day of programming ;-)

  62. Mark Wubben says:

    If the margins are inside Flash, you can fix it in sIFR 3 using tuneHeight and offsetTop. If the margins are outside Flash, you’ll probably have the same problem with sIFR 2.

  63. Mike says:

    Does anybody know where I can get the version fpr CS3 or CS4? Thanks for help!

  64. Mark Wubben says:

    It’s in the download linked to from this page.

  65. Sebastian Barrymore says:

    Hi Guys,

    Ok quite a basic problem here. I’ve just downloaded the sIFR 2.0.7 files and I’m using the index page as a base to start my page. Basically I’ve just turned the background to black and all the sIFR heading have a white background around them. I’ve checked all the CSS styles but there doesn’t seem to be anything relating to background colour.

    Is this something I need to change in flash maybe.

    Many thanks

    Seb

  66. Mark Wubben says:

    Hi Seb, this would be the background color setting for the replacements, in JavaScript.

  67. Sebastian Barrymore says:

    Cheers Mark,

    That’s brilliant. Really got me out of a tight spot there.

    For future reference can I make the background transparent so I can use text on a gradient background??

    Thanks again Seb

  68. Mark Wubben says:

    Yes, though that is a different setting, and doesn’t work on all browsers.

  69. regis says:

    Still can’t open it in flash CS4… any ideas?

  70. Mark Wubben says:

    Which file did you try to open?

  71. I’ve downloaded the current version from above (“Download sIFR 2.0.7”) and it looks like it doesn’t contain the file named “sifr-cs3-and-up.fla” that other people are mentioning.

    It looks like this is the content of http://novemberborn.net/sifr/2.0.7/sIFR-2.0.7.zip:

    all.css, customizeme.as, dontcustomize_me.as, index.html, index.xhtml, sifr-addons.js, sIFR-print.css, sIFR-screen.css, sifr.fla, sifr.js, tradegothic.swf, uncompressed js source (do not use)/sifr-addons.js, uncompressed js source (do not use)/sifr.js

    I’d love to get ahold of this fixed version that seems to be working for others – am I missing something? Maybe I’m downloading the wrong file.

    Thanks for all your work on this!

  72. Mark Wubben says:

    The download you link to should contain a sifr-cs3-and-up.fla file, which should be compatible with CS4. You don’t see it?

  73. mike says:

    I don’t see the sifr-cs3-and-up.fla in the sIFR 2.0.7 download either.

  74. Mark Wubben says:

    Make sure you download it from my site, I don’t think Mike’s download is fully up to date.

  75. Matt says:

    re: Safari 4 + Flash 10 Bug. Has anyone got a fix for this? I need transparency on my text, not a solid background color. All the files I’m using are from sIFR 2.0.7. Would updating to sIFR 3 be the solution?

  76. I have “unexpected format” problem too when i’m trying to open sifr.fla