ActionScript 2.0 :: Thumbnail Gallery Component [MX]?
Aug 18, 2003
what im trying to do is, when you click on the large image or on a button it open this image in a pop-up.What they say on the sitec. Optional: you can assign a clickHandler to the large pictures for enabling pop-ups or download options:
01 function clickMe(id) {
02 //get imagenode for this thumbnail
03 //'id' counts from 1, XML counts from 0: hence the '-1'
[code].....
View 6 Replies
Similar Posts:
Feb 6, 2009
i was looking for gallery looking like this site [URL] i was looking gallery first page title gallery then Big image like this with description.
View 1 Replies
Nov 6, 2009
I want to incorporate a Horizontal thumbnail Scrolling Gallery to showcase the Special Menus of the concerned hotel. and on click of each image there should be a small popup to display other information of the menu. All this should be XML driven.
View 1 Replies
Apr 26, 2010
I have this thumbnail gallery that loads from an a simple XML. When a tumbnail is clicked its larger image loads into an UiLoader....
What i am trying 2 do is 2 show the larger image using a lightbox when a tumbnail is clicked (removing the ui loader for good). I have a lightbox that works with flash (when testing movie as well).
I have been trying for a couple days now 2 combine all this but it never works
View 3 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
Nov 1, 2004
I am trying to build a gallery where the thumbnail loads and then you hit the thumbnail and it opens the image full size. I don't want to have it resize.
View 12 Replies
Jul 31, 2005
I have a cool xml gallery designed by Scotty. I was wondering what actionscript could I use to add a gray border around each thumbnail and whenever the user rolls over the thumbnail, the border turns to white? Has anyone done this sort of thing before with an XML gallery? [code]...
View 1 Replies
Aug 26, 2005
but is there a way to make the thumbnails like, grid form, like in the examplerather than scroller? because i dont really like the scroller, and im not sure how to set them to grid
View 3 Replies
Jan 23, 2006
i'm using a modified version of the xml thumbnail tutorial on this site and am having a weird problem. sometime on some machines the thumbnails are desplayed in reverse order but when the page is refreshed they're dispalyed in the correct order. on other machines they load in in the correct order fine. anyone have any ideas why this would happen? the image names are loaded into an arrayin the onload of the xml the thumb images are put into an array:
for (z=0; z<videototal; z++) {
thumbnails[z] = xmlNode.childNodes[z].childNodes[0].firstChild.nodeValue;
moviefile[z] = xmlNode.childNodes[z].childNodes[1].firstChild.nodeValue;
[code].....
View 1 Replies
Jul 18, 2006
Ok so i have looked thru the forums for the past two days trying to solve my issue and i didnt find anything that works. I have the xml thumbnail gallery from the site working here.Its the base code except i change some things so that it would work if i loaded with the mxloader component into another movie. When i try and do so the XML file doesnt load. you can see this here. Im not sure if theres something else that i need to do to make this work or what, but i cant seem to figure it out. all the paths are absolute paths (http://ect...). and even stranger is that it worked like 3 or 4 times when i first started then stopped working. so i dont know if its
View 1 Replies
Aug 24, 2006
i'm working on a flash xml gallery. But there is one thing i can't figure out.i like it very much when the thumbnails are not i 1 line but 5 next to each other and then down. So the 6th one must load underneath the first one. Is there an actionscript for or is too complex?
View 3 Replies
Sep 9, 2006
I followed the tutorial on how to incorporate thumbnails into a flash/XML gallery. [URL]
How would I do the same thing but using a grid of thumbnails instead of the scroller? Can this grid be made to appear dynamically?
View 4 Replies
Dec 11, 2006
I'm just trying to change it so that a small line of text appears under each thumbnail. Each line of text is pulled from the XML file and is created using createtextfield. But after a few hours trying to warp the code to get it to work I still haven't gotten anywhere.I've tried many different approaches of attaching these text fields to the mc but no go. These two lines do create a text field for each thumb-but these fields do not scroll with the thumbnails. I'd like these text fields to be inside the "thumbnail_mc" clip so that when the thumbnails scroll the text moves along with it.
////////////////////////////////////////
this.createTextField("price"+k,k,0+(k*150),0,200,2 0);
this["price"+k].text = price[k];
[code]......
View 3 Replies
May 21, 2007
Im using xml photo gallery with thumbnail and right now when i hover th mouse on the left the thumbnail move to the left and same when i hover to the right.instead of moving my cursor left and right I want to put button on both side and if someone click left button, that time the thumbnail will only move.
View 8 Replies
Nov 23, 2008
Anywho im trying to add thumnails to a gallery of mine. Everything works fine untill i put all the symbols in a movieclip. When i do that the scroller stops working but everything else works fine!
The tutorial im working from is: [URL]
And the part of code that is relevant is:
function thumbNailScroller() {
this.createEmptyMovieClip("tscroller", 1000);
scroll_speed = 10;
[code]......
View 2 Replies
Dec 12, 2008
im currently trying to use this script to create a little thumbnail gallery: [URL]first off my main flash file has 2 movie clips in, an empty on which an image will be loaded into and one with a navigation menu on.now within the navigation there is a button which will load an external swf into that same movie clip. This loaded swf contains the "Complex Button" my problem is that i dont know how to (or if it is possible) to use these buttons to load a jpg into the empty movie clip on the main timeline im guessing it has something to do with:
Code:
this.onRelease = function(){
getURL("http://www.kirupa.com","_blank");
}
but i have tried a couple of things and havent been able to work it out as im still a bit of a n00b with actionscript.
View 4 Replies
Aug 20, 2009
I have completed the excellent Flash Thumbnail Gallery Tutorial (and the Picture gallery Tutorial). I have been able to update the dynamic text content, and basically customize the look and feel of the .swf. That works when I upload it to my website.My problem is that neither in Preview mode (via Flash) nor once uploaded to my website can I get my XML file to call my own images up. It will call the tutorial images from Kirupa if I leave them in there.
I have tried to use relative and absolute file paths for the image URL, and neither is working. I even tried using "image ID=" tags inside the node, to no avail. I have an image directory that is a few folders deep, so I tried putting the XML, FLA and SWF (all together) in different places, updating the SWF on my html page, and then republishing. In the place where my image should be, there is nothing.Flash reports an error when I hit CTRL+Enter that it cannot find those particular files.
View 5 Replies
Aug 24, 2009
I've been watching a tutorial on making a thumbnail photo gallery with Flash. Unfortunately the only tutorial I could find that explained everything step by step was for Flash MX and I'm using Flash CS4. It seems that the scripting code is different. I've never written Flash script before. I am trying at this point to give a rollover effect to a thumbnail image, so when the mouse goes over the thumbnail the thumbnail will get brighter. The code given in the tutorial didn't work, but by looking at the debugger messages it seems like the script should be something like:[code]I converted the thumbnail to a button symbol and then created an instance of the button called thumb1. The code is applied to a keyframe.
View 6 Replies
Jun 11, 2008
I'm developing an XML thumbnail photo gallery and haveeverything working out correctly except for the grouping of mythumbnails on the stage. I can only display 9 thumbnail images at atime, and if I have more than 9 in my XML data file I have aproblem. What would be the best way to group my thumbnails in setsof 9? How can I set a limit to the display of these thumbnails ifsay, I have 20 thumbnail images? I was thinking of grouping theinformation into arrays, but is this the only feasible way to go
View 1 Replies
Feb 16, 2009
I am creating a gallery of video thumbnail.Also I am planning to set the frame of video on each thumbnail to first frame of video .When i load a single video,its working. But when i tried to load more than one video on different thumbnail movie clip in a for loop, its not working. This is my live project.can anybody help me.its very urgent. I tried with many possibilities that i know. I am a 3 month experienced flash programmer.
var thumb_nc:NetConnection = new NetConnection();
thumb_nc.connect(null);
for(i=0;i<videoArrLen;i++){
[code]...
The urlArry contains the url of video to be loaded and thumbArry contains the NetStream object for different movieclips.
View 0 Replies
Aug 14, 2009
I've created a scrolling thumbnail gallery that draws images from a blog feed. I would like for it to loop itself after all the thumbs have gone through so the first image of the 2nd loop is immediately after the last image of the 1st loop.
View 6 Replies
Oct 27, 2009
I recently decided I was going to feel my way through Flash and learn it on my own, so here I am. But I need some assistance. I am modifying this tutorial for my needs, but unfortunately the dimensions of the pictures I am using aren't the same as the ones here. I thought the code would still function the same way, but alas.. no. Anyway, is there any way to 'universalize' the code or could someone explain which attributes I would have to alter to fit different image dimensions?
View 0 Replies
Jan 5, 2012
I have parameterised movie clips on the stage. By clicking each one, a thumbnail gallery, that is loaded from an xml file should apear. The problem is that if an xml file has less photos than the previous, the new apear, but the old also maintain. So how can I reset/unload the previous gallery, before the new one apears? [code]...
View 0 Replies
Jan 27, 2004
Here's the situation: I'm making a script that will dynamically load JPG's from a file and will eventually display each JPG's thumbnail them side by side. I've got the code going and would like to know any suggestions for corrections.
[Code]...
View 14 Replies
Sep 21, 2006
So I have an XML thumbnail gallery at >> here << If you click on a gallery, say Travel section under PERSONAL, the thumbs start slightly to the right, yet when you've scrolled all the way to the end and back again it will be in perfect position. Here's the code for entire frame:
Code:
stop();
function loadXML(loaded) {
if (loaded) {
[Code]....
View 1 Replies
Aug 4, 2007
I amusing the great Kirupa Flash gallery and have tweaked it so that I only am using the thumbnail scroll box to link to external html or asp pages.The xml file all loads correctly, though when I pass the "link" to the getURL the output is the entire XML "link" node.[code]
View 11 Replies
Sep 8, 2007
[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); }
View 11 Replies
Dec 3, 2007
I have built a gallery similar to the one found on Kirupa with a siding thumbnail gallery that references xml. Everything works great except that the images I want to load at their large size vary in width so when they load referencing the upper left hand corner they are not centered. I would like to load them so that each image in centered in the "picture" image area. I created a new movie clip and gave it the instance name of "picture" and center justified it but the images now load with THEIR upper left corner in the center of the "picture" image area. do I have to add code to the xml? is there anything I can ad to th AS to load pictures centered?
View 4 Replies
Feb 10, 2008
I believe it's a scoping issue?????
[Code]...
View 1 Replies
Jul 9, 2008
I have a gallery that has two columns of thumbnails but it wont scroll. what can I do?
Code:
function loadXML(loaded) {
if (loaded) {
xmlNode = this.firstChild;
image = [];
description = [];
[Code] .....
View 2 Replies