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




Button UI Component And Photo Gallery



Hi,

Can anyone help me? I'm using flash mx2004 and have used the button from the ui components to create the buttons for my photo gallery. One strange thing seems to happen. when I publish my movie, the text on the buttons seem to disappear. When I go back to my stage, I find that the text is not there, on top of that, the ui component has created a button symbol. Why i this happening? Is this a bug within the program?

I also have another problem on top of that. I followed the kirupa tutorial on creating a photo gallery [url=http://kirupa.com/developer/mx/photogallery.htm]. Strange thing is the images don't seem to load. I made sure the images were loaded from the folder that I designated. I also made sure of the filename of those images and the extensions but I still get nothing. I only see 1 image at most and then it disappears. How do I fix this problem?


Cheers



FlashKit > Flash Help > Flash General Help
Posted on: 07-11-2005, 10:41 PM


View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread

Button UI Component And Photo Gallery
Hi,

Can anyone help me? I'm using flash mx2004 and have used the button from the ui components to create the buttons for my photo gallery. One strange thing seems to happen. when I publish my movie, the text on the buttons seem to disappear. When I go back to my stage, I find that the text is not there, on top of that, the ui component has created a button symbol. Why i this happening? Is this a bug within the program?

I also have another problem on top of that. I followed the kirupa tutorial on creating a photo gallery [url=http://kirupa.com/developer/mx/photogallery.htm]. Strange thing is the images don't seem to load. I made sure the images were loaded from the folder that I designated. I also made sure of the filename of those images and the extensions but I still get nothing. I only see 1 image at most and then it disappears. How do I fix this problem?


Cheers

Photo Gallery Component
Hi
i'm looking to buy a flash component, for an image gallery that a client of mine wants me to do for him.
i need something very minimalistic, modern, easy to use...."flash"
if you know something like the mentioned above please let me know.

Thnx.

Flash Photo Shuffle Gallery Component
A friend and I just completed our first flash component. Here is a description of it:

Create a dynamic compilation of photos in a random layout in a few easy steps. Photos can be rearranging by clicking and dragging. Large photos have optional mouse over titles and descriptions along with next and previous buttons. Choose from a list of built-in easing affects. This component is fully customizable, with skinnable photo border, loader, buttons, and description box.

Check out the component here:
http://www.flashframer.com/flash-com.../photoshuffle/

Using A List Component To Create A Photo Gallery.
This feels like a lot to be asking but i'm gonna go ahead and ask to see what happens.
I'm trying to figure out how to use a list component to select 6 items from a large list, display the words to the 6 selected items (in a text field), then finally (by pressing a button) I would like to load the 6 corresponding pictures for the selected items into a seperate frame. If there is anyone that could point me in the right direction it would be greatly appreciated. I have been trying to find information online about programming the List Component but haven't had any luck. Is there a book that anyone recommends that could help me? I've been doing simple animations and websites in flash but i'm now looking to learn some actionscripting as well. Thanks.

Basic As / Xml Issue Re: Photo Gallery Component
I'm wondering if anyone can help me solve this problem.

I'm using Maarten van de Voorde's awsome Gallery Component and it works fine but my problem is this:

-- I want to display text under the larger pictures. There is a text field that has a var declaration of myGallery.imageText which works great on it's own but...

-- I have the gallery loading in as a nested movie a couple of levels deep. The structure is:

-- Main shell .swf
-- movie2.swf (w/ photo containerMC)
-- gallery component

-- Because of this nesting the text under the big photos does not show I figured that all I needed to do was redo the path in the var (_root.movie2.photoContainer.myGallery.imageText) but that and every other variation of that doesn't seem to work. I thought maybe the as in the gallery may need some sort of global variable or something but I really don't know enough about as to fix the situation.

Thanks in advance to anyone who can help me tackle this problem.

Basic As / Xml Issue Re: Photo Gallery Component
I'm wondering if anyone can help me solve this problem.

I'm using Maarten van de Voorde's awsome Gallery Component and it works fine but my problem is this:

-- I want to display text under the larger pictures. There is a text field that has a var declaration of myGallery.imageText which works great on it's own but...

-- I have the gallery loading in as a nested movie a couple of levels deep. The structure is:

-- Main shell .swf
-- movie2.swf (w/ photo containerMC)
-- gallery component

-- Because of this nesting the text under the big photos does not show I figured that all I needed to do was redo the path in the var (_root.movie2.photoContainer.myGallery.imageText) but that and every other variation of that doesn't seem to work. I thought maybe the as in the gallery may need some sort of global variable or something but I really don't know enough about as to fix the situation.

Thanks in advance to anyone who can help me tackle this problem.

Photo Gallery With Loader Component And Preloader
Hi,

I'm reletively new to flash and have a basic understanding of actionscript 2.

I have created a photogallery using the loader component to display the pictures so they get scaled down when they're loaded in.

I currently have 6 thumbnail buttons all with the following as2 attached to them:

on(release) (
myLoader.contentPath = "nameofpicture.jpg";
}

This works fine but I would like the pictures to preload so there isnt just a plane white screen for around 4 seconds.

I have tried using the progreess bar component with some code i found on the net, this works but only for the first pic that loads. after that it goes back to loading the pics with a blank screen while loading.

Any help is much appreciated.

:D

Photo Gallery - Button Help
To whom it may concern....

I have created a horizontal scroll with buttons that moves based on where the mouse is positioned...pretty cool idea. Now, as you highlight each button(small thumbnail)...how can I set it up so when a user clicks on that thumbnail...that a big picture say 300x300 pixels appears above the horizontal scroll menu. I have posted the fla file as well. I am using Flash MX 2004.

Photo Gallery Next Button
Using a template, I have conquered most of the hurdles, but one of the last ones, is in the photo gallery it came with.... I have found the clip that holds the keyframes (pictures) but I don't know the code for the "next button" to start scrolling the pics. The way it was designed was as you hit the next button, it opens a set of three thumbnails... I would rather it just hit next frame.... any ideas? I do not want a slide show, but rather the user click each time to get to next picture... (I would need the back button script as well please)

the script currently is below

on (rollOver) {
gotoAndPlay("t1");
}
on (releaseOutside, rollOut) {
gotoAndPlay("t2");
}
on (release) {
if (_root.fl == 1) {
_parent["d"+_root.i].gotoAndPlay("t2");
if (_root.i == 3) {
_root.i = 0;
}
_root.i = _root.i+1;
_root.fl = 0;
_parent.pics.play();
_parent["d"+_root.i].gotoAndPlay("t1");
}
}

Photo Gallery - Next Or Previous Button
Hi,

I am new to Action Script and I have a small issue that I can't seem to figure out...

Probably very easy for you guys... ;)

(1)
I have a Photo Gallery here, kinda like a Photo show and under the picture is a 'Next' and 'Previous' button.

Now when the user will click on e.g. the 'Next' button I want the pic shown to change into the next picture.

I have all my pics in a movieclip all with labels s1, s2, s3 etc. ....

I already have the code setup to go to the appropriate movieclip but I don't know how to tell Flash via Action Script to go to label "s" + 1.... meaning:

if the picture with the label "s2" is shown right now and the user clicks on the 'Next' button Flash need to go to the mc with my pics in it and then to the label "s3" --> "s2" + 1

How do I do that ?

(2)

Another thing I was thinking about:

Let's say I have 7 pics in the photo gallery and user is seeing pic # 7 right now (label "s7") and he clicks the 'Next' button I need to tell Flash to jump to label "s1" (to the first pic) because there is no eigth picture...

How is that done ?

Note: I am using Flash 9 CS3 so either AS2 or AS3 is welcome...

Any help is appreciated and I thank you in advance for that !!! ;)

