1 Reply Latest reply on Sep 19, 2006 5:19 PM by Newsgroup_User

    Organising CLass Files

    wally_errrr
      Hi guys and girls,

      Up until now I have just need to import standard flash classes into my projects, but now I am at the stage where I am needing to create my own classes......just wondering if someone has a view on the best way to store the external .as files? I had a friend ages back who was showing me his setup and it looked like he had a library that he was viewing inside of flash that contained all his classes...he was running a webserver on his laptop so maybe they were on his server, but I distinctly remmber him browsing his class files in flash.....not really sure and I don't keep in contact anymore so it would be good to get your guys opinion on the different approaches.

      Thanks and all the best,

      Nathan..
        • 1. Re: Organising CLass Files
          Level 7
          Nathan,

          > I am at the stage where I am needing to create my own
          > classes......just wondering if someone has a view on the
          > best way to store the external .as files?

          I recommend a package based on your domain name, including folders for
          categories if it makes sense (e.g. my own classes are in the net.quip
          package -- and if I feel the need for additional categorization, I use
          net.quip.utils [etc.]). Make sense? Domain names are unique, so this
          avoids possible object collisions.

          > I had a friend ages back who was showing me his setup
          > and it looked like he had a library that he was viewing inside
          > of flash that contained all his classes...

          Possibly the Project panel?

          Here's an article I wrote not too long ago on classpaths for AS2.

          http://www.communitymx.com/abstract.cfm?cid=197DE


          David Stiller
          Adobe Community Expert
          Dev blog, http://www.quip.net/blog/
          "Luck is the residue of good design."