ActionScript 3.0 :: Dynamic Image Gallery With Multiple Galleries?
Aug 18, 2010I'm trying to create a gallery where each thumbnail you can click loads a different set of images (and unloads or removes the previously loaded gallery).
View 9 RepliesI'm trying to create a gallery where each thumbnail you can click loads a different set of images (and unloads or removes the previously loaded gallery).
View 9 RepliesI need a simple way to use xml and create a multiple gallery inside 3 main galleries so basicly like this: (Everything would be in the same page, list view, when clicking into one it would open it)
GALLERY 1 (Will include numerious galleries)
-Example 1
-Example 2[code]....
Basicly when clicking the link it would hover the pics with a scrolling effect in the flash file (that all should be sorted out)
I've created a simple thumbnail gallery script that my students can use for portfolio projects. I'm also making it available for public download along with video tutorials in how to use it. I had developed a nice AS2 script, but those days are over and I've been hammering away at AS3 with pretty good success, but am still learning.I have a workable gallery, but if I add a second gallery on a different frame, all the functions and variables of the second gallery conflict with the first one. I'm missing some simple way to reinitialize the gallery. It may be that I need a Gallery Class but this is just a hair beyond me right now. Can anyone take a look and point me in the right direction? Files can be downloaded from URL...The actionscript files are external and brought in with an include action.
View 2 RepliesI was working yesterday with the galleries from Scotty - http:[url].... - trying to add a dropdown menu for the different galleries, instead of the buttons (I'm talking about the V3 with Thumbnails). My skills are not that good I realized. Do you have any idea on how to achieve this?
What I need is a combobox showing the different galleries i have on my XML file and if the user chooses another gallery, the it loads the new set of pictures and thumbnails.
When displaying mutiple image galleries (3 galleries with 15 images each) is it advisable to load multiple xml files or is it smarter/easier to include all the info in a single xml file?
View 9 RepliesI'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.
I need to modify Stringy's XML gallery to show 5 rows of 2 galleries instead of 4. I know how to decrease the number of galleries to 6 because Stringy told me the following:
You can change the size of the boxes by changing these variables (or associated variables)
th = Math.round(sizeh/4-(5*spaceh)/4-30/4);
tw = Math.round((sizew/2)-(3*spacex)/2);
so to make say 3 rows/2 columns you could change to this
th = Math.round(sizeh/3-(4*spaceh)/3-30/3);
[Code]...
I would like to make a simple flash file where I have one image on top with multiple thumbnails underneath it. The only thing I need to do is get the main image to change to another when I click another thumbnail. The result would be a basic thumbnail driven image gallery.
View 1 RepliesI already have a photo gallery running on my website, but I would like to add 4/5 more. The script I am currently using is;
Code:
// USER CONFIG SETTINGS =====
var autoStart:Boolean = false; //true, false
var secondsDelay:Number = 6; // 1-60
[Code]....
I've obviously changed the first and last frame part of the script to suit where I have put my images. And I have also changed the next and prev button to be next1 and prev1, however the rest wont work, i'm guessing I need to change a lot more but I don't know enough about scripting.
I've created an image gallery that loads movieclips from my library with a simple navigation system. Everything seems to be working fine however I'd like to add some additional functionality. What i would like to do is have the navigation first appear on a splash page. When a user selects one of the nav buttons, the nav will fade out. The image selected will then fade in as well as the navigation but smaller and tucked away to the side.
Users can then continue to sift through the gallery with new (smaller) navigation. I don't know if any of that made sense so I whipped up a few images to demonstrate what i mean. I've also attached a zip file with the current gallery I've created.
I've created an image gallery that loads movieclips from my library with a simple navigation system. Everything seems to be working fine however I'd like to add some additional functionality. What i would like to do is have the navigation first appear on a splash page. When a user selects one of the nav buttons, the nav will fade out. The image selected will then fade in as well as the navigation but smaller and tucked away to the side. Users can then continue to sift through the gallery with new (smaller) navigation. I don't know if any of that made sense so I whipped up a few images to demonstrate what i mean. You can find a sample of my current gallery here: [URL].
View 3 RepliesI have a Flash component that links to a gallery, and I understand that I can create buttons to point to multiple galleries. (waiting too long for support from the suppliers).The User Guide says that I can use the following to create the connection:
myThumbnailer2.loadGallery(24);
That won't work, and it says that I need to include it in an onclipevent. I have no idea what i am doing and I was hoping someone could tell me what to script to get the text button I created to run this.
Trying to make a dynamic gallery that pulls images (along with names and dimensions) from different folders on the server. Want clients to be able to drop new images into these folders and have them pulled into the gallery dynamically. Do I need to use PHP as I did with AS2? or can AS3 pull the image names and dimensions from the folders on the server?
View 9 Repliesi am lookin for similar to this image gallery[URL].. dose any body knows how to get this kind of dynamic image gallery
or dose any body knows this kind of tutorial's link
I am extremely untrained in CS4 and Actionscript. However I have managed to get along fairly well until I started to dynamically upload images as a gallery. This works great if I have one gallery, but for my site I have 9 galleries!!! I have a back and next button, but I want to be able to use those same buttons for all of the galleries so they look the same. I have split them up and renamed them, but I am clueless on how to script the buttons to work.This is what I have now because I do not know where to put the other button names without getting errors.
stop();
next_btn .addEventListener(MouseEvent.CLICK, nextImage);
var imageNumber: Number=1;
[code]......
I am trying to create a dynamic image showcase for my homepage, which consists of a series of images fading in and out.I have created a flash file, with movie clip (empty) with an instance called "imageLoader"Then using some available AS I have called in the image (with a preloader function.) see below, the script has been pased on scene 1, frame 1.
startLoading("picture1.jpg");
function startLoading(whichImage) {
loadMovie(whichImage, "imageLoader");
[code].....
I'm trying to do a gallery with an XML file. My XML file is organized like that :
<images>
<image chemin="images/Palmares.jpg" titre="Palmares"
commentaire="Chamonix" />
</images>
The picture loader is working well and the text too but it doesn't work so well together. When I'm clicking on a sticker, the picture is load and a text too but it's not the good one.
I am making a dynamic image gallery, for this i am using XML and Flash mx 2004. Here is my problem[code]...
View 4 RepliesI need to create a dynamic image gallery. the files are defined in an array like imgs[code]...
View 5 RepliesI'm in the midst of creating my very first portfolio site completely in Flash. I followed the tutorial [url]... to create a nice looking gallery. Now, my problem is that I need to create two other galleries for the same website. All three galleries will be on three different pages. The actionscript doesn't seem to work if I try top use different folders and file names, and I can't even make a second gallery in a separate .fla file so I can access the gallery externally via movieclip. I've gone through countless threads on different forums to try to find my answer, but nothing seems to work.
View 9 RepliesI've created a photo gallery that dynamically loads images into a movieclip entitled 'gallery'. Right now the images are listed in an array. how would I make it so that different arrays could be loaded for different image galleries on the site? For example clicking a certain button would tell the movieclip to load different sections. It would load an array that goes
[Code]...
I have dynamically loaded buttons (thumb) and images (galImage) going to container_mc and full_mc containers respectively. I can't get the buttons to stay down when pressed using MOUSE_DOWN and MOUSE_UP. When I use CLICK instead, they all stay pressed. [code]...
View 7 RepliesI need to create a dynamic image gallery. The files are defined in an array like imgs = ['img1.jpg','img2.jpg']; then I loop through the array. The images should be arranged horizontally..
Code:
this.imgs = ['test.jpg','bla.jpg'];
var x = 0;
var y = 0;
var i;
for (i in imgs) {
var t = this.createEmptyMovieClip ("thumbnail" + i, i);
var c = t.createEmptyMovieClip ("picHolder", 0);
var thumb = imgs[i];
c.loadMovie (thumb);
c._x = x + i * c._width;
c._y = y;
}
Where to find examples, tutorials or source files on how to integrate flash with backend to create a dynamic image gallery that can easily be updated?
View 2 RepliesI have made a site for an artist with a dynamic gallery using an xml file. I am trying to create a way for him to update the gallery by simply uploading his new photos through a html form. I have an image upload form which puts the images in the directory which the xml file references but I cant figure out how to generate a new xml file to show all the new pictures. Are there any easier ways to achieve an updatable gallery?
View 3 RepliesI've created a photo gallery that dynamically loads images into a movieclip entitled 'gallery'. Right now the images are listed in an array. is it possible to make an Array of Arrays so that I could load different Arrays for different image galleries? Is this somewhat how it would work? Lets say I were to switch to a section entitled 'landscapes' which we will pretend is the array "var a:Array = new Array();" for now.
ActionScript Code:
var a:Array = new Array(
"a1.jpg",[code]....
I am loading some separate .swf image galleries in my main .fla; when you go to different sections the image galleries still stay there. How do I make them go away? When you click on the background it takes you to another spot on the timeline and the gallery should disappear, but it just stays there.
View 9 Replieshow to make image resizing galleries using AS
View 2 RepliesI am making a set of image galleries which will have looping background music. What are your opinions about the recommended method to bring music in? I am happy with the attachSound and loadSound methods, but wondered whether attaching a soundtrack.swf using loadMovieNum would be better. If so, I only know how to stop and start the music, not pause it and restart where it left off, which is important if I add a narration. Sound Objects seem more versatile because they let you use "position/1000", but from what I have found on the forums I have searched through, I may have to load the swf into a Movieclip or perhaps use _level somewhow?
Here is the code, which works well, but does not "pause" the music, it just stops and starts at the beginning. Code is in the root timeline of my soundControls_mc (play/pause button).
[Flash 8 - AS2]
loadMovieNum("includes/number10.swf", 100);
soundOn = true;
this.onRelease = function() {
if (soundOn == true) {
unloadMovieNum(100);
[Code] .....
I have modified hga77's gallery and made some changes with the style. I am still having some problems and need three things sorted out. Well, two aren't essential but the first one is.1. Most importantly, On Load I need the first image in the XML file to load in and have a border.2. Get the percentage preloader working.
View 1 Replies