Ok..sorry to bother...but i have one question...its possible to insert
this code in a movie clip? because ive tried.. putting _root in
all..but it didnt worked. Ive wanted to put this in other movie
because i wanted to this code load after and animation....

Thanks...

On 12/20/05, Jose Maria Barros <[EMAIL PROTECTED]> wrote:
> OK..ive found it..i forgot to put the "this" in the thumbHolder Variable...
>
> On 12/20/05, Jose Maria Barros <[EMAIL PROTECTED]> wrote:
> > Heelo---well ive  made some "progress", but the problem is that it
> > only shows one thumbnail of the xml grid--..can anyone help me?
> >
> >
> > ///XML
> > myPhoto = new XML();
> > myPhoto.ignoreWhite = true;
> > myPhoto.onLoad = function(success) {
> >         //portfolioTag = this.firstChild;
> >         gridx = 58;
> >         gridy = 58;
> >         num = 0;
> >         for (i=0; i<3; i++)
> >                 for (j=0; j<3; j++) {
> >                         this.picHolder = 
> > this.firstChild.childNodes[i+(j*3)];
> >                         this.thumbHolder = 
> > thumbnails.createEmptyMovieClip("thumbnail"+num, num);
> >                         thumbHolder._x=gridx*i;
> >                         thumbHolder._y=gridy*j;
> >                         num++;
> >                         this.thumbLoader =
> > this.thumbHolder.createEmptyMovieClip("thumbnail_image", 0);
> >                         
> > this.thumbLoader.loadMovie(this.picHolder.attributes.thmb);
> >                         this.thumbHolder.main = 
> > this.picHolder.attributes.main;
> >                         this.thumbHolder.onRelease = function() {
> >                                 loader.loadMovie(this.main);
> >                 };
> >         }
> > };
> > myPhoto.load("design.xml");
> >
>
_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to