Search  

SIMPLE IMAGE VIEWER

HomeBrowse CategoriesFlashApplications and UtilitiesImage ViewersSimple Image Viewer
Full_screen_preview

Created as a simple general-purpose viewer (Flash 8, AS2 ) with scrolling thumbnails that can be easily plopped in the middle of a web page. Images and captions (up to 100) are included by editing a simple XML (text) file. The XML file also includes some color settings to make the viewer somewhat adaptable for different web page looks. The scrollbar also operates when clicking / click-and-holding the scrollbar background, and with a mouse wheel.

This viewer can support up to 100 images. It’s not intended for a lot of very large file-size images as all images are preloaded into the viewer, making initial viewer loading slower. But viewer operation after being loaded is very fast.

Posted 2 months ago

good work i like how all the images are loaded in beforehand so you dont have to wait when you click

Posted 2 months ago

not bad, however:

WHY only upto 100 images. I mean, you got it working, why limit anything?

Posted 2 months ago

Wow, FlashDen stuff gets pretty quick notice. Just found the place and thought I’d experiment with this little guy. Thanks for the feedbacks. Checked out some of you guys’ things. Pretty cool.

The 100 limit… well, just kinda pulled that number out of my hat. Used a couple arrays, and as long as I’ve been programming, I’ve never been a big fan of undefined array lengths. Haha, guess I just feel like that’s saying, “I will eventually blow up, I just don’t know when. In any case, because this guy has to preload all images, I didn’t imagine anyone would use it for TOO many. 100 seemed like an ok limit. Easy change in the code.

Thanks again for checkin’ me out.

Posted 2 months ago

Do you need to make any changes to the FLA file or are all the changes made right in the XML file?

Posted 2 months ago

Hey alvin, thanks. Well, the color changes and images and captions to be loaded are just done in the XML file. If you’re referring to compelo’s question about the 100 image limit, there are some quite obvious little changes that would have to be done in the fla file. Specifically, in frame 5, you’ll see some arrays at the top set to 102. Either make that number bigger or just delete the number for each array. And on line 27 you’ll see an “if” statement cutting the count off at 100. You can just delete that whole line.

Thanks again, and let me know if you need help.

Posted 2 months ago

You are limited to landscape images? What does it do with portrait pics?

Posted 2 months ago

hey tag,

oh no. it scales images to fit in the viewing area. Actually, they way I’m doing it, there’s a picture stage movie clip, which is just a rectangle, that you can size however you want if you’re editing the viewer. The viewer then scales the image so that it fits in that area, with its maximum dimension being the limiting factor. Check the hibiscus picture (the 4th sample image). Taller than it is wide, it’s scaled so that its height fits within the height of the picture stage movie clip, and then its width is scaled proportionately.

thanks, bidderman

Posted 2 months ago

Anyway to have it in bigger size please ? I don,t have Flash … 640×480 is kind of small, any way to put it in 1024×768 ?

Posted about 1 month ago

hey musher, thanks. well, the easy flashless way is to just scale it in your html file, or .js file if you’re loading it like my sample html page. actually, pretty sure the .js file with my sample page has a 900×600 scaling script in it. just change the sample html script line from:

load600();

to:

load900();

so you can scale it there or in your html file to any proportions of 600×400. like: 960×640, 1020×680, 1080×720, 1140×760…

and that was mainly why i added the ability to size the text so it wouldn’t have to get huge if you scaled it bigger.

anyway, just giving you that thought if you want to try it. if you’d really like it actually sized differently, give me a shout at skbidderman@yahoo.com

thanks.

Posted about 1 month ago

HAving a problem.. I cant get the slider to work right.. I put the image gallery into a page that is 966 by 642.. And i masked out around the gallery so the thumb nails dont show.. Problem is that the scroller doesnt work wells… It doesnt show the first or last images…

Posted 2 days ago