The problem I have is that I can't make it to work: when I click the next button, the first loaded thumbs go away and the leftovers show up in the grid.
I justt want to show 30 thumbs a time, and in my sample I have extra 5 thumbs, but this could be any number.
I'm trying to build an application that displays randomly thumbnails in a grid, but having problems with the random part. I'm displaying the thumbs in grid like this:
I'm trying to build an application that displays randomly thumbnails in a grid, but having problems with the random part.I'm displaying the thumbs in grid like this:Code: Select all//building a thumbnail container for each one of the projects from the library
var thumbContainerMisc_mc:ThumbContainer = new ThumbContainer(); thumbContainerMisc_mc.x = (200+1) * x_counterMisc; //setting the thumbnail x thumbContainerMisc_mc.y = (200+1) * y_counterMisc; //setting the thumbnail y
I've built an xml gallery with thumbnails only, layed out in a grid, and am trying to link each thumb to a centered popup. I'm getting a centered popup when clicking the image, but instead of the page loading inside, I'm getting an error message: Not Found. The requested URL /tas-dp_new/undefined was not found on this server.Here is my actionscript:
looking for a script that loads 6 logo image thumbs into a grid (randomly from folder), with each thumb having a rollover image and link.. Basically the logo area on this page : have about 30 client logos in greyscale ( and colour version for rollover), and need to randomly load 6 logos at a time (or random individually) on a timer. oN RollOver .. loads colour version of logo with link node in XML Something like...
[Code]...
on how to edit my FLA to get it to do this? / source out there you know of? ( My AS skills are not that hot compared with design skills)
I was working with the XML Photo Gallery Thumbnail Tutorial on this site: http:[url]....
And I modified it for my own usage, making it a vertical gallery instead, and had no problems until I came upon the thumbnail images. When I replaced the original thumbs with my new thumbs (that I sized based on width, as it is a vertical gallery) it got all screwed up. The images are of all different shapes. So when it loads up, some of them had huge gaps in between them, and others were even overlapping. So I fixed it by making the heights of all the images the same, resulting in a working thumb gallery, but now half my thumbs are cropped off by the mask. I'm looking for a way to fix it where I still have the same spacing between the images, and that they are all the same width, but can vary in their height. Here's the section of the code I am using:
function thumbNailScroller() { // thumbnail code! this.createEmptyMovieClip("tscroller", 1000);[code]....
I'm also trouble figuring something out from the same tutorial, that I want to change. The tutorial uses these "Next" and "Previous" buttons. On the far right hand side, the half-circle buttons are what I assigned this to, but I don't really want them to have that function. I would rather have them function just like how the mouse functions when it rolls over the thumb gallery, except they scroll the thumbs up and down when clicked.
I have been able to customize the adding thumbnails tutorial to meet my needs but I have one remaining issue. I have gotten some suggestions from some people on here to try and help me fix this but I can not get it to work.I have tried on my own and I am unable to get it to work. The thumbnails are loading in reverse order from they way they are listed in the XML file or when I simulate download the thumbs load randomly. Is there a way to force them to load in the order they are listed in the XML file?[code]
I dont know if i have seen this somewhere or i imagined it but if you have a gallery of some sort and lets say your thumbnails are sequenced in one line from left side of the screen to right.
At the beginning, when you are loading the page first time, and all thumbs have to load one by one, with preloader or not -> is it possible to control thumb loading order, so that they load from left to right, and not appearing by some random sequence...
I dont know if i have described it well, but maybe somebody understood me
I'm loading several thumbs of a XML gallery in sequence, one after another, in the _x coordinates. The problem is that the thumbs do no have all the same _width, so they create some empty spaces between them if I set a distance. how can I set a distance of 5 pixels between the thumbs, no mather the width they have?
I'm trying to do something a little crazy from what it seems here, I have a carousel that I am modifying to have thumbnail images added to dynamically from an XML file. Now me being the practical persona I am I did NOT want to make little images for each picture in the gallery so I used a neat little class from a blog called soulwire
[URL]
the class lets me use the bitmap properties of flash to fit a copy of my image into the thumbnail are for my carousel Icons, later I will use the same info to click and show the large image for each of these icons.
My problem is that I can get it to work but only the last generated MovieClip gets an image, and it's not even the correct one. it gets image #2 in clip #5.
It seems as though my Event.COMPLETE for my loader is not firing for each image, if it is I'm not sure why I'm just getting the image in 1 icon.
I am loading thumbs from an xml file and placing them into one container (sprite), which i later use for scrolling based on mouse position with this formula:
Okay my problem is i cant work out how to load them into a 5 x 4 grid, with a 10 px gap between them, is this possible? How can i acheive this all through Action Script?
I am new to AS3, I am creating a gallery and stuck on a place. [URL]. Requirements: 1.) Need a nice loop for loading all thumbs, most important it should be physically separated, should not be looped via code. 2.) When I click on 1st button I must load first 4 thumbnails (which is already loaded), and with 2nd button it must load next 4 thumbnails from xml file, similarly with 3rd.
I'm currently working with the OLAPDataGrid component and got stuck at a relatively simple task: I want to style the last row of the grid differently from the rest, so my cell item renderer needs to know whether he's rendering the last row with content in the overall grid, including those rows currently not rendered because they are outside the visible grid space. AdvancedGridListData's rowIndex property only gets me the row index of the renderer relative to the range of visible grid rows, i.e. when I scroll down the grid, a data item with an index greater than 0 gets the rpw index = 0.
I need to create a simple multiplication grid where children will fill the grid. Its an empty grid at the begining, when they start the time start as well.Its a grid of 10 x 10. when they enter the last number, the grid should show what they did wrong and the time they spend. It's an idea of how it could work but if anyone has something that looks like this.
I want to make a square grid of fixed side length but varying grid number using code.That is, the number of grids should be specified by the user (say 3*3) and after pressing a button, the stage should be broken into 3*3 grids.I don't want any code, just a method on how to do it. I have tried it by using simple loops but the method just fails for no reason I can figure.
Whenever I add paddingRight to a column in the flex grid, it adds the padding to the header as well.Is anyone familiar with how I can add paddingRight just to the column and not to the header? Below is the column code where I was specifying the padding.
I really like the thumbnail gallery for its simplicity and beauty. But I would like to ad or vertical scroller (I'm unable to find it here too, maybe I'm blind, just I'm more at the end of my seeking options) or a make a grid thumbnails, that will show 2 columns of thumbs and 5 pictures in each columns, then under the 2 columns i would like to ad a sort of arrow or button that if my gallery have more then 10 pictures it will go on the next thumbnail list. I'm not looking for any extra fading effects or special movements. Just would love to have a single thumbnail grid on side, with option to have lists of thumbnails by 10 if there is more then 10 pictures or so.
I have a mx:Grid component in my flex application. But I would like to resize it by clicking and dragging in the border. This component doesn't allow doing that.I want to put a panel in each gridItem of this Grid component and resize it.
I'm building a small editor that allows users to place electrical components onto a grid so that they can see how electricity works. I have built a grid using an array and for loops and attach movieclips dynamically to that grid. What I want the moviclips to do is to look in the four spaces either side of itself i.e. up, down,left and right.I have managed to pull the grid coordinates out of the grid which enables me to tell the clip which grid space to look at but have been unable to successfully get the code to work.Here is my code:
I'm trying to code the snap to grid functionality. The dragged object should snap to the grid if the distance between the object bounds and a grid line is less than 5px. I found a way to do it if the object's rotation is 0 but it doesn't work if I rotate the object. I need a different approach. Can you point me into the right direction with the algorythm or any source code?
I am trying to create a puzzle like game (a chinese puzzle game called tangram). I am wondering what kind of functions should I use to create a "triangular" grid i.e. something similar to this ?[URL] What should I do to make the movie clips to perform the "snap to grid" effect to this grid?I have tried to draw my own grid and used the "cacheAsBitmap" function to implent it, however it doesnt seems to be working.
I am a newbie in flash and I am trying to create a puzzle like game. I am wondering what kind of functions should I use to create a "triangular" grid i.e. something similar to this ? [url]... What should I do to make the movie clips to perform the "snap to grid" effect to this grid?I have tried to draw my own grid and used the "cacheAsBitmap" function to implent it, however it doesn't seems to be working.
I'm trying to dynamically draw out an isometric grid but I'm hitting a few problems, currently I'm using a matrix transformation to get the grid to look more isometric that tile based but it has it's problems so I want to add the grid with out using the matrix transformations. currently I have..
[Code]....
I tried to draw it out using Sin ,Cos and Tan functions to try to set the coordinates but it didn't behave like I had expected,
I'm trying to get each of my thumbs to load an individual picture but I can't seem to get it working. I have this script that has a trace for each thumb but I don't know how to actually get the thumb images to load individual pictures.I've tried using:img1.onRelease = function() { as a way of talking to each of my thumb pictures but it doesn't work.
Just want to put the thumbnails in a movie clip.Not any thumbs are appearing, there is a mc on stage, there are images and thumbs, there is a xml_file�
Code: var gallery_xml = new XML(); gallery_xml.ignoreWhite = true; gallery_xml.onLoad = function(ok) {[code]...
I am attempting to run the XML Photo Gallery with Thumbnails from the tutorial, but contained within an empty movie clip of another swf. I've been trying to rebuild my website in Flash and I was attempting to utilize this external gallery to keep the file size down. The Test Movie of the thumbnail_initial.swf works perfectly on its own, but the thumbnails no longer scroll when I test the website.swf that I have loaded thumbnail_initial into. I created an empty movie clip (analog_mc) and placed it where I want the gallery to load. On the page containing analog_mc (timeline path is Scene1 / siteContent / analogFrame), I have tried both of the following code in the actions layer:
analog_mc.loadMovie("thumbnail_initial.swf"); and loadMovie("thumbnail_initial.swf", analog_mc);
I get the same result with either: the gallery loads correctly where I've placed the analog_mc empty movie clip, the first three thumbs appear across the bottom, the Previous and Next buttons function, but the thumbnails do not scroll. I am using Flash CS3 on Vista, my AS skills are elementary as well as my XML.