Mike





























Edited: 06/02/2007 at 05:56:45 PM by Iron_Mike

Previous Button In Photo Gallery
Hi

Playing around with the photo gallery, and I cant seem to figure out how to do this. Any ideas?

Say its on 1/9, if I click previous, how can I make it go to 9/9? Like a bi-directional I guess.

I'd really appreciate any ideas or examples.

Thanks

XML Photo Gallery Button Questions?
I've been using the XML flash photo gallery on my site, it works great and it was easy to adapt to fit into my site's layout.

There's one little pet peve I have though, when you get to the end of the gallery, there's still a "next" button there, and likewise at the beginning of the gallery there's a "back" button.. but in both of those cases those buttons don't do anything because at the end there's nothing next, and at the beginning there's no previous frame. So, is there a way to hide those buttons when you're on the first and last frame? Or better yet, just have it loop so if you press back on the first frame it takes you to the last, and then if you click next on the last frame, it takes you to the first?

Photo Gallery Tutorial Button Help - Where'd They Go?
Any help with this would be greatly appreciated:

The pictures load, now centered, thanks to the moving of the registration point, but when I publish my little slideshow, the buttons don't show up anywhere.

Have tried re-sizing, re-layering and just about anything else I could think of to try.

The buttons are not obscured by the movie clip.

