Groups | Blog | Home
all groups > flash actionscript > july 2007 >

flash actionscript : getUrl from another directory



BS82
7/6/2007 6:27:08 PM
onClipEvent (enterFrame) {
h = "ban"+n+".jpg";
// trace(h);
t = getTimer();
if (n<=_root.tot) {
if (t-oldt>=2000*n) {
a = false;
loadMovieNum(h, 2);
_root.button.l = _root[n];
n++;
}
}
}

i have this code, then _root.button.l is linked to

on (release) {
getURL(_root.button.l, _blank);
}

so with this code i can load some images from same directory of .swf file.

if i want to load from a sub-directory like /images/, what i have to do?

I have to change something here, right?
on (release) {
getURL(_root.button.l, _blank);
}


excuse for my crappy english.... :-(



--
-------------------------------
www.Artenelweb.net --> Servizi Internet e Web Creation
www.simbus82.altervista.org --> Hi-Tech Content Inside

BS82
7/6/2007 6:40:10 PM
[quoted text, click to view]

resolved :-)

--
-------------------------------
www.Artenelweb.net --> Servizi Internet e Web Creation
www.simbus82.altervista.org --> Hi-Tech Content Inside

AddThis Social Bookmark Button