Re: [Flashcoders] dynamically including MC's

2008-02-01 Thread Kenneth Kawamoto
In AIR you can use File.getDirectoryListing() or File.getDirectoryListingAsync() - but I presume you are talking about SWF in browser... Kenneth Kawamoto http://www.materiaprima.co.uk/ Ted Lehr wrote: I want to have a folder where I can throw in some swf's then have another mc that will dynam

Re: [Flashcoders] dynamically including MC's

2008-02-01 Thread Jer Brand
I don't think Flash can do this on it's own. You'll need something server side to do the folder transversal. One solution is to send Flash an XML file replicating that structure. The file will have to be built in ASP or PHP or whatever flavor you're working with on the server. On Feb 1, 2008

Re: [Flashcoders] dynamically including MC's

2008-02-01 Thread Hans Wichman
Hi, if it runs from a server you could do exactly that, write some kind of script that returns the contents of the folder in xml format. It's not supported in flash to loop through a set of files without such a script. greetz JC On Fri, Feb 1, 2008 at 3:25 PM, Ted Lehr <[EMAIL PROTECTED]> wrote:

[Flashcoders] dynamically including MC's

2008-02-01 Thread Ted Lehr
I want to have a folder where I can throw in some swf's then have another mc that will dynamically display these mc's. So what I need is a way to dynamically display a file structure, I guess. Kind of like FileSystemObject in .asp. Something that will dynamically loop through a set of files give th