ActionScript 2.0 :: Adding A Row To A Dynamic Thumbnail Grid

Jan 3, 2008

I'm trying to add a new row to dynamically created thumbnail grid. So far I've copied and edited a BrainGiants PhotoDrop menu script and managed to add an new row there with a nested for loop, but the thumbnails on the new row won't show right. There's just one thumb showing, I guess the rest of the thumbs are beneath the one showing..I'm messing up the for loop somehow, but can't get a hold of it.. I know all the thumbs load fine cus I've tried to load them to just one row and all of them showed up properly.

[Code]....

View 1 Replies


Similar Posts:


ActionScript 2.0 :: Grid Thumbnail With Dynamic Grid Lists

Mar 19, 2007

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.

View 14 Replies

ActionScript 2.0 :: XML Thumbnail Grid?

Feb 4, 2010

i have a grid of thumbnails (i loop through an xml file to create and display) this is working perfectly.I can trace out click commands on the MCs and load in an image just as you'd want to.I load the image into a thumbMC i created with some additional symbols in...Then i started thinking, it would be nice to have some kind of preloader for each image/thumbnail.I've implemented a MovieClipLoader and this is quite happily loading in the images and reporting when the load is complete, however i am completely unable to target my preloader symbols within this function, so am unable to either control the width of a loadbar, and also show/hide a loadLoop while the image loads.

View 0 Replies

ActionScript 2.0 :: Thumbnail Grid For Xml Gallery?

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

ActionScript 2.0 :: XML Gallery With Thumbnail Grid That Scrolls

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

ActionScript 2.0 :: Removing Persistent XML Thumbnail Grid?

Jun 17, 2010

I have a question regarding the following tutorial and an older (inactive?) forum thread based around it:

Adding Thumbnails Tutorial XML and Flash Photo gallery with thumbnails in a grid (2006 - 2009)

I have multiple pages, several with thumbnail galleries, and several without. On the pages with the galleries, everything appears to render correctly. However, when I go from a gallery page to a page without a gallery, the thumbnails don't disappear. Instead, they remain on top of that page's content.

How do I get rid of the thumbnail gallery on non-gallery pages?

Code for the galleries:

Code:
cliparray = [];
columns = 3;
spacex = 100;

[Code]....

View 1 Replies

ActionScript 3.0 :: Creating A Thumbnail Gallery (Portfolio Grid)?

Jun 27, 2010

how to create a xml photo gallery but somehow all of them doesn�t discuss what i need to know. [code].....Especially i am interested in howto structure the xml for such an portfolio / gallery grid and having custom tweening for the thumbs to transition in and transition out, handling the click event for x thumb and loading the "big" content to a new container. Adding preview/next button functionallity to the Thumbnail Grid and for each "big" content and so on.

View 1 Replies

IDE :: Flash 8 Grid Layout Effects For Thumbnail Gallery

Oct 22, 2005

I was looking for a way to make different grid layouts for xml loaded jpg thumbs, so I read and applied a lot of the tutorials and posts about galleries, xml, thumbs and grids around here. Some of the script I used comes from Kirupa's adding thumbs tutorial. I also applied the concept in Creating Grids with Flash/AS. The result is attached here. A lot of the parameters, like row and column numbers and scaling of the thumbs,spacing, alpha, rotation, etc, can be changed easily in the script. Also, the idea is that you could write different prototype functions to get different grid layouts effects.

View 14 Replies

ActionScript 2.0 :: Setting-up Thumbnail Grid Load Order?

Oct 2, 2006

I am trying to get my thumnails to load in rows, 22 across, and up to 3 rows down. However, I can't seem to get my math right. I can get them to load up and down 3 rows, but not across first. Can anyone explain the math required to accomplish this?

View 4 Replies

ActionScript 3.0 :: Reducing Columns In Thumbnail Grid When Stage Is Resized

May 30, 2011

I'm trying to achieve a thumbnail gallery which basically reduces it number of columns (and increases number of rows) when the stage is being resized down.The columns number as default 5, but after resizing down the stage this number is calculated like this:[code]My question is how can I reorder the the columns and rows from the onStageResize function.[code]

View 4 Replies

ActionScript 2.0 :: Flash 8 Grid Layout Thumbnail Positioning/movement?

Jan 2, 2006

I am working on my very first flash application and have found these forums very helpful so I have decided to post here since I'm stuck. I have taken the thumbnail gallery ikim posted on this thread and im trying to tweak it to my needs. When the thumbnails are loaded i would like to implement an onrelease function to tween the image to the middle of the screen, then slide to the right and increase the size. I have written the actionscript that will move the image. However, my problem is, i need to have the thumbnail slide from its original position to the middle of the screen. I thought i could do this by passing the parameters of _x, _y in the function and setting the motion accordingly. Being a newbie to AS, I am having trouble with getting ikim's gallery to accomodate this functionality. I tried using getproperty to get the _x, _y coordinates but this only returns the coordinates for the beginning position of the image and i need the ending position coordinates. I assumed I need to call getproperty at a later time, but I am not sure how to reference the thumbnails since it appears to me that they are being dynamically named and created the same.

