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
Mastro -- One way to load a graphic file into a parent movie clip is to use a MovieClipLoader to create a new movie clip with the graphic, nested in a parent movie clip. Here is code where the selection is made with a ComboBox that has graphic file pathways in its data parameter: var listen

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