A quick copy-n-paste from "All Classes" in the ASDoc into textmate gives us 1180 public classes in the API.
-Josh On Wed, Dec 17, 2008 at 10:10 AM, Gordon Smith <gosm...@adobe.com> wrote: > And .mxmlc files like RichTextEditor.mxml ARE classes. But does anybody > really care about an accurate count? > > > > - Gordon > > > > *From:* flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] *On > Behalf Of *Alex Harui > *Sent:* Tuesday, December 16, 2008 3:46 PM > *To:* flexcoders@yahoogroups.com > *Subject:* RE: [flexcoders] Re: How many classes are there in flex 3 > framework? > > > > Not every .as file is a class. If I had time, I would rename the .swc to > .zip, pull the catalog.xml and find a cheap way to count scripts. > > > > *From:* flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] *On > Behalf Of *Vivian Richard > *Sent:* Tuesday, December 16, 2008 3:17 PM > *To:* flexcoders@yahoogroups.com > *Subject:* Re: [flexcoders] Re: How many classes are there in flex 3 > framework? > > > > By the way this counting does not include charting, adv data grids. > Am I right? > > On Tue, Dec 16, 2008 at 3:14 PM, Nate Beck > <n...@tldstudio.com<nate%40tldstudio.com>> > wrote: > > Yours is probably more accurate. :D > > > > On Tue, Dec 16, 2008 at 3:09 PM, Nate Beck > > <n...@tldstudio.com<nate%40tldstudio.com>> > wrote: > >> > >> I had the same idea... except using ruby: > >> require 'find' > >> dirs = > >> > ["/workspaces/flex_sdk/trunk/frameworks/projects/framework/src","/workspaces/flex_sdk/trunk/frameworks/projects"] > >> dirs.each do |dir| > >> count = 0 > >> Find.find(dir) do |path| > >> if (path =~ /(\.as|\.mxml)/) > >> if(path =~ /\.svn-base/) > >> #ignore > >> else > >> count += 1 > >> end > >> end > >> end > >> puts "In #{dir} there are #{count} files that match the filter." > >> end > >> OUTPUT: > >> [/workspaces/flex_sdk/trunk/frameworks/projects/framework/src] 696 > matches > >> [/workspaces/flex_sdk/trunk/frameworks/projects] 1366 matches > >> > >> > >> On Tue, Dec 16, 2008 at 3:02 PM, Maciek Sakrejda > >> <msakre...@truviso.com<msakrejda%40truviso.com> > > > >> wrote: > >>> > >>> Our FlexBuilder may be in perpetual alpha, but on Linux, at least we've > >>> got some basic tools on our platform and don't have to resort to > boorish > >>> counting ;) > >>> > >>> find $FLEX_HOME/frameworks/projects/framework/src -name \*.mxml -o > -name > >>> \*.as | wc -l > >>> 669 > >>> > >>> If I include projects/* instead (including air, rpc, automation), it's > >>> 999. > >>> -- > >>> Maciek Sakrejda > >>> Truviso, Inc. > >>> http://www.truviso.com > >> > >> -- > >> > >> Cheers, > >> Nate > >> ---------------------------------------- > >> http://blog.natebeck.net > >> > >> > > > > > > > > -- > > > > Cheers, > > Nate > > ---------------------------------------- > > http://blog.natebeck.net > > > > > > > > > -- "Therefore, send not to know For whom the bell tolls. It tolls for thee." Like the cut of my jib? Check out my Flex blog! :: Josh 'G-Funk' McDonald :: 0437 221 380 :: j...@gfunk007.com :: http://flex.joshmcdonald.info/ :: http://twitter.com/sophistifunk