View 1 Replies

ActionScript 2.0 :: Adding A Caption To A Thumbnail?

Sep 28, 2003

Does anyone know a simple way to add to the following AS a caption into a dynamic text box from a text file to go along with each jpeg?

Code:
stop();
/
// i wrote this code, but you can use and abuse it however you like.

[Code].....

View 6 Replies

ActionScript 2.0 :: Adding Thumbnails - Get The Width Of Each Thumbnail?

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

ActionScript 2.0 :: Align "soccerball" Grid Thumbnail

Apr 22, 2009

Anyway to align my grid to this way? I've also attached my fla files in cs3 format..

View 2 Replies

IDE :: ThumbNailScroller Function - Adding A Thumbnail To An Image Gallery

Aug 2, 2008

I was reading your tutorial on adding a thumbnail to an image gallery. Im trying to use your thumbnail_final.fla inside another movie and is not working for me. I made a movie, in Scene 1 of this movie i have an empty movie clip(DisplayArea) and a menu button(Gallery) so that when i hit the Gallery button it load the thumbnail)final movie into the empty movie clip DisplayArea. Everything work except for the thumbNailScroller function. It load all the thumbnails and you can click them and they load the matching big picture and all but the scrolling function is not working.

[Code]...

View 3 Replies

ActionScript 2.0 :: Adding Thumbnail Preloaders To Scottys Multiple Gallery?

Feb 1, 2006

I have the multiple_resize galleries using one xml, but i have a lot of photos and in this script is need that loads all of thumbnails to see the first pic. I am crazy with this question. �How can i add thumbnail preloaders or load de first pic in the start?

View 3 Replies

ActionScript 1/2 :: Adding Extra Script - Make A Scrolling Thumbnail Panel

Mar 21, 2011

I've recently followed a tutorial to make a scrolling thumbnail panel that goes up when you down and down when you go up. est. This has worked perfectly will the script below...However Im looking to make an alteration to this so that when you are not on "stoke" the "panel" stops moving. Its currently set to not move until you role over on to it originally, however after that when you are not on the panel it continues to move when you stroll across the rest of the page miles away from the panel.

[Code]....

View 5 Replies

ActionScript 3.0 :: Adding Set Of Grid Lines To Movieclip Using For Loop

Jun 7, 2009

I am dynamically adding a set of grid lines to a movieclip using a for loop. And I was wondering how I go about removing all of them so that I can add another set of grid lines to the same movieclip.This may sound weird but what I am doing is dynamically creating a table from an array and I wanted to dynamically add gridlines in between the table entries depending on how many entries there are in the array. I got this to work fine but when you go from one table with more entries to a table with less then the grid lines from the longer table are still there.Hence I want to be able to remove all the grid line instances before creating the next table.

View 6 Replies

Actionscript 2.0 :: Adding Categories To Image Grid Viewer?

Apr 7, 2009

I've been working on Todd's Image grid viewer that can be seen here viewtopic.php?f=9&t=16158&p=82039

I wanted to add some category buttons so far its going well with the new xml.

Only I can't figure out the switch between the category button.

When i click on cat 1 Btn everything loads fine then when i click on cat btn 2 instead of reloading and "throwing" cat1 content away cat 2 content loads behind cat1 content...I hope that made sense.....

I have added the files, it's basically the same just a different XML and some tweaking on the XML load function. I didn't add the images since the file was to big, you can get the images from Todd's post. viewtopic.php?f=9&t=16158&p=82039

View 2 Replies

Flex :: Spark - Adding Custom Class To Implement Simple Grid?

Apr 13, 2011

To start - its best to say im new to Flex / OOP in general. I have been trying to add a custom class based on StrokedElement in order to implement a simple grid (not like the existing Flex Grids - this would just be for display - not holding elements etc...)

My current class looks like this:
package ui.helpers {
import flash.display.Graphics;
import spark.primitives.supportClasses.StrokedElement;
public class SGrid extends StrokedElement {
public function SGrid() {
[Code] .....

View 1 Replies

ActionScript 2.0 :: Dynamic Thumbnail Gallery?

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

ActionScript 1/2 :: Dynamic Text Linked To A Thumbnail?

Jan 27, 2011

I have a simple video player with 4 thumbs and a flvplayer component. When you click on the thumbs a corresponding video play.
 
What I would like to happen is to have a title above and a description below when the thumbnails are clicked. Here's the as I have for the thumbs to link to the vids:
 
thb1_btn.onRelease = function(){
FLVplayer.contentPath ="video/backstage/tandg.flv";
}
thb2_btn.onRelease = function(){
FLVplayer.contentPath ="video/backstage/coop.flv";

[Code]...

View 1 Replies

ActionScript 2.0 :: Flash 8 - Dynamic Photo / Thumbnail Loading

Aug 30, 2006

I've been going through a lot of tutorials online regarding photo galleries etc., and not many seem to facilitate shrinking the actual photo for use as a thumbnail (possibly due to the performance limitations). My project won't have that problem, as it will be stored on an internal network. basically, I want to dynamically load a picture and shrink it for use as a thumbnail in a gallery.

View 5 Replies

Professional :: Creating A Dynamic Grid

Mar 24, 2011

I would like to create a simple 2D interactive grid.  The user should be able to increase and decrease the number of axis (both X and Y simultaneously) that compose the grid, and also the scale of the grid itself (Zoom in and Out).
 
If this goes well enough, I would like to be able to plot graphical content on the grid that visually changes as the grid itself changes.  They should, in some way, be linked to one another and correspondingly affected by the same two parameters. This, however, would be a second step.  I am more concerned with the base grid model at this point.

View 1 Replies

ActionScript 3.0 :: Creating A Dynamic Grid?

Mar 26, 2011

I would like to create a simple 2D interactive grid.  The user should be able to increase and decrease the number of axis (both X and Y simultaneously) that compose the grid, and also the scale of the grid itself (Zoom in and Out).
 
If this goes well enough, I would like to be able to plot graphical content on the grid that visually changes as the grid itself changes.  They should, in some way, be linked to one another and correspondingly affected by the same two parameters.  This, however, would be a second step.  I am more concerned with the base grid model at this point.

View 1 Replies

ActionScript 3.0 :: Checking Selections On Dynamic Grid?

Mar 10, 2011

I have a grid made from dynamic boxes and I need to check each box to see if it is selected or not to perform a function..
 
Problem is I have 60 boxes in the grid - in the code below, there are only the boxes which need to be selected !

I still need to add the other 54 boxes and set them as .chosen = false;
 
Surely there's a more efficient way of doing it than my code ??
 
if(event.currentTarget.parent.getChildByName("m1").chosen == true && event.currentTarget.parent.getChildByName("m2").chosen == true && event.currentTarget.parent.getChildByName("m3").chosen == true &&

[Code]....

View 6 Replies

Flex :: Get The Position In A Grid From A Dynamic Object?

Apr 15, 2010

On GridItem object there's a colIndex and on GridRow a rowIndex. But both are declared internal so I do not have acces on that information.

Is there another way to get the position of an object in a grid.

View 1 Replies

Flex :: Add Sortcomparefunction To Dynamic Data Grid In It?

May 28, 2010

I am trying to create a dynamic datagrid in Flex 3, I have a list of columns a list of objects which correspond to datapoints for those columns which I fetch from a url. While the grid works perfectly fine the problem is that sorting on the columns is done in lexical order.[code]...

View 1 Replies

ActionScript 3.0 :: Dynamic Grid With Colspan And Rowspan

Feb 24, 2011

I want to make a grid where i have set width and height for each cell in a grid..

but I want to be able to include colspan and rowspan so that i could have boxes that are 1x1,1x2,1x3,2x1,2x2, etc.. pretty much whatever amount of boxes that i want each cell to take up..

creating a grid of 1x1 boxes is easy .. but when I start throwing in the different sizes .. i am not sure where to start..

my first idea was to have it iterate through each possible cell and then create an array of cells that have a list of cells that it takes up.. that way i can iterate and search to see if that particular cell space is taken when i place cells of different size ..

View 0 Replies

ActionScript 3.0 :: Dynamic Xml Based Grid Gallery

May 11, 2010

I have a store style website that uses a grid format gallery to display a grid of thumbnail products which can then be clicked.url...I have created xml captions that sit ontop of each thumbnail in the grid. They display fine when static but I wanted them to only display when you mouse over the corresponding thumbnail.I have code that tweens all of the captions (thumb_caption) to 0% alpha and the tweens to 100% alpha upon MouseOver and then back to 0% alpha on MouseOut.At the moment there is one problem - When you hover over ANY thumbnail the caption for the LAST thumbnail fades in not the corresponding one for THAT thumbnail.Example - if I have 10 thumbnails and I hover over thumbnail 1 the caption for thumbnail 10 appears ontop of thumbnail 10. (not caption 1 over thumbnail 1 like it should!)[code]

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved