i am putting together a recursive copying script for you. i have already come to where you are now
On 2/16/06, eric dolecki <[EMAIL PROTECTED]> wrote: > > Have gotten further - but there seems to be no easy way to easily specify > a > single folder (maintaining all its sub-directories & files) and copying > that > to this location: > > var packageDestinationLocation = fl.configURI + "Classes"; > > Hmm. Any JSFL-mavens out there? > > -edolecki > > > > On 2/16/06, eric dolecki <[EMAIL PROTECTED]> wrote: > > > > I started whipping something up based on something like this (JUST > started > > though...( > > > > var folderURI = fl.browseForFolderURL("Please select your package."); > > var folderContents = FLfile.listFolder( folderURI, "directories" ); > > > > var bInstall = confirm("Install the package: " + folderURI + "?"); > > > > if( bInstall == true ){ > > alert( "List of directories/files installed:\n" + > folderContents.join("\n") > > ); > > } else { > > alert( "Installation cancelled." ); > > } > > > > > > > > On 2/16/06, eric dolecki <[EMAIL PROTECTED]> wrote: > > > > > > My original thinking was this: > > > > > > 1. Download someone's package containing a bunch of classes > > > 2. Easily install that package (folder & its contents) into your > > > "C:\Documents and Settings\<user>\Local Settings\Application > > > Data\Macromedia\Flash 8\en\Configuration\Classes" directory. Perhaps > make it > > > work for Mac too. > > > > > > Something like that, to keep them all centralized, no need to mess > with > > > classpaths. I guess this would work as long as the packages weren't > going to > > > change over time. > > > > > > -edolecki > > > > > > > > > On 2/16/06, Johannes Nel <[EMAIL PROTECTED] > wrote: > > > > > > > > hi eric > > > > > > > > i have a file and folder browser i wrote as a windowSWF panel. now > how > > > > this > > > > kind of extension can work is. > > > > you add a known class path to your lists of classpaths, by browsing > to > > > > the > > > > folder where it is located. > > > > you obviously see a list of all the classpaths you have specified > > > > before, > > > > and using a checkbox or button include them in your current fla's > > > > classpath. > > > > > > > > > > > > is this the right track? > > > > i will gladly help you if there is anything you need to make this > > > > work. > > > > > > > > cheers > > > > johan > > > > > > > > > > > > On 2/16/06, Johannes Nel <[EMAIL PROTECTED]> wrote: > > > > > > > > > > aah. i think what you want to look at is claspaths, instead > > > > of copying > > > > > the resource to your project folder for every project. i suspect > you > > > > can set > > > > > classpaths with jsfl, but could be wrong. this could be quite a > > > > handy > > > > > little extension and i have some ideas how that could be > > > > inmplemented :) > > > > > > > > > > On 2/16/06, eric dolecki <[EMAIL PROTECTED]> wrote: > > > > > > > > > > > > Something where I download a .zip and its got the package there, > > > > no MXP, > > > > > > etc. > > > > > > > > > > > > Perhaps I make my own package and I just wanna quickly install > it. > > > > That > > > > > > kind > > > > > > of use case. I can always drag & drop the folder on a shortcut > > > > icon, but > > > > > > it > > > > > > would be nice to do it within the IDE. > > > > > > > > > > > > -edolecki > > > > > > > > > > > > > > > > > > On 2/16/06, Johannes Nel < [EMAIL PROTECTED] > wrote: > > > > > > > > > > > > > > an mxp should do the trick, no? > > > > > > > > > > > > > > On 2/16/06, eric dolecki < [EMAIL PROTECTED]> wrote: > > > > > > > > > > > > > > > > Is anyone aware of a JSFL Command to ease installation of > > > > packages > > > > > > into > > > > > > > > the > > > > > > > > Flash 8 IDE? > > > > > > > > > > > > > > > > I'm going to research File I/O a little bit, perhaps that > will > > > > be > > > > > > enough > > > > > > > > to > > > > > > > > whip one up quickly. Perhaps one exists already. Unsure. > Would > > > > be > > > > > > quite > > > > > > > > useful though. > > > > > > > > > > > > > > > > -edolecki > > > > > > > > _______________________________________________ > > > > > > > > Flashcoders@chattyfig.figleaf.com > > > > > > > > To change your subscription options or search the archive: > > > > > > > > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > > > > > > > > > > > > > > > Brought to you by Fig Leaf Software > > > > > > > > Premier Authorized Adobe Consulting and Training > > > > > > > > http://www.figleaf.com > > > > > > > > http://training.figleaf.com > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > > > j:pn > > > > > > > _______________________________________________ > > > > > > > Flashcoders@chattyfig.figleaf.com > > > > > > > To change your subscription options or search the archive: > > > > > > > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > > > > > > > > > > > > > Brought to you by Fig Leaf Software > > > > > > > Premier Authorized Adobe Consulting and Training > > > > > > > http://www.figleaf.com > > > > > > > http://training.figleaf.com > > > > > > > > > > > > > _______________________________________________ > > > > > > Flashcoders@chattyfig.figleaf.com > > > > > > To change your subscription options or search the archive: > > > > > > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > > > > > > > > > > > Brought to you by Fig Leaf Software > > > > > > Premier Authorized Adobe Consulting and Training > > > > > > http://www.figleaf.com > > > > > > http://training.figleaf.com > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > j:pn > > > > > > > > > > > > > > > > > > > > > -- > > > > j:pn > > > > _______________________________________________ > > > > Flashcoders@chattyfig.figleaf.com > > > > To change your subscription options or search the archive: > > > > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > > > > > > > Brought to you by Fig Leaf Software > > > > Premier Authorized Adobe Consulting and Training > > > > http://www.figleaf.com > > > > http://training.figleaf.com > > > > > > > > > > > > > _______________________________________________ > Flashcoders@chattyfig.figleaf.com > To change your subscription options or search the archive: > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > Brought to you by Fig Leaf Software > Premier Authorized Adobe Consulting and Training > http://www.figleaf.com > http://training.figleaf.com > -- j:pn _______________________________________________ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com