Not signed in (Sign In)

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

    • CommentAuthorrikke
    • CommentTimeJul 25th 2007 edited
     
    Installed the swfObject and get the testfile to play alright. What I wanna do is to play a file called images.xml that was sent to me by a colluege that uses swfObject. I cannot get this to work, and I dont know where to start looking for faulties. I cannot find a var in his original code, referring to this playlist.

    Neither (for test purpose) have I managed to just play JPG's since I havent found instructions of where to put them.

    Have I misunderstood the purpose of swfObject?

    If needed look here for example: www.spectrasonics.net

    (The file on index is what I want to do. I have downloaded the swfobject.js and newsbanner.swf file)

    Kind regards, Rikke
    • CommentAuthorAran
    • CommentTimeJul 25th 2007
     
    Rikke.

    If you look on the example page you supplied, you can see the swfobject definition:

    <script type="text/javascript">
    // <![CDATA[
    var so = new SWFObject("news/newsbanner.swf", "specNews", "625", "350", "7", "#FFFFFF");
    so.write("flashcontent");
    // ]]>
    </script>


    This newsbanner.swf is using a component called slidershowPro (see more info at www.slideshowpro.com). Internally, the .swf filw will be loading the xml file which defines the galleries / images to show.

    So basically, that images.xml should be in the same folder as your .swf file. Assuming the xml file has correct links to the images you want to display, you should be able to use the above swfobject definition. Just change the path to the .swf file if differnt from above "news/newsbanner.swf" sould be changed to "newsbanner.swf" if the file is in the same folder as your HTML page.

    Cheers,
    Aran
    • CommentAuthorrikke
    • CommentTimeJul 25th 2007 edited
     
    Ok, thanks Aran, that does takes me one step further.

    Do I need the slidershowPro to get it to work, or is that just a type of assembler?

    I do have the xml file in the same folder and the links within it are absolute.
    The file is copied from the page I linked to previously, so it is the actual file they are using.

    What else might I have done wrong? Any ideas?
    • CommentAuthorAran
    • CommentTimeJul 25th 2007
     
    Rikke

    If you post your page, I can see what server calls are failing. I don't know your folder structure, or what is wrong otherwise. You might want to ask your colleague exactly how he had his folders set up.
    • CommentAuthorrikke
    • CommentTimeJul 26th 2007
     
    Ok,

    http://www.soundsonline.se/demotest/spectra.html

    I get the "player" to show. It also adds the 20 preview numbers, but no loading?
    I have exchanged the links to local server.
    I have installed the .js, .swf and .xml
    I see something called transition.swf. Is that a file?

    My colleague has not set it up personally, so I cannot get much help there I think.

    but again, Im very greatful for the help I get here!
    • CommentAuthorAran
    • CommentTimeJul 26th 2007
     
    Yes, transitions.swf is a file you need. All the links in your XML file point to that file. It needs to be located here:

    http://www.soundsonline.se/picstransitions.swf

    I am unsure about the realtive paths you have defined in your XML: lgPath="/pics" tnPath="/pics". Nornally I would recommend to have absolute paths here, but it looks like the image files are being references absolutely in the img src:

    e.g.
    transitions.swf?fileloc=http://www.soundsonline.se/demotest/pics/transformers_flash.jpg&thumbloc=http://www.soundsonline.se/demotest/pics/transformers_thumb.jpg

    Get the transitions.swf up to the server, and it looks like it should work.

    Cheers,
    Aran
    • CommentAuthorzhangsisi
    • CommentTimeOct 1st 2007
     
    find best www.ConnectAsia.info/en/lang104082about_sisi11 welcome you