Not signed in (Sign In)

Vanilla 1.0.3 is a product of Lussumo. More Information: Documentation, Community Support.

  1.  
    Hi 2 all,

    When the Flash Object is loaded or on the Page the Rokzoom or Slimbox Effect ( Showing the picture ) doesn't work on IE 7
    The Error says : Object or Function is not supported
    This only occours in IE if the Flash Object is on the page - if swfobject.js is loaded there is no problem at all

    Link : http://www.dieshoppingseite.com/de/men/fr_hjahr_sommer_2008_c_a_herren_kollektion_.html

    Like always ;-) ... everything works fine with other browsers : Camino, Firefox, Opera, etc.

    Does somebody have a work around ?

    Regards
    • CommentAuthorAran
    • CommentTimeMar 9th 2008
     
    Have you tried the latest 1.5.1 or 2.0 of swfobject? (is there any reason you are using a much older build?)

    I know there is an issue with swfobject and some js libraries in the way they add methods to the prototype chain (if that means anything to you - you would need to know a bit about Object Orientated Programming for this to have any relevance). You can read more here: http://blog.deconcept.com/swfobject/forum/discussion/753/

    I believe that SWFObject 2.0 has dealt with these issues, so that might be a good starting point for you.


    Cheers,
    Aran
    • CommentAuthorphilip
    • CommentTimeMar 9th 2008 edited
     
    I use MooTools (1.11) and SWFObject (1.5.1) without any problems.

    Whenever I get an "object or function is not supported error" in IE, it's usually because the MooTools prototypes haven't been applied to an object before trying to use MooTools-specific functions. For instance:

    var mydiv = document.getElementById("flashcontent");
    mydiv.addClass("foo");

    won't work because the MooTools prototypes (including the method "addClass") haven't been applied to the mydiv object. It will throw the exact type of error you're seeing. If it were written as:

    var mydiv = $("flashcontent");
    mydiv.addClass("foo");

    it would work because the dollar function ($) applies the prototypes to the object.

    Of course, I can't guarantee this is what's causing your problem, but it's a very likely cause. If you'd like more help with this, please visit the MooTools forums (http://forum.mootools.net/).

    - philip
    • CommentAuthorStrangeDays
    • CommentTimeMar 10th 2008 edited
     
    Thx all 4 responding

    I think the "error" is in the rokzoom.js the problem is only that i dont have the source to fix it ( the source is like it seems packed )

    BTW : i made an error .. I'm using SWFObject 1.5 ( i think it's 1.5.1 because i downloded it from here )

    The problem is obivously the combination of rozoom.js ( which is an elder version and uses motools) and swfobject ... and like philip said i also believe that the error is what he wrote

    I'll try the new versions ( Rokzoom + Swfobject 2.0) ... an hope that this will work and that i will be able to get the 2 work ....

    - StrangeDays
    • CommentAuthorStrangeDays
    • CommentTimeMar 10th 2008 edited
     
    Fixed :

    1st replace rokzoom.js with : http://www.rockettheme.com/option,com_smf/Itemid,190/topic,27400.0/ ... this one
    swfobject.js can be untouched ( installing release 1.5.1 leaded to a problem with the menu .... z-index ... but swfobject isn't the bottle neck so i left it untouched )
    works only with mootools Release 1.11

    everything works fine now

    thx 2 all helping me out