Visualizzazione dei risultati da 1 a 10 su 10
  1. #1

    gallery slide di marioz

    ciao a tutti
    questa gallery carica se si vuole per ogni immagine delle pop up esterne
    http://www.flashkit.com/movies/Scrip...0203/index.php
    si riesce a far caricare un swf a livello 2 invece della pop up?
    cosa devo modificare?

  2. #2
    quello che ti posso consigliare è

    www.rempox.it - sez download - select gallery la prima o la seconda

    anzi la seconda
    http://www.rempox.it/forum/gallery/t...elect_gal.html

    ciao

  3. #3
    il tipo che l'ha fatta mi ha rispoto così
    > you must modify the :
    >
    > function launchProject(_arg1) {
    > myURL = new String(("'popup"+_arg1.launchURL)+"'");
    > myHeight = new String(("'height="+_arg1.launchHeight)+",");
    > myWidth = new String(("width="+_arg1.launchWidth)+",");
    > getURL((((("javascriptpenNewWindow("+myURL)+",'HMX',")+myHeight)+myWidth )+"toolbar=no,scrollbars=no')");
    > }
    >
    > with a new function() that 'loads' an .swf file

    qualcuno di voi..ci riesce?

  4. #4
    Utente di HTML.it L'avatar di and80
    Registrato dal
    Mar 2003
    Messaggi
    15,182
    codice:
    function launchProject(_arg1){
    loadMovieNum(_arg1, 2);
    }
    non so dove definisce _arg1, ma la prima variaibile di _arg1 và sostituita con il tuo file.swf che vuoi aprire

  5. #5
    la funzione totale è:
    function getLabel(_arg1) {
    return (baseNode.childNodes[_arg1].childNodes[0].firstChild.nodeValue);
    }
    function getLink(_arg1) {
    return (baseNode.childNodes[_arg1].childNodes[1].firstChild.nodeValue);
    }
    function getWidth(_arg1) {
    return (baseNode.childNodes[_arg1].childNodes[2].firstChild.nodeValue);
    }
    function getHeight(_arg1) {
    return (baseNode.childNodes[_arg1].childNodes[3].firstChild.nodeValue);
    }
    function getPic(_arg1) {
    return (baseNode.childNodes[_arg1].childNodes[4].firstChild.nodeValue);
    }
    function alphaIn(_arg1) {
    if (_arg1.txt.txt._currentframe<9) {
    _arg1.txt.txt.play();
    }
    }
    function alphaOut(_arg1) {
    _arg1.txt.txt.gotoAndStop(1);
    }
    function launchProject(_arg1) {
    myURL = new String(("'popup"+_arg1.launchURL)+"'");
    myHeight = new String(("'height="+_arg1.launchHeight)+",");
    myWidth = new String(("width="+_arg1.launchWidth)+",");
    getURL((((("javascriptpenNewWindow("+myURL)+",'HMX',")+myHeight)+myWidth )+"toolbar=no,scrollbars=no')");
    }
    baseNode = featXML.firstChild;
    var child = baseNode.firstChild;
    while (child != null) {
    numItems++;
    child = child.nextSibling;
    }
    _root.createEmptyMovieClip("featuredProjects", 1);
    featuredProjects._y = 6;
    featuredProjects._visible = false;
    i = 0;
    while (i<numItems) {
    featuredProjects.attachMovie("thumb", "thumb"+i, i);
    myN = eval("featuredProjects.thumb"+i);
    myN.hitArea = myN.hA;
    myN.createEmptyMovieClip("pic", 1);
    myN.createEmptyMovieClip("txt", 2);
    myN.txt._y = -5;
    myN.hA._visible = false;
    myN.attachMovie("thumbLabel", "thumbLabel", 2);
    myN.thumbLabel.txt = getLabel(i);
    myN.thumbLabel._y = -33;
    myN.thumbLabel._alpha = 0;
    myPic = getPic(i);
    myLabel = getLabel(i);
    myN.pic.loadMovie("images/"+myPic, 1);
    myN.txt.attachMovie("txt", "txt", 2);
    myN.txt.txt.txt = myLabel;
    myN.launchURL = getLink(i);
    myN.launchWidth = getWidth(i);
    myN.launchHeight = getHeight(i);
    myN.onPress = function() {
    };
    i++;
    }

    se metto questo

    function launchProject(_arg1){
    loadMovieNum(_arg1, 2);
    }

    al posto di questo
    function launchProject(_arg1) {
    myURL = new String(("'popup"+_arg1.launchURL)+"'");
    myHeight = new String(("'height="+_arg1.launchHeight)+",");
    myWidth = new String(("width="+_arg1.launchWidth)+",");
    getURL((((("javascriptpenNewWindow("+myURL)+",'HMX',")+myHeight)+myWidth )+"toolbar=no,scrollbars=no')");
    }

    non funzia

  6. #6
    da questo errore

    Error opening URL "file:///C|/Documents%20and%20Settings/j/Desktop/XML%5Fdynamic%5Fgallery%5Fw%5Fpopup/_level0.featuredProjects.thumb0"

  7. #7
    Utente di HTML.it L'avatar di and80
    Registrato dal
    Mar 2003
    Messaggi
    15,182
    scusa, ho fatto un errore di trascrizione
    codice:
    function launchProject(_arg1){
    loadMovieNum(_arg1.launchURL, 2);
    }
    prova così

  8. #8
    grande funziona!!!!
    ti amo

  9. #9
    And.. che dichiarazione a me non me l'ha fatta mai nessuno/a VVoVe:

  10. #10
    Utente di HTML.it L'avatar di and80
    Registrato dal
    Mar 2003
    Messaggi
    15,182
    Originariamente inviato da rempox
    And.. che dichiarazione a me non me l'ha fatta mai nessuno/a VVoVe:
    VVoVe: neanche a me finora, fosse almeno una donna


Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved.