Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Michael Lynn 2 posts 22 karma points
    Aug 03, 2011 @ 11:38
    Michael Lynn
    0

    Using Multiple File Upload with SWFObject.js 2.2

    Hi,

    I am working on a project where there is a carousel control on the front end that must use SWFObject.js version 2.2. When multiple file upload is installed it overwrites SWFObject.js with version 1.5. When I copy 2.2 back Multiple File Upload stops working showing JavaScript errors in Umbraco.

     

    I don't think having 2 versions of SWFObject.js is a good solution and I would have to change my front end masterpages to do that.

     

    Why does Multiple File Upload depend on SWFObject.js 1.5? Could the Multiple File Upload package be updated to include and be compatible with SWFObjects.js 2.2? Maybe SWFObject.js should be removed from the package and added as a prerequisite for the system for future compatibility.

     

    We would be very grateful for any help on this because I have to get my code working this week!

    We are using Umbraco version 4.0.3

  • Sebastiaan Janssen 5060 posts 15522 karma points MVP admin hq
    Aug 03, 2011 @ 11:50
    Sebastiaan Janssen
    0

    The workaround would be to rename your 2.2 version to swfobject2.2.js and refer to that one in the frontend, that way the MFU in the backoffice will still refer to the old version and you can use the new version in the frontend.

    I don't think I have time to fix it this week, but this should work!

  • Michael Lynn 2 posts 22 karma points
    Aug 03, 2011 @ 15:43
    Michael Lynn
    0

    Hi,

    Yes, that works. I think it would be neater if MFU could use SWFObject.js version 2.2

     

    I don't know why 2.2 wouldn't be backwards compatible with 1.5.

     

    Regards,

    Michael.

Please Sign in or register to post replies

Write your reply to:

Draft