IDE :: Adding Thumbnails - Moving The Scroller?
Mar 19, 2009
I am using the Kirupa gallery with thumbnail scroller - which is a FANTASTIC gallery system!
I want to move the scroller but when its moved further right...the scroller stops working. I can move it up and down on the stage, but once it goes a certain distance to the right the thumbnails do not load.
I also shortened the mask to about 160 px so it only shows 3 thumbnails of my pictures.
Here is a link to my FLA file: [URL]
How can I get this to work? Why wont the thumbnails load once the scroller moves a bit further to the right!
View 1 Replies
Similar Posts:
Jan 19, 2010
I used the tutorial "Adding Thumbnails" to build a fotoshow. Adding another xml-file I have the problem,that I cannot reload(?) the thumbnails correctly.[code]Then I do not see any thumbnails,if(!) the new thumbnail list contains fewer elements than the old one and if the old thumbnail list was scrolled over the hit_right field before.It is seemingly necessary to reset the internal state of the movieclip. But how can I accompish that?
View 1 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
Apr 3, 2008
I've got 3 pages each with their own portfolio loaded dynamically from an XML file. Everything is working great with the thumbnails i added using the "adding thumbnail" tutorial. There's only one quirk I can't figure out. If you've scrolled to the end of the thumbnails on the first portfolio, the scroller stays in the same place when you go to the next portfolio rather than reloading back at the beginning. I hope that makes sense because it's hard to explain, but the site is [URL] here's the partial code for the thumbnails...
[Code]...
View 1 Replies
Jan 11, 2007
I've stumbled across a very interesting tutorialBut, I've noticed a little detail. When you click on the big image of the finished example on the first page of tutorial, it acts like a link. When I have downloaded finished .fla source, links are nicely written in the images.xml file, but the links in the .fla file don't work.
View 2 Replies
Feb 16, 2006
i am making a scroller and need to have it so that when you hover on the up or down buttons, then it will keep moving the designated layer up or down. right now the event handler i am usiing (onRollOver) doesnt really work right because it only moves one pixel, then you need to roll off and roll back on.... i am thinking there must be some do... while statement for the rollover action but i cant find it...
View 7 Replies
Mar 9, 2010
I would like to position relatively a scroller in my application like below.When I scale the image, I resize the scroller...
<s:Scroller width="50%" height="50%" >
<s:Group>
<mx:Image
[code].....
View 2 Replies
Jun 20, 2009
So i've got this panel scoller thingy, problem is i can't figure out what term is need to add a third MC.here's the code.
Code:
function createNewPanel():void {
for (var i:int = 0; i< 2; i++) {
[code]........
View 1 Replies
Dec 12, 2005
Work wants me to create to a scroller like the one I've attached but with an elastic efftect to it.I've looked at some others examples and some tutorials but was somewhat lost so I just sat down and tried coming up with a ghetto way. I the very basics done but im wondering if there's a much better way of doing this especially if I wish to do some easing.
View 4 Replies
Nov 20, 2009
How do I add a UI scroller bar to an existing drop down menu which I created using buttons?
I tried to insert an UI SCROLLER bar. but it didn't work. I'm using the folowing code in the Main button. I need the drop down menu to appear with the scroller. on(rollOver){ contactmenu.play();}
View 1 Replies
Feb 9, 2009
I tried to add some thumbnails attributes to list component,i was using the xml vidlist however i was unsuccesfull.i thought just adding another attribute would work but it didnt .am i suppose to make an image holder i am sorta lost at this point
Code: Select allvar vlist:XML = new XML();
vlist.ignoreWhite = true;
vlist.onLoad = function() {[code].........
View 5 Replies
Sep 20, 2006
im already read almost of the tutorial in how to create a XML Photogallery but it seems i cant find solution to my problem on "how to put a link on the thumbnail?" im creating a different style of gallery.. i only put the scrolling thumbnail area in my index page like a image scroller via XML. im new to XML thats why i cant still figure out how to put the link and pull it in the AS when the certain image is click..
View 3 Replies
Jun 5, 2007
I was adding the thumbnail gallery to my website, but the rollover to scroll through the thumbnails must is offset somewhere. I would like to just add left and right buttons to scroll if possible.http:[url]......
View 1 Replies
Jul 6, 2008
i have been able to customize this tutorial for my needs but i am still having one problem with the thumbnails. Unlike in the tutorial i have thumbnail that are two different sizes. most of them are 100 pixals wide but some are 75 and when they are different sizes like that it screws it up...they overlap or leave big gaps between thumbs.
below you can find the code i am using. the line of code that places the thumbs in there position is
target_mc._x = hit_left._x+(target_mc._width+5)*k;
i was able to stop the thumbs from over laping by replacing target_mc._width with 100 but that doesnt fix the big gaps between the images that are 75 wide.
function loadXML(loaded) {
if (loaded) {
xmlNode = this.firstChild;
image = [];
[code]....
View 4 Replies
Feb 12, 2011
I have a .fla which loads thumb nails and when clicked shows the large image. It all works fine. I would like to have a reflection for each thumb how would I go about doing this, or how would amend my code to add the reflection.
Code:
var holder:thumbNail = new thumbNail();
var thumb:Loader;
var container:MovieClip = new MovieClip();
[code]...
View 3 Replies
Aug 11, 2006
I have built a thumbnail gallery based on the tutorial on this site. It works great, but I'm having trouble with my thumbnails loading in order.I am calling images from an xml file, and placing them in a horizontal scrollbar. All of my thumbnails are different widths. Therefore, I need to be able to get the width of each thumbnail to position it in relation to the one before it and so on. Because of this, I'm using onLoadInit to position the images. Now, this creates a random horizontal order, based on how fast they load on the user's computer, not on their order in the xml file. I would use onLoadStart or onLoadComplete, as this would call them in that order, but the width is not available at this point in the loading, so they pile on top of each other.
View 5 Replies
Aug 29, 2007
I used this code, from "Creating Websites for Dummies" to create a video playlist. The only problem is that it (the book) doesnt show how to load descriptions for the video thumbnails (saying the title etc...of the video). I cant work out how to attach a dynamic text field to each thumbnail that reads its description from an xml file, can anyone give me some pointers or explain how this is done? I've been stuck on this for a few days now and i cant work it out..
in the code below 'main' refers to an attribute in teh xml file.
Code:
ar nc:NetConnection = new NetConnection();
nc.connect(null);
var ns:NetStream = new NetStream(nc);
[Code].....
View 1 Replies
Jan 19, 2011
I am trying to add a mask to my xml thumbnails, I have managed to get the mask working but only on the first image...
Here is my thumbloaded function:
Code:
function thumbLoaded(e:Event):void {
var my_thumb:Loader = Loader(e.target.loader);
var sprite:Sprite = new Sprite();
[Code].....
View 1 Replies
Feb 11, 2006
There is this great tutorial here on kirupa where you add thumbnails to a XMLNow, everything works fine with horizontal pictures, but when i add vertical images the thumbs positions gets messed up. now, what i want to do is when it loads the thumbnails it should get the width of the previous thumbnail and position the next thumbnail right after it plus 5 pixels, then everything should work nicely. (I've already fixed how the big image gets positioned with horizontal/vertical images,If someone can point me in to right direction where the positioning of the thumbs are being made, then maybe i can fix it myself.
// EDIT
target_mc._x = hit_left._x+(eval("thumbnail_mc.t"+k)._width+5)*k;
View 1 Replies
Sep 14, 2006
I've been working on Kirupa's adding thumbnails to the XML photo gallery. I've managed to change the scroller to one that is vertical and reposition it to where I wanted it and everything works fine. urrently the code accounts for when the mouse moves (on the horizontal) to the left or right of the thumbnail container to stop scrolling. However when the mouse moves up and down to scroll (on the vertical) it continues to scroll even though the mouse has moved outside the container area. I'd like for it to only scroll when the mouse is within the 30 pixel - hit_left/right boudaries.
Here's the code, as you can see the changes have been very little from the original.
[Code]...
View 1 Replies
Apr 7, 2007
This question has probably been asked a number of times in this forum. I searched and searched, read every reply, but there is nothing satisfactory posted till now. I tried out all solutions posted, but almost every implementation was incomplete. So, here is my question: In the xml photogallery tutorial, if I want to have a border around a thumbnail (which is dynamically loaded), how do I do that?
[Code]....
View 6 Replies
Oct 1, 2007
I made a xml gallery using kirupa's xml gallery tutorial and then i added thumbnails.It all works fine.Although i managed to have the jpg's loaded fullscreen i dont know how to use smoothing for the resize of the movieclip container. I have a code that resizes the movieclip to the dimensions of the stage onresize function.I'm trying to put in the code an attachBitmap function so i can have it with smoothing to true. But i haven't managed how yet.[code]
View 2 Replies
Jul 8, 2008
i have been able to customize this tutorial to meet my needs but i have one remailing issue. The thumbnails are loading in reverse order from they way they are listed in the XML file or random order. Is there a way to force them to load in the order they are listed in the XML file?
[Code]...
View 3 Replies
Oct 14, 2008
This seems like it should be part of the "Adding Thumbnails" - the large images are align to the left when they load. So when you have landscape and portrait orientation images, they should horizontally align to center, not to the left.
View 4 Replies
Jul 9, 2007
I have been following all the wonderful tutorials in this forum to learn about AS and flash. This time I tried to combine 2 tutorials and make a text field with external loaded text and custom scroller button, but I failed.....
I tried to look for different tutorials to find the answer, but It didn't work out either...
View 1 Replies
Aug 15, 2009
ive built it based off of an example we made in class last year that i had lying around..
as you can see here everything works fine.
The only problem is I want to add some roll over effects to the thumbnail but im not sure how to go about this as they are all dynamically added to the stage..
The way I tried was adding an event listener to each thumb via the function that adds the thumbs to the stage (see the "createThumbs()" function below). The event listener works fine and calls to the function i assigned to it ("thumbRoll") but im not sure what to put in this function to effect the thumb that is moused over as im unable to access "btn_thumb" from "thumbRoll".
ps. sorry if the code is a bit messy, bit of an experiment for me to get everything working..
gallery.as
ActionScript Code:
package{
//imports go here
import flash.display.*;
[Code]....
View 6 Replies
Nov 6, 2006
I have been using the tutorial on the Photo Slideshow Using XML and Flash, and think it is fantastic. It is really clear and easy to follow. However I have encoutered three things with it. Firstly I would love to be able to add a border around each thumbnail accross the bottom, that would change color when the user rolls over the thumbnail.I would also like to be able to highlight which thumbnail is currently being shown as the top image.The third issue I have had is when a user moves the mouse to the right of the first image, it scrolls about 5 pixels to the right even though there is no other image before it.
View 1 Replies
May 25, 2007
[URL]
Basically i want to have Album categories the same way the thumbnails work so their is a mask limiting 4 categories on screen and when you click < or > arrows next to the categories it shows the next 4 categories that you would be able to choose from.
Then I would want it to load whatever category you selected into the thumbnails and the larger pic.
Does anyone know how to do this ? Or if their is another tutorial that would show me how to add categories into something like a gallery with thumbnails?
Apologies for being stupid and the poor grammar I've been searching everywhere to find out how i can add in some categories and still have it linked to the thumbnail scroller and larger images, but i haven't found any luck at all I just want it so you could add in as many thumbs and categories as you wanted and have those masked and scrollable rather then a dropdown.
I paid for some silly pdfs to explain it better to me but they did it in a way that I didn't like and turned out just to be a waste of money. Learnt my lesson and signed up here to ask the pros! I want to create something that can be updated from just an xml file.
View 4 Replies
Jan 30, 2009
I'm going to be building a site for a photographer and would like to be able to do something like the thumbnail navigation in this example: [URL] I'm assuming it's adding the thumbnails to the Display Object via an array based on an external XML file, and displaying them once their corresponding full-size images are loaded ... Perhaps it's building the nav simply by looking to see how many photos there are in a folder on the server (i.e. no discreet XML added for each shot). Not sure if this idea is even possible -- would like to hear from any of you if in fact it is.
View 0 Replies
Jul 5, 2010
I am trying to add text to a moving movie clip. So what I have done is double clicked on the movie clip to go into it. I then added an actions layer and added this code.
var tf1:TextField;
function fontLoaded1(e:Event) {
tf1 = new TextField();
tf1.width=100;
tf1.height=60;
tf1.autoSize=TextFieldAutoSize.CENTER;
[Code] .....
As of yet, nothing is displaying on the movieclip. I don't get any errors. I have used the this keyword aswell, but still nothing.
View 7 Replies