   Flash-Actionscript : How do you access a movie clip inside a class?
  Hi,Let me start off by saying I am new to Flash/Actionscript and come from a c++ environment.  I have a few questions...1) This might seem dumb but what is the equivalent of the c++ main function.  Where does the program actual start?2) I have created some movie clips in my flash document.  I want to be able to access these movie clips inside a class.  Do to my lack of knowledge I have no clue where these movie clips are actually being held in memory.  How do I access them?RegardsChad   
  1:Functions that are not members of any class and are declared&defined in ordinary animation frames are run automatically when said frames are reached.If you don't want to rely on the Flash's built-in animation system at all, call your own animation routines on frame 0. You can set event handlers and in general, do any manipulation of the clip in there.2:You can use the loadMovie function to load movie clips programmatically from the library. If you do this, you must add the loaded clips to a display container (such as your main clip) in order for them to be visible. Note that in order to refer to clips in the library from a script, you need to name them with "Export to ActionScript" in the clips' advanced properties.If you have an existing display container, you can use the numChildren property and the GetChildAt function to enumerate its subclips.   