The stage is bigger than the movie clip.

This all worked fine in previous trys, but now it seems to have gone all wonky!

I'm really new at this so forgive my pedantic attempt at explaining myself.

-BeanPie the Currently Distraught

Scripting A Back Button In A Photo Gallery
Hi there,

I am a novice at writing actionscript. I am really stumped on a photo gallery button I am trying to code.

I have a movie clip within my Flash movie that shows a photo gallery. Within the gallery, I have a area called "holder" which is another movie clip which is where the photos display. To the left of "holder", I have a forward and back arrow button. The forward arrow button works just fine. This code is attached to it . . .


ActionScript Code:
on (press) {
    holder.play();
}

The code inside of holder looks like this . . .



ActionScript Code:
if (_global.photo_number>=25) {
    _global.photo_number = 1;
    loadMovie(_global.path+"photo"+_global.photo_number+".jpg", photoholder);
  (same as if (_global.photo_number>=3))
} else {
    _global.photo_number++;
    loadMovie(_global.path+"photo"+_global.photo_number+".jpg", photoholder);

}

That all works fine. However, I want to make a back button. Can a button call a different part of the AS attached to "holder"? Any ideas on how to script this?

Thanks in advance!

Flash Photo Gallery (sans Button)
I am following the basic Photo Gallery Tutorial
http://www.kirupa.com/developer/mx/photogallery.htm

I would like the images to fade one to the next approximately every 5 seconds without the user having to use a button. Where could I find some code for this?

Thanks in advance.

Replay/reset Button For XML Photo Gallery
Hi

how would i go about creating a button that will reset the gallery.
I am using the gallery as a presentation and when the gallery reaches the end, I need a button that will bring the gallery back to the first image

I have tried
Code:
gotoAndPlay
but that does not seems to work.

any ideas or help would be great

Ponayck

Add Backward/Forward Button To Xml Photo Gallery
Hi, I need to add a backward and forward button to a photo gallery I am working on, but not sure how to do it.

Here is the code:

Code:
function loadXML(loaded) {
if (loaded) {
xmlNode = this.firstChild;
name = [];
description = [];
link = [];
total = xmlNode.childNodes.length;
for (i=0; i<total; i++) {
name[i] = xmlNode.childNodes[i].childNodes[0].firstChild.nodeValue;
description[i] = xmlNode.childNodes[i].childNodes[1].firstChild.nodeValue;
link[i] = xmlNode.childNodes[i].childNodes[2].firstChild.nodeValue;
}
} else {
content = "file not loaded!";
}
imageGallery();
//loadMeBaby();
}
xmlData = new XML();
xmlData.ignoreWhite = true;
xmlData.onLoad = loadXML;
xmlData.load("template.xml");

/////////////////////////////////////

////SMOOTH XML IMAGE GALLERY TEMPLATE
////////////////////January 2007

// tween class
#include "lmc_tween.as"

//easing style
var easeStyle:String = "easeOutQuad";

//gap between page numbers
var pageNumGap:Number = 24;

//_y postition of page numbers
var yPos:Number = 252;

//_x postition of page numbers
var xPos:Number = 400;

// margin of buttons from edge
var margin:Number = 126;

// width of images
var imageWidth:Number = 559;

// preloader
var que = new Array();
var timeout = 100;
var loading = false;
var interval;
var ic;

