Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Flash








Creating Photo Gallery


Hi everyone, This is my first post here and I really hope someone can help.
I have been using the excellent tutuorial on this site "Create a Photo Gallery" using the script supplied and when i try and test the movie, I fail at the first hurdle and get the error message "Error opening URL: file:///User/ etc etc" is this because I've typed something wrong or is there another reason? I'm convinced I've checked and double checked it....

Please can anyone help?

Many thanks in advance.




KirupaForum > Flash > Flash 8 (and earlier) > Flash MX 2004
Posted on: 02-06-2008, 08:47 AM


View Complete Forum Thread with Replies

Sponsored Links:

Creating A Photo Gallery...
Alright heres the deal, I want to create a Photo Gallery with external jpgs and a text file where the user can put in the total number of jpgs they are using ("slides.txt").

Lets say theres 5 jpgs total (1.jpg, 2.jpg, 3.jpg, 4.jpg & 5.jpg). The user will open slides.txt and put the total number of jpgs: "&num_slides=5&" and save the text file.

Now when the flash movie loads the first image will load (1.jpg) and there will be a next button. When the user hits next 2.jpg comes up and also a back button appears. The user can now go back and forward. When the user gets to the final image (5.jpg) the next button will disappear and they only have the option to go back.

I'm just not sure how to write a script controlling the buttons actions, and when they appear or disappear - depending on the first image and the last image (total image # from the text file).

I'll be loading the jpgs into an empty mc in the movie.

I know I need to write a script saying if the current image number is "1 <=" then hide the back button. If the current image number "5 >=" hide the next button. I'm not sure how to come up with the buttons loading and unloading the movie depending on the # from the text file.

I'm sure this isn't too hard..and I just need a starting point script..I can take it from there..just not sure where to begin....

Any help?

-Foochuck

View Replies !    View Related
Creating My 1st Photo Gallery
Hello all. I have borrowed access to this account to gain some help from those who are experienced. I'm a "newbie" with Flash, and I am revamping my old website as my learning tool. I want to have a photo gallery for my pictures, but I am not sure which ones are easiest when you are just beginning.

Any suggestions? Thx in advance!

View Replies !    View Related
Creating A Photo Gallery
Hello there,

I've, for a considerable amount of time now, been trying to create a photo gallery the same as the one on the following site: http://www.workingtitlefilms.com/film.php?filmID=38. I just don't seem to be able to make it and would be very grateful if somebody could help me through the entire process.

If you don't know which part of the site I'm meaning then please feel free to email me and I'll send you a screen shot of the object I'm wanting to create; my email address is: kristopherkerr@btinternet.com.

Thanks in advance,

Kristopher (UK).

View Replies !    View Related
Creating A Photo Gallery
Hello there,

What I'm wanting to achieve is a photo gallery where there are thumbnails on the left and in the centre is where, once a thumbnail is clicked the pictures appears in large (in the centre).

I'd be most grateful if anyone could help.

Regards,

Kristopher (UK).

View Replies !    View Related
Creating Photo Gallery
Hiya~

I have follow the tuorial of "Creat Photo Gallery" to try make one myself. However.... dunno why those photos aren't show inside the rectangle that I drawn...

I have attached the *.fla, hope someone can help me.

Thanks a lot,
asuka

View Replies !    View Related
About Creating Photo Gallery
Hi there,
I was just reading the tutorial on creating your own photo gallery at http://www.kirupa.com/developer/mx/photogallery.htm and I was just wondering:
Im new at this,so this tutorial seems to assume that you already know the ropes with flash. Anyhow, I'm using mx pro 2004 and I wasn't sure how to create a "new movie". Any ideas? There is no option for "new movie". Thanx ahead of time!
T.J.
krome.tv

View Replies !    View Related
Help On Creating A Photo Gallery
Anyone knows how or any tutorial out there on how to create this photo gallery Charliestudio ???

Please help, I'm helping friend to create a site and he only wants this way for his photo gallery.

