# I despise image gallery

**URL:** <https://forum.kirupa.com/t/i-despise-image-gallery/34562>\
**Category:** Uncategorized\
**Created:** [November 4, 2003, 12:30am UTC](https://forum.kirupa.com/t/i-despise-image-gallery/34562 "2003-11-04T00:30:56Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![bronzemonster](https://avatars.discourse-cdn.com/v4/letter/b/96bed5/32.png) [@bronzemonster](https://forum.kirupa.com/u/bronzemonster)\
**Post date:** [November 4, 2003, 12:30am UTC](https://forum.kirupa.com/t/i-despise-image-gallery/34562/1 "2003-11-04T00:30:56Z")

</div>

OK, i used the tutorial from [kirupa.com](http://kirupa.com) to make my gallery. I folowed every instruction couldnt get it right. So, i got lazy and just downloaded the .fla. I change the picture names and the file path and i get my first picture coming up, i click next arrow, fades out to nothing. If i test my movie in flash, i get output of Nan over and over. No clue what this means and its pi$$ing me off!

[my site](http://geocities.com/teambronze4)

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [November 4, 2003, 12:40am UTC](https://forum.kirupa.com/t/i-despise-image-gallery/34562/2 "2003-11-04T00:40:39Z")

</div>

post it up, get ppl to have a look at it

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [November 4, 2003, 12:45am UTC](https://forum.kirupa.com/t/i-despise-image-gallery/34562/3 "2003-11-04T00:45:43Z")

</div>

heres the .fla

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [November 4, 2003, 1:22pm UTC](https://forum.kirupa.com/t/i-despise-image-gallery/34562/4 "2003-11-04T13:22:03Z")

</div>

You get which output exactly?

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [November 5, 2003, 1:09am UTC](https://forum.kirupa.com/t/i-despise-image-gallery/34562/5 "2003-11-05T01:09:55Z")

</div>

i get output that reads NaN

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [November 6, 2003, 10:40pm UTC](https://forum.kirupa.com/t/i-despise-image-gallery/34562/6 "2003-11-06T22:40:12Z")

</div>

NaN - Not a number.

Do you have more than one pic?

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [November 7, 2003, 8:46pm UTC](https://forum.kirupa.com/t/i-despise-image-gallery/34562/7 "2003-11-07T20:46:50Z")

</div>

ya, i have 18 of them, so what does this “not a number” mean. there is probably sumthin in the script i \*\*\*\*ed up;  
This is exactly what i have:

/\*  
i wrote this code, but you can use and abuse it however you like.  
the methods are defined in the order which they occur to make it  
easier to understand.  
\*/  
// variables ------------------------------------------  
// put the path to your pics here, include the slashes (ie. “pics/”)  
// leave it blank if they’re in the same directory  
this.pathToPics = “[http://www.geocities.com/teambronze4/tonio.html](http://www.geocities.com/teambronze4/tonio.html)”;  
// fill this array with your pics  
this.pArray = [“tonio1.JPG”,“tonio2.JPG”,“tonio3.JPG”,“tonio4.JPG”,“tonio5.JPG”,“tonio6.JPG”, “tonio7.JPG”, “tonio8.JPG”, “tonio9.JPG”, “tonio10.JPG”, “tonio11.JPG”, “tonio12.JPG”, “tonio13.JPG”, “tonio14.JPG”, “tonio15.JPG”, “tonio16.JPG”, “tonio17.JPG”, “tonio18.JPG”];  
this.fadeSpeed = 20;  
this.pIndex = 0;  
// MovieClip methods ----------------------------------  
// d=direction; should 1 or -1 but can be any number  
//loads an image automatically when you run animation  
loadMovie(this.pathToPics+this.pArray[0], \_root.photo);  
MovieClip.prototype.changePhoto = function(d) {  
// make sure pIndex falls within pArray.length  
this.pIndex = (this.pIndex+d)%this.pArray.length;  
if (this.pIndex\<0) {  
this.pIndex += this.pArray.length;  
}  
this.onEnterFrame = fadeOut;  
};  
MovieClip.prototype.fadeOut = function() {  
if (this.photo.\_alpha\>this.fadeSpeed) {  
this.photo.\_alpha -= this.fadeSpeed;  
} else {  
this.loadPhoto();  
}  
};  
MovieClip.prototype.loadPhoto = function() {  
// specify the movieclip to load images into  
var p = \_root.photo;  
//------------------------------------------  
p.\_alpha = 0;  
p.loadMovie(this.pathToPics+this.pArray[this.pIndex]);  
this.onEnterFrame = loadMeter;  
};  
MovieClip.prototype.loadMeter = function() {  
var i, l, t;  
l = this.photo.getBytesLoaded();  
t = this.photo.getBytesTotal();  
if (t\>0 && t == l) {  
this.onEnterFrame = fadeIn;  
} else {  
trace(l/t);  
}  
};  
MovieClip.prototype.fadeIn = function() {  
if (this.photo.\_alpha\<100-this.fadeSpeed) {  
this.photo.\_alpha += this.fadeSpeed;  
} else {  
this.photo.\_alpha = 100;  
this.onEnterFrame = null;  
}  
};  
// Actions -----------------------------------------  
// these aren’t necessary, just an example implementation  
this.onKeyDown = function() {  
if (Key.getCode() == Key.LEFT) {  
this.changePhoto(-1);  
} else if (Key.getCode() == Key.RIGHT) {  
this.changePhoto(1);  
}  
};  
Key.addListener(this);

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [November 9, 2003, 1:33am UTC](https://forum.kirupa.com/t/i-despise-image-gallery/34562/8 "2003-11-09T01:33:42Z")

</div>

It’s seams everything is OK.

I assume problem is in that location.

Does your gallery works on your local harddrive?

Try to put “image0.jpg” first. I saw som galleries that it won’t work with 10, 20 etc in file name. I really don’t know reason.

Try this and post it. I am curious why this doesn’t work.

I’ll look more carefully to find error. 'till then…

Best regards.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [November 9, 2003, 7:16pm UTC](https://forum.kirupa.com/t/i-despise-image-gallery/34562/9 "2003-11-09T19:16:35Z")

</div>

ok, i got to work on my comp, i’m gonna attempt to put it on the net, but i’m unsure bout the path to put it to.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [November 9, 2003, 7:48pm UTC](https://forum.kirupa.com/t/i-despise-image-gallery/34562/10 "2003-11-09T19:48:31Z")

</div>

Ok, iloaded everything to my site and it doesnt work, so i cant inclose the whole thing but if someone wants it just email me for the one that works on the hardriveand i will seriously send someone a buck if they can fix this for me.

i’m trying to put it on this site here [www.geocities.com/teambronze4](http://www.geocities.com/teambronze4)

i dont understand why this will not work when i put it on the net, but if you put in the address [www.geocities.com/teambronze4/tonioa.jpg](http://www.geocities.com/teambronze4/tonioa.jpg) it shows the pics, but when i try to put this same address in the actions, but without the filename, it doesnt work and i’m so confused it pi$$es me off and i want it to work.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [November 9, 2003, 7:51pm UTC](https://forum.kirupa.com/t/i-despise-image-gallery/34562/11 "2003-11-09T19:51:48Z")

</div>

nevermind at \*\*\*\*ing all, AHHHHHHHHH i hate geocities but to broke to pay errrrrrrrrrrrr, o wait this should still work?

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [November 9, 2003, 7:54pm UTC](https://forum.kirupa.com/t/i-despise-image-gallery/34562/12 "2003-11-09T19:54:13Z")

</div>

## Pulling files from your GeoCities account to a location outside of Yahoo! GeoCities, such as auction sites, message boards, and other web sites. Using GeoCities for the sole purpose of storing files. Nudity/\*\*\*\*ography. Registering for multiple accounts. Using GeoCities for commercial purposes. Using GeoCities for hate/defamatory purposes. Using your GeoCities home page to redirect visitors to other sites. Improperly promoting your website via email, message boards, or instant message (i.e., spam).

This is what geocities says is stuff i cant do but yet its lettinme have a footer, and would this stop me from properly creating my gallery.  
all thesequestions in a 20 min period hurts my head.  
Ⓜ

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [November 9, 2003, 9:53pm UTC](https://forum.kirupa.com/t/i-despise-image-gallery/34562/13 "2003-11-09T21:53:58Z")

</div>

I heard some hosting company doesn’t allow any script on their server, and that mean Flash MX script.

But, try this…

Put location something IP / … /images  
On your home page put everything you need to  
load flash (SWF file).

You have to do this with Total Commander (or earlier Windows Commander) via FTP.

I tried this last night again and works fine. Even with 0, 10, 20… in file name.

Find some tutorials for publishing flash animation on Internet. I think there might be an answer.

BR.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [November 9, 2003, 11:49pm UTC](https://forum.kirupa.com/t/i-despise-image-gallery/34562/14 "2003-11-09T23:49:16Z")

</div>

it works now thanks zodiac you’ve been a lot of help

check it out: [www.geocities.com/teambronze4/pictures.html](http://www.geocities.com/teambronze4/pictures.html)
