here is my modified version of that script...like I was saying, it should be pretty easy to modify and get the component name in there, if youc an get a jsfl reference:
//script from jessewarden.com function d (o) { fl.trace (o); } function init () { fl.outputPanel.clear (); var i = fl.getDocumentDOM ().library.items.length; while (i --) { var linkage = fl.getDocumentDOM().library.items[i].linkageIdentifier; var className = fl.getDocumentDOM().library.items[i].linkageClassName; var testingString = className; if (testingString != null) { if (testingString != "") { var a = testingString.split ("."); var num = a.length; var theName = a[num-1]; if (a [1] == "coloniessskate") { a[1] = "coloniesskate"; d ("old:"); d (fl.getDocumentDOM ().library.items [i].linkageIdentifier); d (fl.getDocumentDOM ().library.items [i].linkageClassName); fl.getDocumentDOM ().library.items[i].linkageClassName = a.join ("."); fl.getDocumentDOM ().library.items[i].linkageIdentifier = theName; d ("new:"); d (fl.getDocumentDOM().library.items[i].linkageIdentifier); d (fl.getDocumentDOM().library.items[i].linkageClassName); } } } } } init (); On 3/22/06, Rich Rodecker <[EMAIL PROTECTED]> wrote: > > there is also jsfl script on jessewarden.com that you can grab and > modify to change the linkage names. It doesnt include the component > name, but frm the looks of it it should be pretty easy to figure out. > > it looks like his site is down at the moment though... > > On 3/22/06, Keith Takayesu <[EMAIL PROTECTED]> wrote: > > ... Part 2... > > > > I tried it out. Unfortunately, Components don't show up in his list, > > only the Components that have been compiled as clips. > > > > I have contacted the author, Xavi Beumala, and he will look into it for > > the next release. > > > > Thanks again, > > Keith > > > > -----Original Message----- > > From: [mailto:[EMAIL PROTECTED] > > Sent: March 22, 2006 11:47 AM > > To: flashcoders@chattyfig.figleaf.com > > Subject: [Flashcoders] Re:Global search-and-replace for > > Linkage/ComponentDefinition? > > > > > > > > Keith > > > > Try alf.. > > > > http://www.code4net.com/archives/000116.html > > > > I think it does what you want. > > > > Graham Phillips/Codegadget > > > > >Is there a tool out there that can perform a global >search-and-replace > > > > >for Linkages and Component definitions? > > > > >We are running into the 64 character limitation on Component > > >>Definition class paths, so we have decided to shorten our base path. > > > > >Ideas? > > > > >Thanks, > > >Keith > > > > _______________________________________________ > > Join Excite! - http://www.excite.com > > The most personalized portal on the Web! > > > > > > _______________________________________________ > > 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