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?
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?
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
Flash MX Esempi da scaricare -
Team www.BeatFly.com - render,photo,ecc.. Elements01.net - Beat Fly official Blog-
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?
non so dove definisce _arg1, ma la prima variaibile di _arg1 và sostituita con il tuo file.swf che vuoi aprirecodice:function launchProject(_arg1){ loadMovieNum(_arg1, 2); }![]()
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![]()
da questo errore
Error opening URL "file:///C|/Documents%20and%20Settings/j/Desktop/XML%5Fdynamic%5Fgallery%5Fw%5Fpopup/_level0.featuredProjects.thumb0"
scusa, ho fatto un errore di trascrizione
prova cosìcodice:function launchProject(_arg1){ loadMovieNum(_arg1.launchURL, 2); }
grande funziona!!!!
ti amo![]()
And.. che dichiarazione a me non me l'ha fatta mai nessuno/aVVoVe:
Flash MX Esempi da scaricare -
Team www.BeatFly.com - render,photo,ecc.. Elements01.net - Beat Fly official Blog-
Originariamente inviato da rempox
And.. che dichiarazione a me non me l'ha fatta mai nessuno/aVVoVe:
VVoVe: neanche a me finora, fosse almeno una donna
![]()
![]()
![]()