ActionScript 3.0 :: Dynamic Gallery WITHOUT Xml/php?
Mar 17, 2009
I'm trying to build a Flash gallery that would load a variable amount of images and create a scrolling gallery, with pop-up previews of each image. Essentially, something like this (left/right scrolling arrows, hovering popup preview) but I want it to be AS3 as that's what I'm focusing on learning. I'm quite new to this and not from a coding background, so pardon my question if it's redundant but I've searched for something non-XML based and couldn't find it. If someone could explain to me why XML-based dynamic galleries are better then perhaps I could convince my web-developer coworkers, but for now they've requested a stand-alone Flash app. We need a generic gallery we can use on various sections of our site.
I really appreciate your help. If the pop-up preview and the dynamic loading are 2 different tutorials, fine by me, I just don't feel I have the knowledge or resources to pull this off on my own yet.
View 1 Replies
Similar Posts:
Jun 15, 2007
im trying to do a dinamic link for my dinamic thumbs gallery. But i dont know how to propagate it. here is my function for my show next button PHP Code:
[Code]...
View 1 Replies
Feb 3, 2009
create a dynamic gallery or slideshow. I know xml very well but its not enough How can I control xml in flash in slideshow??.
View 1 Replies
Feb 12, 2009
Anybody knows create dynamic photo gallery same as http:[url].....
View 4 Replies
May 11, 2009
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 Replies
Jul 3, 2008
how to build a dynamic photo gallery with an integrated content managenent system.the only results that i found are concerning a gallery updatable via ftp and modifying the xml file.
View 1 Replies
Jul 16, 2010
I have a dynamic thumbnail gallery that laods thumbnails from db/xml and also each thumbnails associated main image. When the user rolls over the thumbnail the larger image displays to the right.
THis is all working fine however I need to update the script to change the thumbnail gallery layout from a 3 column 2 row gallery to a 4column 4 row gallery.I've adjusted the as and resized the thumbnails to allow for this and setup a 8px spacer between thumbs
[Code]...
View 2 Replies
Jun 27, 2005
Just thought I'd see if this is possible with the XML Photo Gallery.1. Is it possible to create a dynamic border for the loaded image depending on the size of the image being loaded? 2. Is it possible to move the Y position of the caption text box depending on the height of the loaded image? ie if the image is 200 pixels high, then the text box should be positioned at 220 pixels.The current code I have which loads the images then automatically scrolls through them is:
Code:
delay = 6000;
// -----------------------
[code].....
View 1 Replies
May 20, 2007
First of all congratulations for you all who made this forum the best Flash Forum, as you can see this is my first post and I have a doubt about a Flash+XML gallery. Presently I'm working in a simple website for a car seller. The offers section is composed of two main parts. First part is a clip (MC_AllCars) where is dynamically loaded "thumbnail + description" for each car found in the XML file. I get this with a couple of "for" loops. With this loops I read and extract the data, and then I put it with attachMovie in a movieClip used as template. This part isn't difficult to develop, but second is more difficult (for a newbie actionscripter like me).
The second part is other movierClip (MC_CarDetails) working as another template. In this template would be loaded all the car details It would be like this:
[Code]...
View 7 Replies
May 24, 2007
i 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
View 3 Replies
Jun 18, 2007
been playing around with the bitmap data class for a while, and i got to a point when i realized i was never gonna be saticfied with it... so im releasing the site as it is today
View 2 Replies
Jul 3, 2008
I have been looking for a while on the web, but somehow, the answer Does anyone knows a comprehensive tutorial on how to build a dynamic photo gallery with an integrated content managenent system.the only results that i found are concerning a gallery updatable via ftp and modifying the xml file
View 7 Replies
Nov 9, 2008
I 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.
View 15 Replies
Feb 4, 2009
What I'm trying to do is build a Dynamic XML scrolling gallery, but it's not going to be a gallery, more like scrolling images with links, that when you click on an image, it will take you to the url designated for each image in the XML.I have no experience working with AS3, so far what I've got are things I'm learning trying to build this.The issue:The issue is that when I run the script, the url designated to all the created movie clips have the same url. For example it will use first "link" on the XML on all 4 movie clips (so all the movie clips would be linked to , or it will use the last "link" in the XML for all movie clips (so all the movie clips would be linked to . How may I fix the issue above?
PHP Code:
<?xml version='1.0' encoding='ISO-8859-1'?>
<chapter_list>
[code].....
View 12 Replies
Jun 14, 2009
I'm trying to create a simple photos gallery.I load a new picture into the scene using loadMovie function. X and Y coordinates are custom for each photo so it would be centered nicely. The size of the picture is different too. It means, we have 4 variable distances here (question marks in the graph).Now the hard part.I want to divide a loaded picture into two sides and convert them into two different hotspots. I'll be using these hotspots for prev/next buttons.
View 1 Replies
Dec 13, 2009
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].....
View 1 Replies
Oct 14, 2008
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.
View 6 Replies
Jul 23, 2009
I'm building a dynamic XML photo gallery/case study application that allows users to filter relevant results and then view the corresponding text/photos. So far i've used list components to scan my XML document and return the results for the filters, and then add thumbnails to a panel. When you click on the thumbnail, it brings up the first of a series of images, which i load into a Loader instance and add it to the stage using addChild();
The image sequence is then controlled by a series of navigational buttons, of which currently i only have "Next" and "Previous". The buttons work by incrementing/deincrementing a variable that is the index of the image currently being displayed, so when you hit next, it adds/subtracts 1 from that variable, and then uses that number for the index of my <image> tag in the XML doc. All works fine until you reach the end of the images. I have a conditional that tests if the currentImg variable is equal to the length(); property of the XML tag, and if it is, it resets the currentImg value to 0. And vice versa for the previous button. But when the file is published, and i reach the last image and hit the next button, i get this error:TypeError: Error #1010: A term is undefined and has no properties. at MethodInfo-346()
The strange thing is, that if i hit next again, it does what it is supposed to do by going to the first image. Then if i cycle through the images once again the same thing happens. And the same scenario and error occurs when i hit the previous button on the first image. if i need to somehow remove the images from memory, or if they are still in memory and i need to access them a different way the second time around? this is very frustrating.
View 3 Replies
Jun 28, 2004
I am trying to make a photo gallery that is dynamic instead of throwing the pictures in a movie and tweening effect inbetween them. I know, why take the easy route.
What basically I want to happen is that when the movie loads the first image is displayed for 4 seconds then fades out as the next image is fading in. I have 11 pictures that are in a folder called "weddings". The pictures are all named "weddings0.jpg", "weddings1.jpg", "weddings2.jpg",...... "weddings10.jpg". Here is the code for this part, I have tested and it works:
Code:
totalImages = 11;
k=0;
var aWedding = new Array;
[Code].....
View 3 Replies
Jan 13, 2006
I am making a dynamic image gallery, for this i am using XML and Flash mx 2004. Here is my problem[code]...
View 4 Replies
Jan 20, 2007
I downloaded the source file for Scotty's V3_with_thumbs and would like to know how to add another dynamic text box to it. I've tried and copied the arrangement and placement of iArray (calling it dArray), added dArray.push(gallery.childNodes[i].attributes.descrip); (with descrip being my new entry in the XML file). Given an instance name etc... but if I call descripTxt.text = id; (descripText being the instance name of the text box) I get the same Text given by the existing info/title text. dArray traces with the correct content (but all of it).adding in another dynamic text box?
View 13 Replies
May 29, 2007
I have a gallery that I built from a tutorial I found online--it has an empty mc with a border around it, and when you click on a thumbnail an image is loaded into the mc and it fades in when it loads in and out.Ofcourse it works fine offline, but when I test it online the image will load in off-center, if you click the thumbnail again (after it has loaded the first time) it loads in the position it should be in. Here is the code I have on the first frame:
spacing = 1;
containerMC._alpha = 0;
MovieClip.prototype.loadPic = function(pic){
[code]....
View 3 Replies
May 11, 2010
I have a store style website that uses a grid format gallery to display a grid of thumbnail products which can then be clicked.url...I have created xml captions that sit ontop of each thumbnail in the grid. They display fine when static but I wanted them to only display when you mouse over the corresponding thumbnail.I have code that tweens all of the captions (thumb_caption) to 0% alpha and the tweens to 100% alpha upon MouseOver and then back to 0% alpha on MouseOut.At the moment there is one problem - When you hover over ANY thumbnail the caption for the LAST thumbnail fades in not the corresponding one for THAT thumbnail.Example - if I have 10 thumbnails and I hover over thumbnail 1 the caption for thumbnail 10 appears ontop of thumbnail 10. (not caption 1 over thumbnail 1 like it should!)[code]
View 1 Replies
Sep 29, 2010
Here is the code for Dynamic Autoscroll Flash Gallery.In all images are loaded dynamicaly from xml.In this all the images should of same size.The Movie clip in the stage should be of image size.
View 3 Replies
Oct 28, 2010
I'm looking for a lightweight, simple way to create a dynamic photo gallery, with specification. Basically, I have 55 head shots arranged like a yearbook page. I want someone to be able to click on an image, and have a window pop-up that shows the photo, plus additional text information. (I'm pretty sure I can create 55 frames and put an image on each one, but that is bulky, I do not want to go clicking around to different frames on the timeline,) I was hoping there was an alpha/tweening option, or an xml option.
View 1 Replies
May 9, 2011
I have created a slider menu that moves when the arrows are clicked on either side. The images for this menu are loading dynamically from an xml file onto a 'container' in my fla.I need desperately to also be able to add text underneath those pics.
Code is :
import com.greensock.*;
import com.greensock.easing.*;
[code].....
View 14 Replies
Jun 28, 2004
I am trying to make a photo gallery that is dynamic instead of throwing the pictures in a movie and tweening effect in between them. I know, why take the easy route. I have something really wierd going on, maybe you can help. What basically I want to happen is that when the movie loads the first image is displayed for 4 seconds then fades out as the next image is fading in. I have 11 pictures that are in a folder called "weddings". The pictures are all named "weddings0.jpg", "weddings1.jpg", "weddings2.jpg",...... "weddings10.jpg".
Here is the code for this part, I have tested and it works:
totalImages = 11;
k=0;
var aWedding = new Array;
//The for statement creates new movieClips with the images loaded and stored within
//stores the movieclips in an array.
[Code] .....
At this point I have loaded all the images into movieclips and stored their references in an array. I have also gotten them all alpha of 0 except the first image, weddings0, which I want to display first. My function to make the images scroll through doesn't work. If I trace what the alpha is as it scrolls though I get wierd numbers like 93.3233432 or 32.323223 which doesn't make sense to me because I am increasing or decreasing the alpha by += 2 or -= 2. I don't know where the functions come. Anyway, here is the code, or what I have I should say, btw
I have the code linked to a button right now to test if it works, I would like it to run automatically on load:
Code:
butt.onRelease = function(){
trace(k + " k");
tempInt = setInterval(fadeInOut, 10, aWedding[k], aWedding[k+1]);
} function fadeInOut(mcPic1, mcPic2){
[Code] .....
View 3 Replies
Jul 1, 2004
I'm loading 10 jpg images into _root.content.section_4.mc_anim, each is placed into its own movieClip.
Code:
_root.content.section_4.mc_anim["gall_img_"+img_view_index]
These movieclips are hidden and then have the images from an array loaded into them.
[code].....
View 1 Replies
Jul 16, 2004
I need to create a dynamic image gallery. the files are defined in an array like imgs[code]...
View 5 Replies
Aug 8, 2009
I want to make Flash Gallery like this: [URL]. I think it is Dynamic and pics are showing through xml.
View 2 Replies