Re: [Flashcoders] slide a movieclip with photo(loaded by xml)

2006-07-21 Thread Jose Maria Barros
Im not there yet..but many thanks for your time and patience Adrian. On 7/20/06, Adrian Park [EMAIL PROTECTED] wrote: I'm thinking more like this (using your most recent code as a starting point)... //create an instance of MovieClipLoader var myMCL = new MovieClipLoader(); // register this

Re: [Flashcoders] slide a movieclip with photo(loaded by xml)

2006-07-21 Thread Adrian Park
Hi Jose, Feel free to e-mail me off-list if you need some more pointers. It might be useful if I can take a look at a sample .fla to get a better idea of what you're trying to do. A. On 7/21/06, Jose Maria Barros [EMAIL PROTECTED] wrote: Im not there yet..but many thanks for your time and

[Flashcoders] slide a movieclip with photo(loaded by xml)

2006-07-20 Thread Jose Maria Barros
Hello. Im doing a test loading from xml information to load into one movie clip one photo and having a number menu. When i press one of those numbers a function subAppear makes the movieclip slide from the top. Wht i dont understand is that he loads the photo, but the function doesnt work..i

Re: [Flashcoders] slide a movieclip with photo(loaded by xml)

2006-07-20 Thread Adrian Park
When 'this.link' loads into imagem_mc, any existing properties and methods of imagem_mc are destroyed because 'this.link' replaces imagem_mc. Immediately after loading the MovieClip, you call subAppear which assigns the onEnterFrame handler. This handler is destroyed when the MovieClip loads so

Re: [Flashcoders] slide a movieclip with photo(loaded by xml)

2006-07-20 Thread Jose Maria Barros
Something like this? because it doesnt work...it remains the problem... //create an instance of MovieClipLoader var myMCL = new MovieClipLoader(); myMCL.onLoadInit = function (targetMC) { subAppear(targetMC, (i+3), 95); } function createTreeMenu():Void { for (i=0; imainMenus.length;

Re: [Flashcoders] slide a movieclip with photo(loaded by xml)

2006-07-20 Thread Adrian Park
I'm thinking more like this (using your most recent code as a starting point)... //create an instance of MovieClipLoader var myMCL = new MovieClipLoader(); // register this as a listener myMCL.addListener(this); // define function to handle onLoadInit event function onLoadInit(