IDE :: Multiple XML Photo Gallery Thumbnails?
Jan 30, 2009
I have it set up to load multiple XML files, but, when you select a new book/xml, i want it the thumbnails to refresh starting with thumbnail #1, instead of wherever it left off in the arraythis obviously has something to do with the variable k, but i am having a lot of trouble figuring out where to fix this at.
// Buttons to call each Gallery and reload data
bookone_btn.onRelease = function() {
xmlURL = "book1.xml"; // sets xml file
[code]......
View 5 Replies
Similar Posts:
Feb 6, 2007
how to use thumbnails to navigate to a specific photo within a series. The slideshow is set up to display photos from an XML file (starting with the first photo) and then you can click forward and back in the series. But I need to navigate via a thumbnail to any photo in the series and then play forward and back from there.
Action script:
//photogallery
function loadXML(loaded) {
if (loaded) {[code].....
View 1 Replies
May 7, 2009
I'm trying to use the flash gallery with thumbnails that was in one of the tutorials on this site. See here:
http:[url]....I wanted to make the flash player bigger, so I changed the doc size and then scaled the area mask that shows the image. I don't see why this would scale the image; it should just make the viewing window larger.But when I make an image the size I want it in photoshop, it is displaying the image far larger (blurry and cut off) than it is supposed to.Does it have to do with the action scripting, or the graphics in the document?
View 2 Replies
May 14, 2009
I create a photo gallery from xml using AS3 and it loads fine. I want to limit 5 thumbnails on stage. To see more you have to click the next button to see the next set of 5. Click prev button to see the previous 5.
View 5 Replies
Jan 27, 2005
So i tried modifying the xml gallery code a bit to include thumbnails that load up ynamically. Here is the code i'm using, not that much of it has changed except the loadXml function:
Code:
function loadXML(loaded) {
if (loaded) {
[code].....
View 10 Replies
Aug 20, 2010
I am trying to produce a photo gallery with thumbnails. I cant work out whats wrong i keep getting these 2 compiler error codes, 1021: Duplicate function definition & 1023: Incompatible override.
View 17 Replies
Aug 16, 2005
I did the tutorial on flash gallery with thumbnails but sad to say that when I viewed the swf and html there was no thumbnail showing?
View 2 Replies
Mar 1, 2010
Ok basically I want to create a simple Gallery one that has small thumb nails at the side where when clicked on will show in a larger movie clip. I also need to beable to scroll down on the thumbnails as there will be quite a few. Also on the larger image I want left and right buttons to scroll between the images aswell and when clicked on the large image it will load that image in a new window for people to save the image or just simply be able to click on it to download. I have searched everywhere for a tutorial or template and cant find one that is simply this and in AS3.
View 2 Replies
Nov 19, 2010
Kind of like this but instead of scrolling to mouse move, the user would have to click the arrows. And it would be vertical instead of horizontal: [URL]
View 1 Replies
Dec 2, 2010
I need to make a XML Driven Photo slide in Flash CS5.It needs to have a Box that contains 5 Thumbnails(by XML) act as buttons.The Box sits on top of the Main photo area and shrinks (or close out) when user click its close button. And it opens out by clicking on a open button.I'm sure it can be done by using timeline, Tweening or you name it..But what about the Thumbnails that run from the XML file?Can they disappear with the Box and retrieve when it opens? is it possible? Here is the ActionScript.
import flash.net.URLRequest; import flash.net.URLLoader; import flash.events.Event; import fl.controls.Button; import flash.display.Shape; import flash.events.MouseEvent; import flash.display.MovieClip; import flash.display.Loader; import flash.text.TextField; import fl.transitions.*; import fl.transitions.easing.*; import flash.display.Shader;[code].....
View 6 Replies
Nov 1, 2006
I'm trying to create the simple photo gallery with thumbnails which is in the tutorial Adding Thumbnails, but I'm having a bit of a problem. I've just done the Photo Gallery Using XML and Flash tutorial [URL] which worked perfectly . I've then gone on to the Adding Thumbnails tutorial, [URL] which follows on.I've been working my way throught the tutorial, but when I get to point ix. on page three, I don't get the thumbnails loading at all. I have checked, and double checked the code I have, and I've copied the code from the tutorial assuming that this is right, but nothing appears to work.I'm using Flash MX, not MX 2004.
View 1 Replies
Dec 2, 2006
Regarding the XML and Flash Photo Gallery with thumbnails tutorial
Instead of scrolling thumbnails, I would like to have a Grid but I don�t how to archive that. I have 8 pictures and I would I like to have a Grid with 3 images in each row.
View 14 Replies
Jan 16, 2007
I did the tutorial for the photo gallery with thumbnails and I'm wondering how to make it play automatically and pause with buttons.
I saw another thread and they said to use this code:
myInterval = setInterval(this, "changePhoto", 10000, 1);
but it was for the photo gallery without thumbnails. I cant get that to work for the thumbnail photo gallery version.
View 1 Replies
May 18, 2007
Am using the XML Photo Gallery tutorial (with grid thumbnails) - it was a slight modification by a Kirupa user here:
[URL]
I have a problem though. I have several sections that you visit from the main page, and one of these is the photo gallery. However, when I visit this page and then goto any other section of the site, the thumbnails remain visible.Thumbs still visible when going to other sections:My guess is that the actionscript needs to say somewhere - hide or get rid off thumbnails when moving out of the gallery?
Here's the code:
cliparray = [];
columns = 3;
spacex =50
spacey=50
[code].....
View 13 Replies
Mar 6, 2008
I'm trying to make a photo gallery using AS2 and XML, my thumbnails work fine, a reflect added via the Reflect class works too but I'd like to attach a movieClip to my thumbnails so that when you roll over it, this movieClip starts to play. I've tried the attachMovie method after the loading of the thumbnails (onLoadInit then) but it's still not working !! The same attachMovie to the scene works but not when I try to attach it to my thumbnails, I think I've got some trouble with the targeting of my thumbnails or with the place in the script where I try to do the trick
Code:
var monTableauSrc:Array = new Array();
var monLoader:MovieClipLoader = new MovieClipLoader();
var monListener:Object = new Object();
var monXml = new XML();
monXml.load("galeries.xml");
[Code] .....
View 1 Replies
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
Dec 2, 2010
I need to make a XML Driven Photo slide in Flash CS5.It needs to have a Box that contains 5 Thumbnails(by XML) act as buttons.The Box sits on top of the Main photo area and shrinks (or close out) when user click its close button. And it opens out by clicking on a open button.I'm sure it can be done by using timeline, Tweening or you name it..But what about the Thumbnails that run from the XML file?Can they disappear with the Box and retrieve when it opens?[code]
View 1 Replies
Aug 1, 2006
I saw the tutorial here on how to make a Flash XML photo gallery with a scrolling thumbnail bar. Awesome!
The thing is, the example he DIDN'T choose to illustrate is the one I want make - exactly.[URl]..Is there somewhere else I can find this? The problem is that I have say, 16 photos and I want 4 displaying on the stage at one time. I want a forward / back button available to switch through the remaining 12 images, when the user clicks the buttons (as opposed to a scroller, which I find difficult to control and therefore less useable).
The problem comes when loading the four images from my XML file. I am able to load the first four, but how do I indicate in AS that the next four images are to be loaded, until there are no more images left? What if I add 5 more, I want to be able to have that AS load them. I was using a mod function in my script, but I keep getting the wrong remainder. I'll have to post the code later.
View 1 Replies
Aug 18, 2008
how to incorporate a link from the picture thumbnails of the photo gallery so that when the user clicks on the thumbnail, it may link to another part of the same website or to an url.
View 1 Replies
Nov 1, 2006
i want each image that opens up from the scrolling thumbnails below to have another set buttons relating to the main image. for instance:
[Code]...
numbers = buttons linked to another set of external images that are related to the big image. the problem is i don't know what controls the thumbnail/main image when i click on the scroller (i'm kinda lost in the code). so right now i have only one set of numbers regardless of which big image opens up.
View 14 Replies
Jan 25, 2007
I was wondering in the photo gallery thumbnail tutorial how do I make the thumbnails display vertically not horizontally. Also how do you add the picture caption underneath the thumbnail? [URL]
View 8 Replies
Dec 5, 2007
I've got a website with three links to three different thumbnail galleries. When I click the link to a gallery that has a lesser number of thumbnails, it fills the difference in numbers in with thumbnails from the previous gallery.
View 1 Replies
Mar 22, 2010
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 Replies
Sep 1, 2009
Just trying to make a flash photo gallery that displays all the image files in a certain directory with the usual photo gallery functionality.
View 1 Replies
Feb 28, 2006
original: I really just need to figure out how to center the pictures. here is what I did I have modified the tutorial that I finished to have a bigger stage for bigger pictures. Everything is working properly but the pictures are displayed on the left side, I want to have them centered in the stage for the images, after clicking on the thumbnails, plus my images are different sizes as well. ranging from 200x410 to 744x410 but all are the same height of 410. i will post up what I am talking about at the end. I believe it is something within either the action script or the xml coding that allows the position of the image to be differently? please help here is what i am talking about[URL] Continued: Here is my coding in action script:
[Code]....
View 4 Replies
Jul 25, 2009
Being a newbie to this flash design and actionscript and self learning with the help of forums and tutorials I have create a simple photo gallery for a website I'm building. And all works fine. What I would like to do is add a list box to display different albums but I am having trouble with the actionscript and how to set out the XML file.
[Code]...
View 1 Replies
Jul 24, 2009
Being a newbie to this flash design and actionscript and self learning with the help of forums and tutorials I have create a simple photo gallery for a website I'm building. And all works fine. What I would like to do is add a list box to display different albums but I am having trouble with the actionscript and how to set out the XML file.I have attached a zip file with the images, XML and fla file
View 1 Replies
Oct 9, 2006
I am creating a complex photo gallery application with XML. Through the XML you may load individual images, or you may create mini photo galleries within the main application.At first, individual images and mini galleries are treated the same, I loop through data from the XML to create each instance.The mini gallerie's are then populated by a second loop within the first, to draw data from the next level of XML childNodes. For the mini gallery code I am using a modified version of What I have now works perfectly if there is only one mini gallery. As soon as I create a second mini gallery, the first one stops working. Or rather, the next and previous buttons from the first mini gallery control the second mini gallery rather than the first.
This seams strange to me because there are many other functions relating to the individual images that are created within the main "for" loop that work fine regardless of how many instances of individual images there are. The mini gallery functions are also located inside the main "for" loop, but rather than functioning for each mini gallery instance they work only for the last one created.I hope this descriptions is clear. I'm no expert at AS. I'd paste my AS code but it's way too long to post here!
View 14 Replies
Nov 23, 2006
I 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.
View 1 Replies
Oct 27, 2011
its for a photo gallery that I downlowded,the images fades in and out, but only start that when you click a button(timer).I'm trying to founf out where in the script I can change this, so that the photo's start automatically,rather than, on a button click.I have pasted the script below, is that ok, or would people rather a zip file of the files?
// (c) Copyright by Andrew DiFiore. All rights reserved. DO NOT REMOVE.
fscommand("allowscale", "false");
Stage.scaleMode = "noScale";[code]......
View 4 Replies