ActionScript 2.0 :: Kirupa's Photo Slide Show With Thumbnails?
Jul 2, 2008
I am customizing the Photo slide show with thumbnails from this site. It is great. I was able to customize it so it would work with bigger pics (640 width X 480 height) basically wider pics then they are tall, but I also have pics that are taller then they are wide (480 height X 640 width).
1. in the thumbnail area the taller pics load over top of the pic before it and then there is a large gap after it.
2. the movie clip that loads the full size image aligns the pics to the upper left corner of the movie clip. I would like it to center the taller pic. I know I will have the same problem with the wider pics when I make the viewing area 640x640 they will look to high.
here is the code that is used:
function loadXML(loaded) {
if (loaded) {
xmlNode = this.firstChild;
image = [];
[code]....
View 5 Replies
Similar Posts:
Mar 21, 2011
I have created a Photo Gallery based on the excellent tutorial, the only thing I would like to add is Numbers to the Thumbnails.
I assume I would need to use the attachMovie command but I am not sure of the Syntax and where it would be used in the Photo Gallery code.
View 1 Replies
Jan 15, 2010
I used the "Kirupa xml slide show" for AS2, and added a fake zoom effect, where I actually on click swap the image for the larger version of the same image that visitor can drag around and inspect upclose. One last thing that doesn't work is that when initially the page loads, the larger image in the background shows up behind the smaller one, and I want it turned off. Once you start clicking, the two images hide and reveal perfectly, but not at first. [URL]
Stage.scaleMode = "noScale";
Stage.align = "LB";
function zoomOut() {
[code]....
View 4 Replies
Nov 22, 2009
I've created a series of images that fade in and out. When i run the movie the transition from the last picture which fades out to the first image is not smooth. it transitions from a faded out image to a 100% opacity image
View 3 Replies
Jan 18, 2009
I try to make a photo slide show by using XML. where I get a step by step guide to build a photo slide show by using XML.
View 1 Replies
Jun 29, 2009
[Url] This is kirupas great tutorial to make a vertical gallery along with a slide show. Normally this is fine but I find one problem here. When I clicked any thumbnail it will load the respective big image but the slide show portion is disturbed and it is not maintaining the correct numbering after clicking thumbnails. What I mean to say if I clicked No Six thumbnail it will load No Six big image and we hope that after that it will load No Seven, No Eight and so on as a part of Slide Show, but that does not happen all time there is some skipping of numbers in the big images after clicking the thumbnails.I posted the Code below. Can anyone help to make the No sequence to big image proper after clicking any of the thumbnails.
[Code]...
View 1 Replies
May 17, 2010
Making a photo slide show to load as an external movie clip on my site when a button is pushed . Here is a link to the .swf file:[URL]..Basic problem: There is text that describes each set of 6 pictures. After the set of 6 pictures plays through the text is supposed to disappear and a new text appears to label the next set of 6 pictures. Problem is: the text doesn't disappear!
I made all the text layers a symbol/movie clip. I animated each text to disappear at a certain point in the timeline but when I test the movie the texts just remain there and build up one after the other.
When watching the movieclip, pay attention to the text in the lower left screen.
[Code]...
View 1 Replies
Jan 27, 2004
i downloaded the sample file of making slide photos, but i just can't make it run and load pictures automatically and loop itself continuously. how do i do it without have to hit next or previous? and all done with action scripting only without using keyframes? can someone please provide codes for me to learn or use? [URL]
View 4 Replies
Aug 26, 2006
I found the tutorial by Kirupa
[Code]...
View 2 Replies
Oct 27, 2009
I am using currentSlide.gotoNextSlide to change between slides, however I can't make it stop playback on load of each slide.I have a motion tween with I need to NOT play automatically when the slide loads... but no matter how many iterations of stop(), gotoAndStop(), etc I use, nothing will stop the clip from playing when it is loaded!
View 1 Replies
Jul 6, 2008
i have been able to customize this tutorial for my needs but i am still having one problem with the thumbnails. Unlike in the tutorial i have thumbnail that are two different sizes. most of them are 100 pixals wide but some are 75 and when they are different sizes like that it screws it up...they overlap or leave big gaps between thumbs.
below you can find the code i am using. the line of code that places the thumbs in there position is
target_mc._x = hit_left._x+(target_mc._width+5)*k;
i was able to stop the thumbs from over laping by replacing target_mc._width with 100 but that doesnt fix the big gaps between the images that are 75 wide.
function loadXML(loaded) {
if (loaded) {
xmlNode = this.firstChild;
image = [];
[code]....
View 4 Replies
Nov 26, 2009
How can I add links from the XML file to My large image? I tried inside the functions prevImage, nextImage e first Image the code and didnt work:
picture.image[p].onRelease = function (){
getURL(links[p], "_blank");
}
picture is the movie clip that receives the large images and links is the array that I created to recevie the nodes with links from the XML file.
View 4 Replies
May 19, 2011
I got a vertical xml gallery from this thread.
[URL]
It's working fine but my problem is my thumbnails having different heights. The code supports only the fixed height thumbnails. Anybody having idea how to automatically adjust thumbnails gap with different heights.The code is below for adjusting the gap.. Red comment marked that area
Code:
function thumbnails_fn(k) {
thumbnail_mc.createEmptyMovieClip("t"+k, thumbnail_mc.getNextHighestDepth());
tlistener = new Object();
tlistener.onLoadInit = function(target_mc) {
[code]....
View 1 Replies
Oct 17, 2005
I'm getting quite comfortable with the XML thumbnail gallery here on the Kirupa site... but wondered if there was an easy way to have a preloader for the thumbnails? I don't really have an idea how to set up the code for that.
View 2 Replies
Oct 1, 2007
I made a xml gallery using kirupa's xml gallery tutorial and then i added thumbnails.It all works fine.Although i managed to have the jpg's loaded fullscreen i dont know how to use smoothing for the resize of the movieclip container. I have a code that resizes the movieclip to the dimensions of the stage onresize function.I'm trying to put in the code an attachBitmap function so i can have it with smoothing to true. But i haven't managed how yet.[code]
View 2 Replies
Feb 28, 2008
Is it possible to load backgrounds for the thumbnails in tutorial http:[url]...Now I have a mc containing multiple white backgrounds at 65x65px, which loads and places it under the loaded thumbnails (like a mask), but I would rather like it to load a singel mc, seperatly for each thumbnail. How can I do that?
View 1 Replies
Mar 30, 2006
I am having problems formatting the XML Flash photo gallery. I can't seem to get the photos to center on the page. Some of my photos are vertical and others horizontal, and they are all pushed to the left. I don't want to make all the photos the same width. Is there any way to use css to style the xml? Or is there some other way to do it? Url...Also, if anyone notices any other problems with the gallery,please let me know. This is only the second thing I've done in Flash, and I may have made some mistakes when I changed things.
View 14 Replies
Jun 19, 2007
I am trying to modify the Kirupa image gallery to use numbers in place of thumbnails.So far I have been able to place buttons on the stage using attachMovie()and I have been successful in getting them numbered properly. Where I am failing is in getting the individually placed buttons to load an image.A more detailed list of what I am trying to do:
I want to attach a button that has a text box to the stage.In that button�s text box I want a sequential number to appear.When a button is pressed I want the corresponding image to display(button 1 loads image 1).I have the first two working; not doing so well with the last.Here is what I have:
PHP Code:[code]...
View 8 Replies
Feb 4, 2009
Mainly been making websites all these years, but in my last year at school i started to get interested in Flash Actionscript. I've been at home for over a year in 2008, unemployed. I got back to school in September 2008 but quit the education as it wasn't for me. Now I'm looking to get a job, but I need a showcase, so I'm building my portfolio at the moment.
I'm currently working on my portfolio which i wanted to make in Flash using XML generated content. I got as far as getting the content generated in my prototype. Now I'm trying to build the real thing. I currently got a scrollbar on the left which contains the thumbnails. I used the custom scrollbar from [URL] ([URL]). The content in it is generated with xml and actionscript though.
[Code]...
View 2 Replies
Aug 9, 2006
I found this photo gallery on kirupa but i need it to loop and i can't figure it out. It stops on the 7th image and doesn't go back to the first.
View 4 Replies
Oct 10, 2006
I tried the tuto from Kirupa for photo gallery and xml .I modified the xml file with my own pictures.( I copied it and added the path to them)But when I try the swf this message appears :
Error opening URL "file:///C|/Documents%20and%20Settings/user/Desktop/divers%20flas%20et%20swfs/undefined".
Here is an example of one of my xml picture nod :
- <images>
- <pic>
[code]....
This of course means that the image 1.jpg is in folder allimages which is in the folder divers flas et swfs.So why this undefined message ? Is it a wrong path ?
Note : I work with flash 8.
View 4 Replies
Apr 21, 2007
I've been trying to add more galleries the Kirupa Photo Gallery but so far unsuccessfull - i've modified things alittle, but it's mostly the same.
Code:
function loadXML(loaded) {
if (loaded) {
image = [];[code].....
This is as far as i can get before i get errors i cant get out by displaying image[i] in gallery[n].at the current time i can only get the number of galleries and display the images in the first gallery - not change between galleries.
View 8 Replies
Jul 17, 2009
I'm trying to modify Kirupa's xml photo slideshow by adding an extra text field, which if I understand correctly gives each element 3 children (image+text1+text2) instead of 2 (image+text). Even though I've added the third child correctly in the xml, I can't seem to get it to work at all. Here is what I did with the actionscript:
delay = 10000;
//-----------------------
function loadXML(loaded) {
if (loaded) {
[code]....
I've highlighted the parts I've added to the code provided by kirupa's tutorial. sub_text is the instance name I give to the new text field in Flash.
View 1 Replies
Feb 24, 2011
I wanna remove the XML data loading part and replace it with a PHP/MySQL backend for better security and maintance and because XML text handling isnt the best way (in my opinion it s*cks big time) to show text. HTML text through php gives better looking text.What do I already have:- MySQL database and table (containing the fields: "file", "ordercode", description") were "file" is the full path to a image and its name.- PHP script what fetches the data from the table and send it towards FlashFlash output when receiving the array ("nog niet te koop" = ordercode, "tekst volgt nog" = description)
Variabele _level0.myData = [objectnr. 1, klasse 'LoadVars'] {
onLoad:[functie 'onLoad'],
Array
[code].....
View 2 Replies
Apr 18, 2011
I am building a photo gallery for a friend using Kirupa's tutorial (located here: [URL]). The gallery is working out great except for one problem and that is using the keyboard left and right button. For some reason when I press the right arrow on the keyboard to go the next image it jumps to the third image, then the 5th, 7th, 9th etc. As you can see it keeps skipping one image, the same thing happens going backwards. However, when I use the onscreen previous/next buttons it cycles through just fine.
View 1 Replies
Jul 19, 2004
I'm using Kirupa's Flash MX Photo Gallery located at [URL].When the script calls the images it's going to use, it says:
// fill this array with your pics
this.pArray = ["image0.jpg", "image1.jpg", "image2.jpg", "image3.jpg", "image4.jpg", "image5.jpg", "image6.jpg", "image7.jpg", "image8.jpg", "image9.jpg"];
How can I call these images' names from a simple external text file? Purpose: I want to have the ability to change the photos in the gallery quickly without tweaking the Flash file.
View 6 Replies
Jun 10, 2011
In my asp.net application,I want to show the .ppt file using the slide show manner.
That's to say,user can upload .ppt file to my server side,then other people can browser these ppts in the page ..
Since I have googled "embed powerpoint in web page" ,it seems that there is not a good idea to implement this and support the cross browser,so I thought the flash.
This is a slide show using the flash: [URL]
What I want is show the contents of the .ppt in this manner(it would be better if it support the animations in the ppt)?
View 1 Replies
Apr 22, 2003
Does any of the code need to be changed in the photo gallery tutorial to make it function inside of a movie clip? I'm specifically wondering in regards to the "_root" My gallery is in a movie clip which I can't seem to get working w/attatchMovie though all my others work fine.
View 3 Replies
Apr 16, 2006
how to add a sort of timer for the slideshow...one that counts down from fx 6 seconds to 0 every time a new image in the slideshow appears. something with a variable and a text area...but how to make the count down follow the image delay...i really would like to know if this is possible.
View 3 Replies
Mar 24, 2006
I am using the kirupa xml foto gallery and I am loading different sized images... if they would load nicely centered the problem is solved... (not to stage width/height..!!) The movieclip "picture" has to load the images centered from its own registration point so that it can be placed anywhere on the stage.... now its loads the images from aka left top...
[Code]....
View 14 Replies