ActionScript 2.0 :: Building A Dynamic Gallery?
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
Similar Posts:
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
Jul 6, 2009
I am putting together a gallery that will show about 60 images. basic fade-in transitions between the images. I need to animate the company logo (very basic) and show some text below each image), becasue of this I dont know if any off the shelf xml based gallery will work? As usually you just define the image name/path and run the swf. This is for a presentation and not web so maybe not possible to be Xml based. Is there anything that is out there that could work for this and if not i suppose I am doing everything in flash but fear this as thimeline will be so long and a bit of a nightmare to do, if I have to do this in flash, I would have each image occupy about 20 frames 1-9 it will fade in, frame 10- a 10 sec pause, and frame 11-20 a fade out, that will still give me a timeline of 1200 approx.
View 1 Replies
Feb 12, 2009
i am currently building a XML gallery which works, and has one row of scrolling thumbnails to click on that display larger image in the centre of my site.
What I am trying to build is two rows of thumbnails that can scroll backwards and forwards; below is the code i have used to make the single line of thumbnails, could any one point out or help me how i would go about to have two rows of thumbnails please.
[Code]...
View 1 Replies
Jun 18, 2010
I need it with Flash CS4, AS2...
I want to make a little app, .swf, that has a bunch of buttons on them - each button corresponds to a string of text...
So let's say, the buttons are marked as "Rd" "St" "Ln" etc...
When they click on the button, I want it to add that listing to the dynamic field box so it will look something like this
*User clicks on Rd button and "ROAD" pops up in the dynamic text box - User then clicks the "Ln" buttons, and then the dynamic text box changes to "ROAD/LANE"
User decides they don't want to use road, so they click on "Rd" button again, and the dynamic box reads "LANE" - user then wants to add "st" so they click on the corresponding button and now the text field reads "LANE//ROAD"
View 4 Replies
Apr 30, 2009
In the AS2 days you could create an array and add a bunch of Mc names to it like so
Code: Select allarray("clipA","clipB","clipC", etc..)
Then you could use this array to reference clips dynamicly or on stage to do stuff.I was trying to do the same with AS3 but came across a problem I've not found an answer to yet. I created the following code:
Code: Select allvar letterArray:Array=new Array("A","B");
var buttonArray:Array = new Array();
//
[code]....
Now with the line:
Code: Select allvar currentButton:MovieClip = buttonArray[i];
I get: Type Coercion failed: cannot convert []@369e8581 to flash.display.MovieClip.but if I remove that line, it works. My problem is that I need to make it a "var" of type movieclip before I can assign a listener to it. Why can't I build an array of movieclip names using:
Code: Select allbuttonArray.push(["button"+letterArray[i]]);
I have seen arrays in the past that contain:
Code: Select allarray(mc1,mc2,cm3, etc...)
but notice that it's just using the name of the clip and not array("mc1","mc2","mc3", etc..)
View 6 Replies
Sep 17, 2004
I have managed to get data out from Mysql database. All it returns to me are:
1) Name of the button
2) Where it link to
3) Number of Buttons for the menu
So now, how can I build a menu of buttons such that I can display according to the database return on the number of buttons? I have already create a movieclip which is the image of a single button. With dynamic text on top of the button in the movieclip.
I just need to loop it thru the number of buttons and display the buttons on screen. But I can't seems to get it right. I have looked through the XML dynamic menu but it's not very similar to mine as I'm using PHP script to connect to the database.
View 3 Replies
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
Oct 15, 2006
I'm building a dynamic content page in flash that consists of using attachMovieClip and createEmptyMovieClip with coordinates to place photos and objects, which are loaded from an external source and scrolling their thumbnails I've run into a problem setting the variables correctly because the scrolling thumbnails required that the thumbnails be nested inside a scrolling controller clip and that has somehow messed up my preloading and sequential text caption loading for the tumbnails.
View 4 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
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
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
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
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