see live demo!

Not signed in (Sign In)

Categories

 

buy Monoslideshow

via PayPal / credit card

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

Welcome Guest!
Want to take part in these discussions? If you have an account, sign in now.
If you don't have an account, apply for one now.
    • CommentAuthorcmz
    • CommentTimeDec 11th 2009
     permalink

    When I try to add event listeners I always get JavaScript errors for IE8 (it works fine for ff). Debugger is showing, that errors occurs in this code:

    function __flash__addCallback(instance, name) { instance[name] = function () { return eval(instance.CallFunction("<invoke name=\""+name+"\" returntype=\"javascript\">" + __flash__argumentsToXML(arguments,0) + "</invoke>")); } }

    I have added some changes to an example file:

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta http-equiv="content-type" content="text/html; charset=utf-8" /> <title>Monoslideshow 2.0 Example</title> <script type="text/javascript" src="swfobject.js?v=2.2"></script> <script type="text/javascript"> // my init function function initializeSlideshow() { } // add callback function var flashvars = { callBackFunction: "initializeSlideshow" }; var params = {allowScriptAccess: "sameDomain", allowfullscreen: "true", allowNetworking: "all"}; var attributes = {id: "monoslideshow", name: "monoslideshow", bgColor: "000000"}; swfobject.embedSWF("monoslideshow.swf", "flashContent", "480", "360", "9", false, flashvars, params, attributes); </script> </head> <body> <div id="flashContent"> <p>Please <a href="http://get.adobe.com/flashplayer/">install Flash®</a> and turn on Javascript.</p> </div> <p>If you encounter any errors loading Monoslideshow locally, please update your <a href="http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager04.html">security settings</a> by adding the Monoslideshow folder to the trusted locations.</p> </body> </html>

    But I'm getting errors even in this simple case.

    What do I do wrong?

    • CommentAuthorFredygulzy
    • CommentTimeDec 30th 2009
     permalink

    I have the same issue I think in IE. It seems to rely on the CallBackFunction in Flashvars, even if this function does nothing.
    I don't know if the demo page (http://www.monoslideshow.com/demo) uses CallBackfunction, but this page does not generate any error in IE.

    The error I have is :

    Message: Object doesn't support this property or method
    Line: 48
    Char: 3
    Code: 0
    URI: http:/www.urbica.fr/en/medias/galeries_photos.php

    Is it also the error you have ?
    I also would like to understand ;-)

    • CommentAuthorAlbert1234
    • CommentTimeMar 20th 2010
     permalink

    When you first try to run a JavaScript on your web page it is quite likely that it wont work the way that it is supposed to. You may get an error message that gives you a clue as to what happens or the script may just not appear to do anything.

    cisco training
    • CommentAuthorjswift
    • CommentTimeSep 10th 2010
     permalink

    Hi all, been struggling with this for sometime now.
    Found all sorts of possible solutions on the web but none seem to fix the problem.

    Finally came up with this solution...

    Add the following to the top of your JavaScript:

    window.onerror=function(){ // Do Nothing }

    Basically any errors will be trapped and no messages will be displayed.

    Doesn't really fix the problem, it only masks it.
    So long as you know all your other JavaScript code is functioning correctly you wont have a problem.

    Have fun.

    Jez

    • CommentAuthorNils
    • CommentTimeSep 13th 2010
     permalink

    Hi !
    Could you tell me plz - does "callBackFunction" working in last release ?
    (v.216)

    I have problems with it in all browsers. (IE 7, Chrome 6, FF 3.6.9)

    >

    function test() {
    alert("CallBack is working");
    }
    var flashvars = {callBackFunction: "test"};
    var params = {allowScriptAccess: "all", allowfullscreen: "true", allownetworking: "all", bgcolor: "000000"};
    var attributes = {id: "monoslideshow", name: "monoslideshow"};
    swfobject.embedSWF("monoslideshow.swf", "flashContent", "480", "360", "10", false, flashvars, params, attributes);
    >

    Could you help me ?

    • CommentAuthorNils
    • CommentTimeSep 13th 2010
     permalink

    <configuration ... followImageLinks="true" ...> solves my needs.
    plz fix callBackFunction processing.

monokai logo © 2009 Monokai, all rights reserved. Buy Monoslideshow.