// Adds files to the load que
function addFile(item, target) {
que.push({url:item, mc:target});
}
// load next que item
function loadFiles() {
if (que.length && !loading) {
loading = true;
ic = 0;
item = que.shift();
item.mc.loadMovie(item.url);
interval = setInterval(watchLoad, 40);
item.mc.num = i;
var galleryItems_array:Array = new Array(xmlNode.childNodes.length);
//number of page numbers generated
var pageNumbers:Number = galleryItems_array.length;
thisThumb = item.mc.num - pageNumbers;
item.mc._alpha = 0;
this["square"+thisThumb].alphaTo(100, 0.5, easeStyle,0);
holder_mc["thumb"+thisThumb+"_mc"].alphaTo(100, 0.5, easeStyle,thisThumb);
this["square"+thisThumb].enabled = true;
for (i:Number = 0; i<=item.mc.num; i++) {
//item.mc.alphaTo(100, 1, easeStyle,i*0.5);
};
square0.loading.alphaTo(0, 0.25, easeStyle,0);
}
}
// track load progress
function watchLoad() {
// get bytes loaded and total of image
var bl = item.mc.getBytesLoaded();
var bt = item.mc.getBytesTotal();
// if files has been found...
if (bt>0) {
// get percent loaded
var pct = bl/bt*100;
// if loaded then clear the interval and load the next file in the que
if (pct == 100) {
loading = false;
clearInterval(interval);
loadFiles();
}
} else if (bt == -1) {
// if timout occurs then clear interval and try the next file in the que
if (ic++ == timeout) {
trace("Error: timeout, file not found");
loading = false;
clearInterval(interval);
loadFiles();
}
}
}

// set the imageHolder, set depths and mask.
this.createEmptyMovieClip("holder_mc", 10);
holder_mc._x = 0;
holder_mc._y = 0;
contentContainer.swapDepths(11);
shadow.swapDepths(12);
holder_mc.setMask(contentContainer);


// Where the real action's going on..
function imageGallery() {
// xml array
var galleryItems_array:Array = new Array(xmlNode.childNodes.length);
//number of page numbers generated
var pageNumbers:Number = galleryItems_array.length;
// for each image in the gallery,
for (var i:Number = 0; i<=pageNumbers-1; i++) {
// create a movie clip,
clip = holder_mc.createEmptyMovieClip("thumb"+i+"_mc", i+1);
// call the addFile function, pulling the correct image in from the xml
addFile(link[i], clip);
// and set the postion of the image within the holder to
// be that set by the individual number of the clip,
// mutliplied by the image width variable, set above,
// and give it a little padding.
holder_mc["thumb"+i+"_mc"]._x = (i*imageWidth)+5;
}
// call the preloader function
loadFiles();
// set the header text on the right to be the first from the xml
textHolder.headerText.text = name[0];
// likewise, set the main text to be the first
textHolder.mainText.text = description[0];
// for all the images in the gallery
textHolder.urlText.text = url[0];
// for all the images in the gallery
for(i:Number = 0; i<=pageNumbers-1; i++) {
// attach little square buttons, at their respective depths
attachMovie("square", "square" + i, this.getNextHighestDepth());
// set this particular button to a variable.
currButton = this["square"+i];
// set its unique numerical identifier
currButton.num = i;
// set each button's intial x position, calculated by the margin set by the constant, xPos
// plus that particular button's number multiplied by the gap between it and other buttons
// minus the amount needed to fit snug within the banner, calcuated by the gap required between buttons,
// multiplied by the amount of buttons.
currButton._x = xPos+(i*pageNumGap)- pageNumbers*pageNumGap;
// y position of the buttons
currButton._y = yPos;
// the actual number of the buttons, starting from 1, not 0;
var realNum:Number = i+1;
// if the number is less than ten
//if(realNum<10) {
//give it a zero on the front
//currButton.number.text = "0" + (realNum);
//} else {
// otherwise, let it be
currButton.number.text = (realNum);
//};
//make the buttons fifty percent visibility
currButton.alphaTo(10, 1, easeStyle, 0);
// on clicking this button
this["square"+i].onRelease = function() {
//make this button go back to the left, selected, initial position
this.tween('_x', 10*this.num, 1, easeStyle, 0);
// shift the image gallery by the amount set by the number of the button clicked
holder_mc.tween('_x', (this.num)*(-imageWidth), 1, easeStyle, 0);
// bring the alpha of the text panel down to sero for a second..
textHolder.alphaTo(0, 0, easeStyle, 0);
// for all the buttons
for(i:Number = 0; i<=pageNumbers-1; i++) {
currSquare = ["square"+i];
currSquare.num = i;
// if the button is greater than that clicked
if (i >= this.num) {
// shift it to the right
this._parent["square"+i].tween('_x', xPos+(i*pageNumGap) - pageNumbers*pageNumGap, 1, easeStyle, 0);
} else {
// otherwise, move it to the left
this._parent["square"+i].tween('_x', (i*pageNumGap) + margin, 1, easeStyle, 0);
}
// give all other buttons an alpha value of 75
this._parent["square"+i].alphaTo(75, 1, easeStyle, 0);
// set them to be selectable
this._parent["square"+i].enabled = true;
};
// for the button clicked, move it to the left
this.tween('_x', this.num*pageNumGap + margin, 1, easeStyle, 0);
// set its alpha to full
this.alphaTo(100, 1, easeStyle, 0);
// don't make it selectable (it's just been selected)
this.enabled = false;
// bring the text holder to full alpha
textHolder.alphaTo(100, 0.5, easeStyle, 1);
// set its header text to be that equivalent to the content of the number of its name tag in the xml
textHolder.headerText.text = name[this.num];
// and likewise, for the main text description, do the same
textHolder.mainText.text = description[this.num];
///hhh
textHolder.urlText.text = url[this.num];

};
};
// setting of initial button x position
square0._x = 126;
// set the first button to be fully lit
square0.alphaTo(100, 1, easeStyle, 0);
};
Any help would be really appreciated!