View Replies !    View Related
Help With Creating A Photo Gallery
here is the site im working on
http://www.myspace.com/archavez
I click on the photos section. It should bring you to a page with thumbnails on the side. I made the thumbnails following the tutorial found here http://www.kirupa.com/developer/mx20...ton_effect.htm. What I would like to know is how to make a picture fade in when I click a button, then when I click a different thumbnail, that picture I was viewing fades out and the new one fades in. I have not a clue how to do this, can anyone help me plz?

View Replies !    View Related
Creating A Photo Gallery...help
I need some help creating a photo gallery for my site however the gallery on this site really isnt what I am looking for. What I am looking for is when you click a link on my page (i.e. music) it loads a smaller seperate window with thumbnails on the left and a space for the image on the right. When you move the mouse over a thumbnail I wanted it to change color and load the image on the right. A good example is www.peterbeste.com. If you can help I would appreciate it. The way I had it in the past was very clunky. You clicked on an image and it loaded a seperate page (same window) with next and back buttons. Thanks for everything!

Mike

View Replies !    View Related
Creating Photo Gallery
Hiya~

I have follow the tuorial of "Creat Photo Gallery" to try make one myself. However.... dunno why those photos aren't show inside the rectangle that I drawn...

I have attached the *.fla, hope someone can help me.

Thanks a lot,
asuka

View Replies !    View Related
About Creating Photo Gallery
Hi there,
I was just reading the tutorial on creating your own photo gallery at http://www.kirupa.com/developer/mx/photogallery.htm and I was just wondering:
Im new at this,so this tutorial seems to assume that you already know the ropes with flash. Anyhow, I'm using mx pro 2004 and I wasn't sure how to create a "new movie". Any ideas? There is no option for "new movie". Thanx ahead of time!
T.J.
krome.tv

View Replies !    View Related
Creating Photo Gallery In MX
I have a question regarding the pathToPics. When I go to preview the animation after completing the steps in the Photo Gallery tutorial, I get the error message 'unable to open.... I have placed the folder in various areas to see if I can access them, but I keep getting the message. Does anyone have any suggestions?

View Replies !    View Related
Help On Creating A Photo Gallery
Anyone knows how or any tutorial out there on how to create this photo gallery Charliestudio ???

Please help, I'm helping friend to create a site and he only wants this way for his photo gallery.

View Replies !    View Related
Help With Creating A Photo Gallery
here is the site im working on
http://www.myspace.com/archavez
I click on the photos section. It should bring you to a page with thumbnails on the side. I made the thumbnails following the tutorial found here http://www.kirupa.com/developer/mx20...ton_effect.htm. What I would like to know is how to make a picture fade in when I click a button, then when I click a different thumbnail, that picture I was viewing fades out and the new one fades in. I have not a clue how to do this, can anyone help me plz?

View Replies !    View Related
Creating Photo Gallery With Index
Can anyone tell me how to create a photo gallery with an index of thumbnails in flash? I've tried every component and tutorial I could find, but none seem to work properly. The best I've found so far is imageweaver (buggedcom.co.uk) but it's a bit too slow for what I'm trying to do.

Please see www.leveltendesign.com -- click portfolio link. That's about the speed and type I'm looking for. It's pretty slick.

Thanks,
Bos

View Replies !    View Related
Problems Creating Photo Gallery
I'm trying to create a photo gallery using the following code: which can be found at http://www.kirupa.com/developer/mx/photogallery.htm

__________________________________________________ __________________

