IDE :: XML PHOTO GALLERY - Make A Second Caption?
Jan 28, 2009I am using the XML and Flash photogallery that Kirupa has in the tutorials [url]. I was wondering how I can:
a. make a second caption
b. make a caption with a link on it.
I am using the XML and Flash photogallery that Kirupa has in the tutorials [url]. I was wondering how I can:
a. make a second caption
b. make a caption with a link on it.
I am creating a very basic AS3 XML Gallery. The problem I am having is including the description or "caption" along with the photo. I have been going around it for awhile, but I can't seem to get my head around it.
These are the basics I have for my XML.
<?xml version="1.0" encoding="utf-8"?>
<images><image>
<url>pics/first.jpg</url>
<big_url>big_pics/first.jpg</big_url>
<description>The first time</description>
</image></images>
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 RepliesWhat I want to do is to make a gallery based on the tutorial gallery here (thumbs), but I want the user to be able to choose different galleries from within the movie. I figured that I could make a loop to cycle through the galleries, then nest another loop inside it to cycle through the pics, captions and thumbs. While I wrote, I constantly tested the output with trace commands, but when I tried nesting the loop I lost all output.. I'm pretty new to both Flash and Actionscript, so if theres an obvious solution I havent been able to see it.. This is my temp XML file:
[Code]...
Do anyone know how to make a photo gallery with xml and flash 8 like the gallery in the portfolio section of this link.[url]...
View 5 RepliesI've searched the forums as well as other areas of the internet to find a solution to this issue I'm having. I've managed to gather bits and pieces here and there and they have kind of came together to get me further than I expected. I've basically went about my own little way of trying to make a photo gallery using php and flash. So far I've made more progress than I figured I would, but I have ran into a few issues and I fear I may have to start over entirely.
What I've done is pieced together some php code to read the contents of a directory, it then writes them to a php file and assigns them each a variable name and finally assigns the number of photos in the directory to a variable name, it looks like this once the script is ran[code]...
i need to make a photo gallery were i can just duplicate the folder"vacation_photos" and then rename it something else and not have to change the path on every freakin photo and button.
View 1 RepliesI want to make a dynamic photo gallery. The layout will be a scrollable bar at the bottom with thumbnails and then when you click one, a big version of the picture in the main window. Pretty simple layout. But! I want it to be dynamic in the sense that follows;
I have a txt file that contains the number of photos in the folder (at the moment, there are 5). Flash reads that number, and inputs that into a for statement, which then gets the filename of each of the 5 files (p0, p1, p2, etc) and slaps a .jpg on the end. Its like this so that i can add files to the folder, change the number in the text file, and be done (no site maintenance required).
Now comes the problem. I want to be able to, within the for statement, load those files AND be able to resize them. What i'm doing now is putting an instance of the gallery itself on the stage (just an empty movie clip), and in the for statement I am adding a "thumb" movie clip into that gallery movie clip, and loading the image into that. Visually:
Gallery_mc
--->thumb_mc
------->loaded image file.
The problem is that I can't resize them. I've tried using the loadercontentinfo stuff, but when i do that, it messes up my for loop somehow. I could always make all of my thumbnail files that size anyways, but I am also hoping to maybe implement my creation here in the future so that I can give it to others who aren't tech savvy and having them be able to use it without any difficulty. Here is the code:
Code:
//Create the URLLOader instance
var myLoader:URLLoader = new URLLoader()
//the data will come as URL-encoded variables
[code]....
I took out the loaderinfo stuff because it didnt work. As it stands, this version actually does sucessfully load the images, but doesnt do anything to resize them.
Like ordinally photo gallery, there is a big picture with some thumbs.
big picture = MC named gWindow
thumbs holder = MC named pics
thumbs = MC named p1, p2, p3...
[code]....
I made a flash website for a non-profit organization and it needs to have a photo gallery inside of it. It needs to have 3 categories with about 20 pictures in each category; the pictures are of different sizes.
I'd like to make a gallery like this one: [URL] but I'm not sure how to do so while also having it be inside the main flash website also.
[URL] how to make a Flash Thumbnail Photo Gallery. I am designing a bigger photo gellery based on this code how do I have the photo gallery to list 2 rows of thumbs 5 accross and 2 rows. This code is the code that designs the thumbnail movie clip.
function thumbnails_fn(k) { thumbnail_mc.createEmptyMovieClip("t"+k, thumbnail_mc.getNextHighestDepth()); tlistener = new Object(); tlistener.onLoadInit = function(target_mc) { target_mc._x = hit_left._x+(target_mc._width+5)*k; target_mc.pictureValue = k; target_mc.onRelease = function() { p = this.pictureValue-1; nextImage(); }; target_mc.onRollOver = function() { this._alpha = 50; thumbNailScroller(); }; target_mc.onRollOut = function() { this._alpha = 100; }; }; image_mcl = new MovieClipLoader(); image_mcl.addListener(tlistener); image_mcl.loadClip(thumbnails[k], "thumbnail_mc.t"+k); }
i download and try to modify a xml photo gallery from kirupa in this pagemake the buttons for "next" "back".... and one button that control the slide show, but i cant find how to activate the slide show and desactivate it.
View 1 Repliesso i wanna make a custom photo gallery for my work, and ive seen some that i like. however, i want to MAKE it myself and not download somebody's program that does it or whatever. i know i have the necessary knowledge to be able to follow a tutorial on it but i dont know how to do it myself, you know? anyways heres one that i like, if anybody knows of a tutorial that i can do this in please let me know. [URL] the important parts are that it needs to be updated with xml and have a scroller at the bottom with buttons, not a scrollbar.
View 3 RepliesHow can I make wide outlines to each photo gallery bitmaps in AS3/Flex? Or where could I find a good tutorial?
View 3 RepliesPlease go to [URL] and click on the photo gallery link. Then click on any other link. The photo gallery stays on the page! how I can make it go away when clicking on other links? The actionscript for the photo album is on the last frame in the actions layer.
View 1 RepliesI'm trying to make a photo gallery that loads the pics in as swf's, and was wondering if there was any way for flash to detect the number of files that are in a particular folder on website (also the names of those files).
View 3 RepliesI want to make this gallery auto play means ones gallery load than the photos should be change by itself after few seconds.path for gallery [URL]
View 4 RepliesI've made an image gallery and it works great. What I want to do is make the main image a link to a certain part of the site. The first link works great, but then I get[url]...
Basically, I made an invisible button on each main image for the link.[code]...
I'm trying to make a photo gallery that is dynamically controlled via an xml file.
View 11 RepliesI found this really neat photo gallery on flashkit but there is no support or readme included. Hoping one of you actionscript gurus can sort through the AS and how to size this thing.. the AS code does have comments but I am not a coder. I'd like to make the image window smaller and the overall movie smaller. 325x325 or so.
View 10 RepliesI'm trying to get some general info and be pointed in the right direction to make kinda like a photo gallery where they can be dragged, and moved around like several squire images that can overlap one another, and if you click an image that is under another image, it will come upfront..
View 1 RepliesI 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 RepliesJust 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 RepliesI have made an image gallery using a tutorial by blue chiIt is basically constituated of thumbs that once clicked let a large image appear. I now want to add captions to these large images, on a rollover. I tried applying the tutorial "Hover Captions" to my movie, without success.Being relatively new to all that language, I am not sure it is appliable, and mostly where I should put it, i.e, should i include it to my main timeline or to each image (which are movie clips), on an other layer and so on.Here is the code I have for now
Code:
this.createEmptyMovieClip("container",1);
import mx.transitions.Tween;
[code].....
how modify gallery from this tutorial [URL]to load caption from xml.
View 3 Repliesits 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]......
I found the tutorial by Kirupa
[Code]...
I have an XML photo gallery, that when it starts it has a loader for the photos. It always starts with the XML file determined sequence, which is fine, but what happens is that the tabs on the right hand side of the photo loader go astray while it is loading the first photo. If the first photo was loaded instantly this wouldnt be an issue.Is there a way that I can preload that first photo, so that it is in memory when the swf file reads the XML file, allowing the first photo to be instantly loaded ?Amongst other things, I tried embedding the photo in the swf file, but it didnt work...obviously I have no idea what to script...I also created another scene, prior to the main scene, to preload the photo.. but it didnt work either, again probably used useless script...Going further in detail, this is the main script:
Code:
import com.mosesSupposes.fuse.*;
ZigoEngine.simpleSetup(Shortcuts, PennerEasing);
[code].....
I have been searching for a particular photo gallery, and haven't got far. Here is an example of what I am looking for. With the example I wanting the user to be able to click on a photo for it to appear in the box above. I am looking for a tutorial, so I can customise to fit in my client's flash website.
View 2 RepliesI found this really neat photo gallery on flashkit but there is no support or readme included. how to size this thing.. the AS code does have comments but I am not a coder.I'd like to make the image window smaller and the overall movie smaller. 325x325 or so
View 10 Replies