Close Button In Photo Gallery Not Working.
Hi everyone. I'm having a small problem with my close button.
Heres the set up. 723tattoo.fla is the main page with a container box.
Jason.fla is the mov that goes into the main pages container.

I'm thinking the code may be messed up in the close button???
I've attached the Jason file and the other file can be downloaded at www.lbmmusiczine.com/723tattoo.zip
Any help would greatly be appreciated!

Oh how you'd get to the page in question from the main page (723tattoo.fla) would be.
Artists > Jason Sweet

Play/Pause Button For XML Photo Gallery
Hi,

This is my first post, I'm sort of new to Actionscripting, and I had a question about adding a play/pause button to the XML photo gallery that was once featured as a tutorial on this site.

So...how can this be accomplished? I've modified the script so the previous/ next buttons continually loop through the photos when clicked, and there are buttons at the top which will take the user to the photo they wish to view, but now I want to a add some functionality that cycles through the photos (on a timer I suppose?) and allows the user to play/pause the slideshow.

Perhaps some code would be helpful ... what I have so far:

Code:


var x:XML = new XML();
x.ignoreWhite = true;
var urls:Array = new Array();
var captions:Array = new Array();
var whatIsCurrent:Number;
x.onLoad = function() {
   var photos:Array = this.firstChild.childNodes;
   for (i=0; i<photos.length; i++) {
      urls.push(photos[i].attributes.url);
      captions.push(photos[i].attributes.caption);
   }
   holder.loadMovie(urls[0]);
   caption.text = captions[0];
   whatIsCurrent = 0;
};
x.load("slides.xml");
previous.onRelease = function() {
   if (whatIsCurrent>0) {
      whatIsCurrent--;
      holder.loadMovie(urls[whatIsCurrent]);
      caption.text = captions[whatIsCurrent];
   } else {
      whatIsCurrent = 4;
      holder.loadMovie(urls[whatIsCurrent]);
      caption.text = captions[whatIsCurrent];
   }
};
next.onRelease = function() {
   if (whatIsCurrent<urls.length-1) {
      whatIsCurrent++;
      holder.loadMovie(urls[whatIsCurrent]);
      caption.text = captions[whatIsCurrent];
   } else {
      whatIsCurrent = 0;
      holder.loadMovie(urls[whatIsCurrent]);
      caption.text = captions[whatIsCurrent];
   }
};
qlOne.onRelease = function() {
   whatIsCurrent = 0;
   holder.loadMovie(urls[whatIsCurrent]);
   caption.text = captions[whatIsCurrent];
};
qlTwo.onRelease = function() {
   whatIsCurrent = 1;
   holder.loadMovie(urls[whatIsCurrent]);
   caption.text = captions[whatIsCurrent];
};
qlThree.onRelease = function() {
   whatIsCurrent = 2;
   holder.loadMovie(urls[whatIsCurrent]);
   caption.text = captions[whatIsCurrent];
};
qlFour.onRelease = function() {
   whatIsCurrent = 3;
   holder.loadMovie(urls[whatIsCurrent]);
   caption.text = captions[whatIsCurrent];
};
qlFive.onRelease = function() {
   whatIsCurrent = 4;
   holder.loadMovie(urls[whatIsCurrent]);
   caption.text = captions[whatIsCurrent];
};



Thanks to anyone who can lend a hand and thanks to those posts I've read that have been helpful so far.

Photo Gallery - 'Next' Button - Jump To The Appropriate Frame /label
Hi,

I am new to Action Script and I have a small issue that I can't seem to figure out...

Probably very easy for you guys...

