ActionScript 2.0 :: Controlling X & Y Of Thumbnails With XML?
Mar 23, 2006
I'm using a modified version of the Thumbnail Photo Gallery. What I need to do is to be able to control the X & Y of each thumbnail based on the numbers in an XML document.
Haven't been here for a while and I'm really rusty using Flash. I looking for a tutorial or some information on how to scroll thumbnails by scrolling the mouse left or right over the thumbnails.
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?
I've got a website with three links to three different thumbnail galleries. When I click the link to a gallery that has a lesser number of thumbnails, it fills the difference in numbers in with thumbnails from the previous gallery.
I want to read thumnails from xml into clip miniatury_mc... and move them with easing up and down after prsssing up arrow or down arrow... everything looks nice but I don't know how to loop clip miniatury_mc the reference clip to mine is on site[URL]..
I am very much new to the photography game and even newer to building a website, for which I have been staring at my computer for hours upon end. So in the end I decided to spend a few bucks and splash out on a template from [url]... but now I am struggling with the small thumbnails on the main page. I was wondering how can I change them so that I can either have thumbnails of some form of significance rather than some randomness. You will see what I mean when you get to the website. (Its still a work in progress if that!!)
I had given up on this website until I came across this forum. I had started on making sliding thumbnails with a gallery. Is there anyway of incorporating this on the website? I really like [url]...website and wondering if if there is a tutorial out there to make something similar since I have done the gallery and slide thumbnail..i just have no clue how to get the photo on the first page and the writing etc.
I'm having some issues with a thumbnails scroll that I found in another forum. I was able to modify it to fit my needs, but now I want to incorporate a interval that plays my next image without having to click on the buttons. I have tried several methods but nothing seems to work. here is the code:
descriptions=true; alert._visible=false; var ease = 5;
I have a movieclip with a scroll pane. also a mc which i named a class with a 'delete' button and an image holder inside it. (linked as chosen_thumb_mc)For some reason, the thumbnails are not loading? I cant find out why because it says the code is correct.... Can anyone see what is wrong with my code?
I have downloaded a dynamic gallery from flashkit. I have tried to modify but cant. What i need to do is to get the thumbnails to appear 3 in a row, then the next one i loaded in a row under. When say 2 rows are loaded the scroller appears. In the gallery alla pics are loaded in one row. This shouldnt be a problem for you actionscipters
Below is my code for an XML AS3 video player with thumbnails. My question is how can I get the thumbnails to be scrollable if I have more that 3 thumbs without enlarging my stage area?[code]
I'm building a site with flash (obviously) and it has multiple pages, now on one of these pages i wanted a scrolling menu with thumbnails that when you click them they take you to another page, but I'm not quite sure how to go about it. The methods I already tried haven't worked.
I need to develop a scrolling image bar, I have never ever used a 'scroll bar' in flash. What it needs to do is have around 10 thumbnail images, that you can scroll left to right to, then when you click the image enlarges?
I am trying to fallow this awesome tutorial but I keep getting stuck on this one part. Here is the link for the video
[url]...I am able to do everything fine until the part where you make the thumbnails scroll and stop when the mouse is over them. Mine does not move at all. I feel like I am doing everything he says but still I can not figure it out.
I'm trying to get some thumbnails to appear depending on where I pause in a video. It works fine when I do not use rtmp - but I get a 2132 error when I try and do the same over rtmp.
I've read up a bit and it seems that I need to allow video sample access. So I tried the following code, but had no luck:
nc = new NetConnection();nc.client = this.client;nc.connect("rtmp://theserver.com/vod/_definst"); nc.client.videoSampleAccess = "publicdomain";
I am trying to create an image gallery similar to Androids "Gallery" where it is a horizontal scrolling list of images. I am doing this with an HBox and Bitmap objects wrapped in a UIComponent. The problem is I am trying to do this for mobile and having many full size images open in memory causes problems. I have been trying to have the images load right as they are scrolling into view and unload once they are out of view, but the loading/unloading while scrolling requires too much cpu and causes a very choppy and poor UI. What I am looking to do is be able to load several low quality versions of the images in memory so I dont have to do as much loading/unloading. I have tried decreasing the height/width but it dosnt seem to have an effect on memory usage.
I have created a gallery in flash and the thumbnails load and scroll perfectly, the only problem I'm getting is I can't click on the thumbnails. I have made a function which is supposed to trace the word 'clicked' when I press the loaded thumbnail, but for some reason it doesn't work.[code]
I have also endeavoured to make my first XML slideshow & thumbnail slider and I am faced with a preloading problem....ie how do I preload my thumbnails???I have successfully loaded them as follows:
Code: var urlRequest:URLRequest = new URLRequest("slideshow.xml"); var urlLoader:URLLoader = new URLLoader();
just watched Lee Brimelow's how to create a scrolling panel of thumbnails. I have no questions regarding the panel, but, rather, how do I add a link to each image of the scroll; so, when the user clicks one, a popup or new page opens showing not the thumbnail he clicked, but the real size image?
I've searched the forums and seen topics on how to stop the audio playing from a video when you navigate somewhere else. However none of these solutions seem to work for me.
I have my buttons on the root timeline, and all my pages are seperate movie clips which are added to the timeline with labels. I tried the [code]...
but i also have audio streaming on the whole site so when i navigate to a page the audio stops. I'm not sure what else to try.
I've made up a mock gallery using the standard xml and AS coding (not too dissimilar to the Kirupa gallery tutorial) which is all fine and dandy. The new fwa website (here) pages the thumbnails with respect to stage height and width (with the holder area being a proportion of the total stage area). I have been able to set up a Stage.onResize function so that a potential holder mc will vary in size as the stage is dragged around.I'm not sure how to go about actually getting the thumbnail images (or any loaded data) to list depending on how large the holder is. In truth I'm not sure where to start. Am I on the right track using a holder clip to load into and set up a switch statement that assesses the holder width with respect to the width of thumbnail loading in or am I on completely the wrong tack and should be looking at using a datagrid?
I was going through the tutorial on 'XML image gallery with thumbnails' and it was introduced with the thumbnails listed on sidescroll.What if I require the thumbnails to be displayed in 8 per row, 5 columns and whenever thumbnails > 40 it will auto scroll down ? which part of the code I need to change ?
how to create a thumbnail photo gallery, it's been a great help. I've modified it slightly by using a vertical thumbnail bar and everything works fine when I test the SWF itself. However, as I load that SWF into my main site (all in flash, no html), the scrolling doesn't work.
I am building a dynamic thumbnail gallery, where each image links to a fullsize version. (Sounds simple so far, but wait!) The thumbnails are created dynamically - an xml document provides the image path and description. I create a movie clip for each one on the fly, then load the appropriate image into it.
My problem is when I try to convert each movieclip into a button which loads the fullsize image. Each button loads the same image- the last one in my xml document. If I try placing "img[i]" inside the onRelease function, it comes up undefined. Here's that bit of code:
var thisimage=img[i]; eval("thumbnail"+i).onRelease = function() { // do something loadMovie (thisimage,_parent.emptyclip); }
And here is all the actionscript:
var xpos=0; function loadXML(loaded) { if (loaded) {
What is the most efficient method for displaying dynamically loaded thumbnails in a grid? I have 29 thumbs and would like to display them in three or four rows by three or four columns and have them scroll/ slide left and rightuld make this happen? No fancy flyins, rollover effects or any other bells and whistles. Just thumbnails on a grid that can move left and right.
Stuck trying to get a pretty simple thumbnail gallery to work: Basically it's just a movieclip of horizontal thumbnails (50 in total, masked so only 10 are shown at a time) with a left and right arrow on the sides, which when clicked should make the thumbs smoothly shift left or right to display the next or previous 10 thumbs (fixed at 1-10, 11-20, 21-30, 31-40, 41-50). They should smoothly ease into place, and the left and right buttons should disable when you reach the left or right limit Is there a simple way of doing this?
I am loading a few thumbnails from XML.When they load in, I want them to perform a few simple functions.However, when I load them in, Only the LAST thumbnail takes the onLoadInit() function.
Code: function AttachThumbs(xmlData) { xmlNode = xmlData.firstChild.childNodes; var total:Number = xmlNode.length;
[code]....
It's as if I need to create multiple loadListener objects.. one for each thumbnail, but I dont know how to do that when declaring a variable .. ie: one cant say:
I'm working in a photogallery inside a mc (ex. movie>menu>gallery). There are 6 thumbnails in this gallery and I would need this: clicking on a tb i would open the bigger image in a mc in the root with alpha effect (fade in). I started using this code: