Web Design and Development Forums

thumbnails position

This is a discussion on "thumbnails position" within the Flash & Multimedia Forum section. This forum, and the thread "thumbnails position are both part of the Design Your Website category.

Old Apr 21st, 2008, 16:41   #1 (permalink)
New Member
 
Join Date: Apr 2008
Location: US
Posts: 6
thumbnails position

This is my problem, I have this code for my thumbnails which call a XML file for an image. everything seems fine but it load the thumbnails to its x position only. I have 20 images, meaning 20 thumbnails as well, so I want 4 rows of 5 thumbnails. Can anyone help me?
my thumbnail has an instance name called "side".
this is the code:


Code: Select all
 

stop();

toadd="";
_root.t = 0;
_root.l = 0;
total = Math.floor(n)*110;

galxml = new XML();
galxml.load("easy-xml-gallery.xml");
galxml.ignoreWhite = true;
galxml.onLoad = function(success) {
    if (success) {
        maxnum = galxml.firstChild.childNodes.length;
        for (n=0; n<maxnum; n++) {
            specs = galxml.firstChild.childNodes[n];
       
            duplicateMovieClip(side.thumbs.thumbsb, "thumbs"+n, n);
            thumbclip = eval("side.thumbs.thumbs"+n);
            thumbclip._x = Math.floor(n)*110
            thumbclip.thetitle = specs.attributes.name;
            thumbclip.thecaption = specs.attributes.caption;
            thumbclip.thenum = n+1;
            thumbclip._alpha = 100;
            loadMovie("images/"+(n+1)+"b.jpg", thumbclip.thumbload.thumbload2);
            play();
            side.thumbs.thumbsb._visible = false;
        }
    }
};
mainperc.onEnterFrame = function() {
    if (mainperc.perc<98) {
        mainperc._alpha += 5;
    }
    mainperc.perc = Math.round(_root.l/_root.t*100);
    mainperc.perctext = mainperc.perc+"%";
    mainperc.ltext = "OF THUMBNAILS LOADED ("+Math.round(_root.t/1024)+"kb)";
    if (mainperc.perc>98) {
        
    }
    if (mainperc._alpha<-50) {
        delete mainperc.onEnterFrame;
    }
};
mars is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Help with thumbnails of webpages for my site 0413 New to Web Design 7 Sep 20th, 2007 08:51
CSS thumbnails - overriding margins Custom Portraits CSS Forum 1 Jul 17th, 2007 12:34
problem aligning thumbnails in DIV Craigj1303 CSS Forum 7 May 8th, 2007 14:31
Positioning of Thumbnails c0ld4orm HTML Forum 13 Jan 5th, 2006 15:49
Thumbnails won't display rodesign HTML Forum 3 Mar 15th, 2005 07:07



Latest Updates

All Points SEO Security Advisory - CHECK YOUR SITE NOW!

Creative Coding :: February 2008

Webforumz is sponsored by: WESH UK Web Hosting
All times are GMT. The time now is 19:09.

Sleep Study Scoring :: Free Bet :: Website Templates :: Online Betting :: Bookmakers :: Funny Quotes :: Internet Recruitment Software :: Microsoft CRM Experts :: Online Casino :: Decorated Christmas Trees :: Midwife Forums :: Football Betting :: Ecommerce Software :: Web Hosting :: Football Stats :: Dry Cleaning Collection :: xtreme wales - extreme clothing :: Apuestas :: Sharepoint Consultants :: Website Optimisation :: Office Clearance London :: Sharepoint Experts :: Sports Betting :: Casino :: Website Templates :: Web Design Development India :: Online Gambling

Powered by: vBulletin Version 3.7, Copyright ©2000 - 2008, Jelsoft Enterprises Limited.
© 2003-2008 Webforumz.com : All Rights Reserved
Search Engine Friendly URLs by vBSEO 3.2.0 RC6


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59