Re: [Flashcoders] dynamic image loading in mc

2007-05-03 Thread sebastian chedal
Hi Gustavo, You will need to either create a button at run time, or attach one from the library. Since each image will need to be with an assosiated button, you might as well load them both into a container MovieClip and then assign that container a variable with the link address to it so that th

Re: [Flashcoders] dynamic image loading in mc

2007-05-02 Thread Gustavo Duenas
Hi I found this quite interesting do you mind to explain this in more detail. Actually I'm looking to create a pictures menu and viewer base on the xml file, a loop to assign this the xml. model1.jpg model2.jpg model3.jpg model1.jpg and in the as2, well I'm not sure about how to do it.

RE: [Flashcoders] dynamic image loading in mc

2007-05-01 Thread Robert Hadsell
ghestDepth()); imageLoader_ml.loadClip(evt.target.selectedItem.data, parent_mc.child_mc); }; This might be useful for part of what you want to do. -- Bob Hadsell From: mastro <[EMAIL PROTECTED]> Reply-To: flashcoders@chattyfig.figleaf.com To: Flashcoders mailing list Subject: [Flashcoder

Re: [Flashcoders] dynamic image loading in mc

2007-05-01 Thread noentourage
You'll probably need some backend scripting like php or whatever your host has installed to read the contents of the folder then send that info to your flash app as xml. On 5/1/07, mastro <[EMAIL PROTECTED]> wrote: hello, I'm looking for a solution witch can handle the following problem: i

Re: [Flashcoders] dynamic image loading in mc

2007-05-01 Thread Muzak
Please sign up for the flashnewbie list and try your question there. http://chattyfig.figleaf.com/mailman/listinfo/flashnewbie regards, Muzak - Original Message - From: "mastro" <[EMAIL PROTECTED]> To: Sent: Tuesday, May 01, 2007 9:10 AM Subject: Re: [Flashcoders] dynam

Re: [Flashcoders] dynamic image loading in mc

2007-05-01 Thread mastro
hi seb. thanx for your quick answer ! but i didnĀ“t get it... i chanced the code how you suggest it. but now i get an error massage... also, what i have to do with the buttons? is it possible to take the same 2 buttons to go one picture up/down during the sliteshow? thanks ! michael h

Re: [Flashcoders] dynamic image loading in mc

2007-04-30 Thread sebastian
hi Michael, quick reply here, but you may want to consider assigning the XML data to an Array instead of to variables. This way, you can call positions in the array easily. So instead of: bild = mein_xml.firstChild.childNodes[paktBild].attributes.pic; you would have: pictureArray = new arr

[Flashcoders] dynamic image loading in mc

2007-04-30 Thread mastro
hello, I'm looking for a solution witch can handle the following problem: i need a mc witch will load several images and text dynamically from a folder into the flash-file. (the number of images change sometimes) also 2 buttons should give the possibility to go from image 1 to image