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.
    • CommentAuthorseven4ever
    • CommentTimeMay 28th 2009
     permalink

    Maybe you can help me with this one...i would like the gallery to scale automaticly with the browser-window...

    This is what i tried..but it didn't work out...

    <code>var so = new SWFObject("monoslideshow.swf", "SOmonoSlideshow", "100%", "100%", "7", "#ffffff");</code>

    Thx for a helping hand

  1.  permalink

    That is not possible with Flash movies in general without heavy coding involved.
    Christoph

    • CommentAuthorseven4ever
    • CommentTimeMay 28th 2009
     permalink

    I know that, but thats how I would like to have my gallery...here is some Action Script I tried in a new flashfile...the gallery is loading, but the gallery does not grow with the window.

    <code>_global.portRoot = this;

    function loadingFinished(target:MovieClip):Void {
    var monoslideshow:Object = new Monoslideshow(target, "monoslideshow.xml");
    monoslideshow.start(Stage.width, Stage.height, false);
    }
    var listener:Object = new Object();
    var movieClipLoader:MovieClipLoader = new MovieClipLoader();
    listener.onLoadInit = loadingFinished;
    movieClipLoader.addListener(listener);
    this.createEmptyMovieClip("holder", this.getNextHighestDepth());
    movieClipLoader.loadClip("monoslideshow.swf", this.holder);

    Stage.scaleMode = "noScale";
    Stage.align = "TL";
    var lst = new Object();
    lst.onResize = function() {
    _global.monoslideshow._width = Stage.width;
    _global.monoslideshow._height = Stage.height;
    }
    Stage.addListener(lst);
    lst.onResize();
    </code>

    thx for help

  2.  permalink

    You would have to dynamically change the contents of the monoslideshow.xml and then get MSS to recognize those changes - I don't think that is possible.
    Christoph

    • CommentAuthorJarredja
    • CommentTimeJun 2nd 2009
     permalink

    Can we get it to load to maximum window size? I am currently looking into putting in a refresh command upon window resize but have yet to get it right. Once the window refreshes, it fits great, at least with my project.

    • CommentAuthorJarredja
    • CommentTimeJun 2nd 2009
     permalink

    For my use, I put this script in my html. It works for me.
    <code>

    <script language="JavaScript">
    <!--
    // function to allow the changing of the window size
    // to the maximum local screen width and height

    window.resizeTo(screen.width,screen.height)

    -->
    </script>
    </code>
    This site was my source for the info.

    <a href="http://www.codeave.com/javascript/code.asp?u_log=7065">http://www.codeave.com/javascript/code.asp?u_log=7065</a>

    I checked it using FF, Opera, IE, Safari. I will try different computers just to be sure but I think my problem is fixed. Hope this helps,

    Jarredja

  3.  permalink

    Would you mind putting up a link to your (test) site? I would very much like to see it working.
    Christoph

    • CommentAuthorJarredja
    • CommentTimeJun 3rd 2009 edited
     permalink

    <a href="http://www.texasvirtualtours.com/www/gallery/test.html">Test page</a>

    The first script is not perfect, but it does help to get a bigger window.(which is what I want)

    Code in the body
    <code>
    <script language="JavaScript">

    window.moveTo(0,0);
    window.resizeTo(screen.width,screen.height);

    </script>
    </code>

    It only forces a bigger window at startup.

    The second option, adds a script to the body tag
    <code>
    <body onResize="window.location.href = window.location.href;">
    </code>
    Works great if you remove the doctype from your html file. Otherwise, IE and Google Chrome seems to lock up.

    Jarredja

  4.  permalink

    Great, thank you.
    Christoph

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