(1)
I have a Photo Gallery here, kinda like a Photo show and under the picture is a 'Next' and 'Previous' button.

Now when the user will click on e.g. the 'Next' button I want the pic shown to change into the next picture.

I have all my pics in a movieclip all with labels s1, s2, s3 etc. ....

I already have the code setup to go to the appropriate movieclip but I don't know how to tell Flash via Action Script to go to label "s" + 1.... meaning:

if the picture with the label "s2" is shown right now and the user clicks on the 'Next' button Flash need to go to the mc with my pics in it and then to the label "s3" --> "s2" + 1

How do I do that ?

(2)

Another thing I was thinking about:

Let's say I have 7 pics in the photo gallery and user is seeing pic # 7 right now (label "s7") and he clicks the 'Next' button I need to tell Flash to jump to label "s1" (to the first pic) because there is no eigth picture...

How is that done ?

Note: I am using Flash 9 CS3 so either AS2 or AS3 is welcome...

Any help is appreciated and I thank you in advance for that !!!

Mike

How To Link A Button To An Specific Picture In Photo Gallery
Hi there. I'm a beginner with flash and web design. I tried to create a photo gallery following the tutorial that uses XML in flash but I couldn't. The partial downloaded fla files that explain the process didn't open at all (unexpected format, was displayed). Download Partial FLA for 2004
Download Partial FLA for MX
FLA for MX (for those who can't get the above version to work)
I went instead for the more simple version tutorial "creating a photo gallery" with sbeener's code, which is enough good for my requirements. I made my photo gallery and then I thought It'd be a good idea to link a button from a different page to an specific picture within the gallery and from there use the back and forward buttons to move along. Is this possible without following the complex XML in flash procedure? How could I do it?

I'd really appreciate any help you could give me.
Thanks in advance.

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

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;
}

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!

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.

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?

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

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!

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?

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!

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.

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

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...

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...

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.

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

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

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="

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

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

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/

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?

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

Photo Gallery
Hello all,
I am trying to create a photo gallery with the thumb nails of the images on the layout. When the thumb is clicked it will pull the image from the server and load it into the movie. I want the images to come in using some sort of effect i.e. fade in - fade out or any other cool effect.

Also: Is there a script to make sure the image loads at a specific size and location?


So far all i did was create 1 frame with the thumbs and 1 movie clip.
the script for the button is as follows:

on (release) {
loadMovie("http://www.albundy.net/other_pics/disguise/disguise2.jpg", square);
}


very rough sample of the idea... layout

Thanks in advance...

Photo Gallery
Can anyone help me? i have this photo gallery and you can click on the numbers and load the photos into a MC and you can click on the arrows and go to the next photo but if you click a number and then click the arrow it loads the next photo after the last one selected by the arrow, not the next photo after the one currently in the MC. I need to have these work together so if you click on number 5 and then click the arrow it loads photo number 6.

http://christinedesign.com/cuffaro/p...t_gallery.html

Thanks,
Lenny

Photo Gallery
Good Day All!
I came across this button setup:

http://www.joshuadavis.com/

and am curious to figure out how they made the movie play forward or backward depending on the button pressed. Did they us IF and Else statements? I am fairly new and would love to learn how to do this. Any direction would be appreciated.

Thanks

Photo Gallery
Finishing up an image gallery. Going to be a component very soon. If anyone sees anything that would be a value add please let me know.

http://www.uni5ied.com/gallery/

todd@uni5ied.com

Thanks.

Photo Gallery
Hello,
I am trying to make my first photo gallery in Flash. I want it to have the same functionality as my old sites but now in flash. Here is what the old picture gallery can do: http://www.teamsally.com/galleries/tn.php?gallery_id=42
I want to be able to see all the thumbnails and description but when clicked, the pics can be maximized to full resolution in another window. Does anyone have any tips or suggestions how I can accomplish something like this. I know it is a lot to ask. Any help is much appreciated. Thank you in advance!!!

Photo Gallery
Hello

I am looking for someone that can help a kid out! I am a newbie and would love it if someone could help me. Could someone take a look at my .fla? I am trying to make a mini photo gallery and not having very much luck. Could you take a look and see what is causing my photos to blink every 2 seconds and why the next button doesn't work? When you take a look at my .fla and if you could make it easier than how I am doing it, could you so me how to do that?

www.destreedesign.com/website.zip

THANKS!!!!!!!!!

Copyright © 2005-08 www.BigResource.com, All rights reserved