If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 1 of 1
  1. #1
    Junior Member
    Join Date
    Mar 2008
    Member #

    I m facing problem in XML and action script when i have to make a tree level gallery.
    Means suppose i have to make a gallery for shirt builder, and it has 2 types of thumbnails like thumbnail for portion (front, back, collar) and other for fabrics.

    i have made 1 thumbnail for front, back and collar and also the big image appear by clicking on thumbnail, but it is not working for 2nd thumbnail, for example for fabric.
    on clicking on fabric thumbnail corresponding thumbnails and big image should also change.

    Please see the link, our company want to make this type of flash wit us, here all image comes from database, for this we are using XML.

    we have finished right side panel, but when clicking on left side category right side pannel should also change, how can it will be possible.
    can anyone help us.

    please see the xml and let us tell where we have to make change

    <?xml version="1.0" encoding="iso-8859-1"?>
    <image title="image 1" main="main/shirt_front.jpg" thmb="thumbnails/shirt1_front.jpg"/>
    <image title="image 2" main="main/shirt_cuff.jpg" thmb="thumbnails/SHIRT1_CUFF.jpg"/>
    <image title="image 3" main="main/shirt_collor.jpg" thmb="thumbnails/shirt1_collar.jpg"/>
    <image title="image 4" main="main/shirt_back.jpg" thmb="thumbnails/shirt1_back.jpg"/>

    And the flash for thumbnail is here:

    loadMovie("main/shirt_front.jpg", "loader");
    myPhoto = new XML();
    myPhoto.ignoreWhite = true;
    myPhoto.onLoad = function(success) {
    //portfolioTag = this.firstChild;
    numimages = this.firstChild.childNodes.length;
    spacing = 95;
    for (i=0; i<numimages; i++)
    this.picHolder = this.firstChild.childNodes[i];
    this.thumbHolder = thumbnails.createEmptyMovieClip("thumbnail"+i, i);
    this.thumbHolder._x = i*spacing;
    this.thumbLoader = this.thumbHolder.createEmptyMovieClip("thumbnail_i mage", 0);
    this.thumbLoader.loadMovie(this.picHolder.attribut es.thmb);
    this.thumbHolder.title = this.picHolder.attributes.title;
    this.thumbHolder.main = this.picHolder.attributes.main;
    this.thumbHolder.onRelease = function() {
    title_txt.text = this.title;

    this code is right only for one level xml and flash, but i need tree level.

    can any one help? we are facing lots of problem.




Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
All times are GMT -6. The time now is 10:47 PM.
Powered by vBulletin® Version 4.2.3
Copyright © 2020 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: