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.
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 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:
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.
how to make a custom hslider in Flex 4 (spark) with two thumbs? Since Flex 4 the thumbcount property of the slider component isn't longer available (at the mx component it was easily to set). I have to style the track and the thumbs.
I have a master movie clip with a movie clip embedded. This is to create a photo gallery. With in the master movie clip I have "buttons" or thumb nails of pictures to be displayed from the embedded movie clip (which are the pictures). I can't seem to get the thumbs to call on the frames where I want the movie motion tween to start to show a picture (the tween is to give the effect of fading in). Below is the code that I have (note that for the same buttons I have added some effect when the mouse rolls over and out of the thumb so disregard that part of the code)..
n somebody point me to a tutorial in AS2 for making an autoscrolling bar which contains thumbs. It should scroll very fluidly on mouseposition. I have no idea how to create this.
I want to load YouTube video thumbnails in my as3 project, i have tried to load via :[URL], but it works in local good, however when i upload it to my website it doesnt load thumbs. is there an api that i can use to load thumbnails? i am using TubeLoc to load videos, but i didnt find a function to load thumbs in this api.
I'm using the code below to create a simple gallery of thumbs in a line with space between each thumbnail.[code]I have a rollover/out function that scales up/down the thumb outwards from the centre of the thumb.I was expecting the scaling thumbnail to "push" the other thumbnails left and right as it scaled...but it only shifts the thumbs to the right of it and the thumbs to the left do not move.I need code to allow a scaling thumbnail to push aside the other thumbs in every direction.
I'm using the code below to create a simple gallery of thumbs in a line with space between each thumbnail.
ActionScript Code: onEnterFrame = function () { for (projIdx = 0; projIdx < projectsArray.length; projIdx++) { //space between photoThumbs
[Code].....
I have a rollover/out function that scales up/down the thumb outwards from the centre of the thumb.
I was expecting the scaling thumbnail to "push" the other thumbnails left and right as it scaled...but it only shifts the thumbs to the right of it and the thumbs to the left do not move.
Imagine a 3 thumbnails in a horizontal line, I want the middle thumbnail (thumbnail 2) to scale from the centre and push thumbnail 1 to the left and thumbnail 3 to the right. But obviously I want this to work for x amount of thumbs.
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 make a photo gallery but when i try to scale them, i get this distortions in the thumbs. i try to find how to fix this problem, searching in google, i found that i have to convert them to bitmap, but i can't make it work.
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 have created this XML image viewer from multiple sources and Scotty's help . I have run into a problem where my thumbnails I load are quite large .swfs...and I need to preload them all until I run the grid_maker_01 function to display them. I have tried many things...but still am having a problem. I need to preload all the thumbs first, THEN display them.
how to preload all the thumbnails and the first picture from an XML.
i figure it would be something like this place all thumbnails into a holder(thumbnail_mc) and getBytesTotal() and getBytesLoaded() then getBytesTotal() and getBytesLoaded() of the first picture which is in it's own holder(image_mc)add the getBytesTotal() together add the getBytesLoaded() together then create preloader from these
I am placing thumbs on the stage in a grid and i have few categories of thumbs, by default first category loads, and then you can choose between other categories.
in this case, removing preloader on line 91 causes an error, but preloader is there, i can trace it just fine (and like i said, it works (no error) when i dont simulate download, or wait for all the thumbs to load before switching to next category, so the code must be right)
i, am building an portfolio site and i have come a long way (still a beginner) but now i found an problem. After i load xml file for paths to portfolio assets i load actual jpg's and/or swf's. But i am stuck since i do not understand how to implement padding so thumbs will be spaced evenly.[code]but than how to position first thumb?
im doing a flash gallery following a tutorial of oman3d for a website im doing, and im looking the way for adding to the thumbs a space between them but i dont know how to do them .. here's the code
I'm working on AIR app, that makes different operations with local files and i need to display thumbs for selected video files (for example 1st frame). How can i do that for .avi, .flv, and .mp4 files?
this has to be an array, so that I can give all thumbnails together an order. I thought this was an array, but I can't get control over this. When I trace 'thumbHolder', I get back only the last thumb. If I trace 'this', than I get the right one. i.e:
_level0.thumbnails.thumbnail4) */ thumbHolder._y = i * spacing; thumbHolder.title = picHolder.attributes.title;[code].....