//Code written by sbeener (suprabeener)
/*
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 = "product/";
// fill this array with your pics
this.pArray = ["bau", "canz", "clocks1", "clocks2", "FORKS", "keyfinal", "pigs", "reflection2", "shine", "space1", "triangle"];
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);


__________________________________________________ _________________


I've saved the .fla file in the same folder as the images, however when I test the move, the only thing that loads up is the frame I made for the images, no images load. And when I click on the FWD button or the Back button the output window opens up and starts scrolling NaN until I close the test movie. Then it stops scrolling.

What am I doing wrong? This code was designed for Mx and I'm using Mx 2004, don't know if it makes a difference?

Any ideas or help would be awesome.....

View Replies !    View Related
Problems Creating Photo Gallery
I've been trying to creat a photo gallery for my website, and so far all I've had is trouble..... here is my current code which I'm doing in 2004MX

this.pathToPics = "";
this.pArray = ["bau.jpg", "shine.jpg", "clocks1.jpg", "space1.jpg", "shine.jpg", "space1.jpg", "clocks2.jpg"];
this.fadeSpeed = 20;
this.pIndex = 0;
// MovieClip methods ----------------------------------
MovieClip.prototype.changePhoto = function(d) {
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() {
var p = this.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() {
this.photo._x = bg._x-this.photo._width/2;
this.photo._y = bg._y-this.photo._height/2;
if (this.photo._alpha<100-this.fadeSpeed) {
this.photo._alpha += this.fadeSpeed;
} else {
this.photo._alpha = 100;
this.onEnterFrame = null;
}
};
this.onKeyDown = function() {
if (Key.getCode() == Key.LEFT) {
this.changePhoto(-1);
} else if (Key.getCode() == Key.RIGHT) {
this.changePhoto(1);
}
};
Key.addListener(this);
//load the first picture
changePhoto(0);


But doesn't seem to want to work...... what the hell am I doing wrong?

Attachted is my actual .fla file.

View Replies !    View Related
Creating Simple Photo Gallery
Hi,

I'm trying to create a simple photography portfolio in Flash 8, whereby the user clicks on a thumbnail and the image fades up. I have 24 thumnails, so do I need to create 24 different 'fading image' movie clips, or is there an easier way to do this? Is it possible to create one movie clip and then just update the image within it?

I'm quiet a newbie so i might be missing somehting here...

Any help greatly appreciated. David.

View Replies !    View Related
Creating Transitions For Xml Photo Gallery
Hi,
First, thanks so much fo the great xml photo gallery tutorial! It is a great tutorial. My question is, how can I add the ability to have transitions (possibly a crossfade) when going from one picture to the next.

Any suggestions would be greatly apprciated.

View Replies !    View Related
Problems Creating Photo Gallery
I created the photo gallery using the code listed here on Kirupa.com in Mx 2004. Everything load's properly except the images. The image box loads as do the back and fwb buttons, but no images. When I test the movie and click on the fwd button or the back button, the output menu opens up and starts scrolling down with NaN until i close the test movie.

what did I do wrong?


------------------------------------------------------------

//Code written by sbeener (suprabeener)
/*
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 = "product/";
// fill this array with your pics
this.pArray = ["bau", "canz", "clocks1", "clocks2", "FORKS", "keyfinal", "pigs", "reflection2", "shine", "space1", "triangle"];
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);
------------------------------------------------------------------------

The images are in the same dir as the .fla file. SO what's wrong?
Any help would be great, thanks

View Replies !    View Related
Question About Creating A Photo Gallery
Alright i read this photo gallery tutorial and i want to know if i can do the same thing, only instead of retrieving my pics from URL i can just use the ones i've imported in the library?

if that made any sense at all

View Replies !    View Related
Creating Transitions For Xml Photo Gallery
Hi,
First, thanks so much fo the great xml photo gallery tutorial! It is a great tutorial. My question is, how can I add the ability to have transitions (possibly a crossfade) when going from one picture to the next.

Any suggestions would be greatly apprciated.

View Replies !    View Related
Problems Creating Photo Gallery
I created the photo gallery using the code listed here on Kirupa.com in Mx 2004. Everything load's properly except the images. The image box loads as do the back and fwb buttons, but no images. When I test the movie and click on the fwd button or the back button, the output menu opens up and starts scrolling down with NaN until i close the test movie.

what did I do wrong?


------------------------------------------------------------

//Code written by sbeener (suprabeener)
/*
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 = "product/";
// fill this array with your pics
this.pArray = ["bau", "canz", "clocks1", "clocks2", "FORKS", "keyfinal", "pigs", "reflection2", "shine", "space1", "triangle"];
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);
------------------------------------------------------------------------

The images are in the same dir as the .fla file. SO what's wrong?
Any help would be great, thanks

View Replies !    View Related
Creating A Vertical Sliding Photo Gallery?
How do I create a photo gallery that slides vertical when I hold the cursor over a
button?

plz help

View Replies !    View Related
Creating Searchable Online Photo Gallery
Dumb guy here seeking direction. I have 2,500 children's drawing I want to make part of a searchable web gallery. The idea is I scan the drawings, then I add info to the IPTC fields (last name, age, town). Parents can go to the Flash presentation online and type in their child's info into a field and -- zing -- up comes the artwork.

Anyone have any suggestions on how to script soemting like this?

Many thanks in advance.

View Replies !    View Related
Creating Flash Photo Gallery With Bridge
This may not be the best way of creating a flash gallery but I thought I would try it since I'm new to this and it seems faster then editing all those photos.

When I create the photo gallery using Adobe Bridge and then try to open the Flash Movie file to edit the movie it tells me "Cannot open a protected movie"

Does this mean that I cannot edit the movie after Bridge creates it or is there a way around this?

View Replies !    View Related
Help Please With Tutorial On Creating A Photo Gallery Using An Xml File
<P>Hello all,</P>
<P>&nbsp;</P>
<P>I am trying to go through the tutorial on creating a photo gallery located at:</P>
<P>&nbsp;</P>
<P><A href="http://www.kirupa.com/developer/mx2004/xml_flash_photogallery.htm">http://www.kirupa.com/developer/mx2004/xml_flash_photogallery.htm</A></P>
<P>&nbsp;</P>
<P>I am using Flash MX.&nbsp; I have created the .xml file and downloaded the source file&nbsp;at the link "Download Partial FLA for MX"&nbsp;and put it in the same directory.&nbsp; When I attempt to open the source file, I get an error stating "Unexpected file format".&nbsp; I have also tried the file at the link&nbsp;"FLA for MX (for those who can't get the above version to work)" and get the same result.&nbsp; As the url indicates that this tutorial is in the mx2004 area, my question is should these files work with Flash MX?&nbsp; If so, is there any other information you&nbsp;could pass along that might&nbsp;allow the&nbsp;file to open?&nbsp; If not, are there source files available for&nbsp;this tutorial using Flash MX?&nbsp;&nbsp;Any and all&nbsp;help is greatly appreciated!!</P>
<P>&nbsp;</P>
<P>Thanks in advance&nbsp;<BR></P>

View Replies !    View Related
Help On Creating Photo Gallery Using Sbeener Code
I've been trying to create a photo gallery using the code by sbeener and the tutorial by kirupa but I'm having problems in visualizing the photos. They don't get resized to the movieclip dimensions. Do I have do resize all photos in a image editing program? The photos I pretend to show in the photo gallery have differente sizes (for example 784x581, 510x557, etc) and I want to show them on a movie clip with 370x240, so they have to be scaled to that size, but that's what I don't know how to do. Need some help . Thnks
João

View Replies !    View Related
Juggling Levels And Creating A Simple "photo Gallery" In Flash
Howdy folks! I just got done reading and experimenting with Kirupa's tutorial on loading movies:
http://www.kirupa.com/developer/flash5/loadmovie.htm

Very cool and fairly straightforward stuff, but I have an issue that the tut didn't seem to address. Specifically I am working on a Flash presentation where there will be a image which changes depending on a variety of buttons you can press below it. Basically it is a photo gallery of sorts and clicking on the thumbnail buttons is supposed to load up the larger images (all in the same place, each one over the last). Sounds pretty straightforward, right?

I understand the whole concept of loading movies (in this case making each of the larger images it's own .swf movies to load i when the corresponding button is pressed) - but my question is this - how do i specify exactly where the image will appear (eg. x and y coordinates?) and also, in terms of using levels, is there a way to put all the loading movies on the same level, but not have the image that is being replaced by a newly loading image disappear before the new movie is loaded?

Does that make any sense? Hopefully I am not rambling too badly here. I've had a lot of tea this morning.

Many thanks in advance if anyone can help me out with this, or point me to a tutorial that deals with these issues specifically!

Zeep zeep

View Replies !    View Related
Kirupa - Create A Photo Gallery, How Could I Put A Caption For Each Photo?
Hi all, im new here i stumbled upon the photo gallery page when looking at how to create one for my website, thanks to sbeener for the code! :-). It works perfectly however how could i change/add to the code so that for a specific photo a certain caption appears which changes for each different photo?

Any ideas will be greatly appreciated.

cheers, alex350r

View Replies !    View Related
Photo Gallery Tutorial Turned Into Photo Carousel
i've taken the tutorial on this site on how to create an flash photo gallery that loads the content from an xml file. i'd like to alter the output of this fine tutorial and would appreciate any help in doing so.

i would like to create gallery, but instead of only showing one picture at a time, i would like to have a carousel effect where more than one picture is shown at a time, and the buttons control the turn of the carousel. i'm thinking in order to do this i'll need to have the as create a movie clip for each picture (maybe during the for loop). each mc instance would have to have a unique name, and then the buttons could play with the properties of each created mc instance.

here's the code from the tutorial on this. any help would be much appreciated....

function loadXML(loaded) {
if (loaded) {
xmlNode = this.firstChild;
image = [];
description = [];
total = xmlNode.childNodes.length;
for (i=0; i<total; i++) {
image[i] = xmlNode.childNodes[i].childNodes[0].firstChild.nodeValue;
description[i] = xmlNode.childNodes[i].childNodes[1].firstChild.nodeValue;
}
firstImage();
} else {
content = "file not loaded!";
}
}
xmlData = new XML();
xmlData.ignoreWhite = true;
xmlData.onLoad = loadXML;
xmlData.load("images.xml");
/////////////////////////////////////
listen = new Object();
listen.onKeyDown = function() {
if (Key.getCode() == Key.LEFT) {
prevImage();
} else if (Key.getCode() == Key.RIGHT) {
nextImage();
}
};
Key.addListener(listen);
previous_btn.onRelease = function() {
prevImage();
};
next_btn.onRelease = function() {
nextImage();
};
/////////////////////////////////////
p = 0;
this.onEnterFrame = function() {
filesize = picture.getBytesTotal();
loaded = picture.getBytesLoaded();
preloader._visible = true;
if (loaded != filesize) {
preloader.preload_bar._xscale = 100*loaded/filesize;
} else {
preloader._visible = false;
if (picture._alpha<100) {
picture._alpha += 10;
}
}
};
function nextImage() {
if (p<(total-1)) {
p++;
if (loaded == filesize) {
picture._alpha = 0;
picture.loadMovie(image[p], 1);
desc_txt.text = description[p];
picture_num();
}
}
}
function prevImage() {
if (p>0) {
p--;
picture._alpha = 0;
picture.loadMovie(image[p], 1);
desc_txt.text = description[p];
picture_num();
}
}
function firstImage() {
if (loaded == filesize) {
picture._alpha = 0;
picture.loadMovie(image[0], 1);
desc_txt.text = description[0];
picture_num();
}
}
function picture_num() {
current_pos = p+1;
pos_txt.text = current_pos+" / "+total;
}

View Replies !    View Related
Photo Gallery Help - Increase Height Of Main Photo
I have downloaded and walked through the steps in creating the Photo Gallery and have it working properly for my Horizontal shots. However, I am having trouble with displaying my Vertical shots (Height-300 x Width-200). How can I extend the flash in height to display my vertical pics properly?

Also, is there any cody that I can enter between the <Caption> </Caption> that would eliminate any caption being displayed? If it is left blank, it auto inserts undefined.

Thanks!

View Replies !    View Related
How To Create A Photo Gallery Of Hundreds Of Photo?
I saw the tut for the creating of photo gallery. Is it possible to do a photo gallery like this one (http://www.kriztal.com/flash.html) with hundreds of them? Do i have to key in the Action dialog all the photos' name in it? Is there another method of doing it with the effect of the web site i gave?Pls give some guidance and advice.

View Replies !    View Related
Photo Gallery - Only Loading Every Other Photo [urgent]
I've made a photo gallery from the MX tutoial, modifying it a bit for my needs. When I was using local images they would load fine and every one of them would display. I altered the XML to load images using URLS and now only every other displays (I've checked the urls are correct) - though because of the sequence I can see every image.

There are 7 images and my prev/next buttons loop, so the sequence I get is...

1,3,5,7,2,4,6

Any ideas?

View Replies !    View Related
Kirupa Photo Gallery - How To Load 2 Instead Of 1 Photo?
Hi!

How are ya?

I found the tutorial by Kirupa --> http://www.kirupa.com/developer/mx2004/xml_flash_photogallery.htm

Followed the tutorial and everything works great.

However I'm looking for a solution to load 2 instead of 1 photo at a time.

current situation:
[photo 1] *next button* [photo 2] *next button* [photo 3] .. etc!

wanted situation:
[photo 1][photo 2] *next button* [photo 3][photo 4] *next button* etc!!

think of it as a magazine!

How to do this? I tried copy-ing stuff in the actionscript layer and start adding 2's on places that were now double...figured i was doing it right but i was wrong, its not working

I really hope someone can help me out, greatly appreciated!
Thanks a lot.

RocketGuns

View Replies !    View Related
Merge Photo Slideshow With Photo Gallery
I am currently working on a website to display photos and have found kirupa's tutorial using the slideshow method very helpful. But I want the added user flexibility to stop the slideshow or skip to another image in the slide-show sequence at any time. So, if you can envision entering the site, a portfolio of images starts to cycle while the user can see what image number he/she is on and skip to or pause the slideshow. I'm not very code savvy and would love some help/ideas where to find help!

View Replies !    View Related
Photoshop CS2: Web Photo Gallery: Flash - Gallery 1
I'm interested to know the code that Adobe Uses with one of their Web Photo Gallery (Photoshop CS2) - it's the one called "Flash - Gallery 1".

Here's a sample of it:

http://www.newrisedesigns.com/charlie/060416/

What I'm interested in, is how to do the thumbnails...when you roll over them - they move all of the other thumbnails around - and also show the name of the external jpg file.

Anyone know or have the source code to do that? What about any kind of tutorial out there that can do this?

Help please?

View Replies !    View Related
Converting This Photo Gallery To A Video Gallery
I have made an attempt at converting the below referenced Photo Gallery to a Video Gallery and need help with two things:

1. Have the FLVComponent call the video from an XML file
2. Move the Title from the top to the underneath the Thumbnails when the mouse hovers over

The FLA project can be downloaded from:

hxxp://members.cox.net/dgtlmik/Video_Gallery.zip

Thanks in advance!

View Replies !    View Related
Photo Spacing For XML Photo Gallery
Im new to this forum and Im also fairly new to action script. I have some questions regarding the Photo Gallery using XML and Flash. I'm only using the thumbnail portion of this tutorial. The problem that I'm having is that Im using photos with different widths. When I add these photos into the gallery they either overlap eachother or have very wide gaps in between. I've attached my .fla file and my .xml file. PLEASE HELP. Im pretty sure the problem is my action script but I dont know where to go. Thanks.

View Replies !    View Related
Photo Scalable Photo Gallery
Hi
Im trying to make a video gallery similar to this
http://www.fiesa2006.com/ (under gallerai link)
Is there a good tutorial on this
thanks in advance

View Replies !    View Related
Photo Gallery = Video Gallery?
hi
I was just wondering if it would be possible to show video files with some modifications in photo gallery?
Please post what you know...(format etc.)

Thx

LF...

View Replies !    View Related
Photo Gallery = Video Gallery?
hi
I was just wondering if it would be possible to show video files instead of jpgs with some modifications to XML photo gallery?
Any clue?

Thx

LF...

View Replies !    View Related
Project Gallery...not Just Photo Gallery
Project gallery...not just photo gallery
Hello, I'm looking for a project gallery. The projects could be for example, websites.

I want the list of projects down the left side. When you click one an image of the project pops up to the right AND below the image would be the description of the project, which pops up at the same time.

I've see photo galleries that kind of do this, but not a project gallery. Emphasis is on both the photo and description.


Any demos available or thoughts?

Thanks.

View Replies !    View Related
Photo MCs In Photo Gallery
Hi

I hope someone can help me,
I have created a flash photo gallery which you can see here click here
what i want it to do is, while its loading the next photo/mc is to still show the original one until loaded.

I can post fla files so you can see more info if this helps.

Cheers
Dean

View Replies !    View Related
Photo Gallery
I am a photographer who is designing a new site for myself and I was wondering if anyone had some code (swish) that can help me create an online Photo Galleries?

I have tried looking around and have not found something as of yet.

Thank you in advance.

Jeff

View Replies !    View Related
Photo Gallery
Hey peeps... I need help figuring out exactly how buggedcom's photogallery thing works because i keep getting a bad url error when everything starts running.
His code is posted at: http://board.flashkit.com/board/show...hreadid=368190
please help me out. The error looks something like this...

Quote:




Error opening URL "file:///C|/thumbnails/AO_1.jpg?nocache="

View Replies !    View Related
Help: Photo Gallery
Hi guys,

I'm a big newbie to Flash, but I've tried it once or twice and I get the general concept of the program, so that's about it. Today, I'm here to seek some expert help.

Recently, I suggested to my friend that at his wedding he should give away cd-roms with studio taken pictures of him and his wife. The general idea I had in my head was just a simple picture gallery with maybe a nice background and music playing (to make it even more slick, the music should be selectable from a list, or at least have foward and back functions). The gallery should be pretty simple ie. the pictures could be scrolled through by using foward and back buttons or by selecting a thumbnail. And seeing that I'm his best buddy and all, he enlisted me to take care of this job. Lucky me .

I don't know much about Flash, and basically the only idea I have is to embed the swf file into a webpage and just let it go from there. Just thinking generally in terms of the use of file directories and file accessing commands (although I can't say I know any) it seems simple enough, but in my dire attempts to "wing it" so far I haven't able to figure out much yet.

ANY help, suggestions or feedback would be GREATLY appreciated!!

Thanks!!
quattrosystem

View Replies !    View Related
Help With Photo Gallery
help with photo Gallery
hello

can someone help my to creat flash photo Gallery ? for my Kennel.

i will pay for help.
i also have a sample to what i have in mind
her is the link
http://www.hbo.com/docs/programs/un...=latest2_image#

its the biography to the left coulm

please help

youshi

View Replies !    View Related
XML Photo Gallery - How?
Hi Guys I'm pretty new to this so plz be gentle! Okay I would like to make a site a little similar to the following...

http://www.simonladefoged.com

Yet what I would like to do is have the 'gallery' images being displayed via xml (therefore I could just add new images at say 320x320 anytime to the image folder and update the xml file and the site would be updated?)

My problem is that I don’t know how to incorporate the xml into flash and would like to still use an alpha transition effect between the images and I don't know how this can be done?

Any help would be greatly appreciated!

Thanks,

Devs.

P.S. If anyone knows of any fla’s or components that do a similar thing could they plz let me know about them? I’ve found this one yet its not quite right ;(

http://www.mr10.net/components/gallery/

View Replies !    View Related
Photo Gallery
Hi! I am thinking of making a photo gallery. can anyone please tell me, how I can make one photo fade into the other?

View Replies !    View Related
Photo Gallery Bug Help
I posted this problem last month and went through all of the fixesd everyone suggested and I still havent gotten this photo gallery to work properly.

To hit the bug, start the photo gallery and in the first 4 or 5 seonds of loading click the last thumbnails. The wrong pic animation loads. This only happens for the first few seconds and only happens to the last few buttons. I cannot for the life figure out what is wrong. This site is now live and we are getting complaints about this. Any ideas would be great!

The file is too big to load her. You can goto this link and download the fla or see the gallery swf.

http://www.ruffagutierrez.com/text_index/
file: around-ruffa-yilmaz.fla

Thanks... Bubba

View Replies !    View Related
Copyright © 2005-08 www.BigResource.com, All rights reserved