title: Flash / as3: Where to put code for an intro movie clip?
body: <p>I have an .fla that links to a generic Document class which manages the UI and other MovieClips for a Flash movie.</p>
  
  <p>If I want to add an intro movie without dynamically loading a different swf, where would I put the code for that?</p>
  
  <p>Should I put it at the top of the Document class (in which case how would I make sure the clip finishes before I render the UI and add the event handlers?), or should I create an Intro class, link the .fla to THAT and have the Intro class load the Document class when the movie finishes?</p>
  
  <p>Another way of phrasing this question would be: Should my .fla be linked to the first item that I need to load (in this case the movie) or should it link to a Document class that tells what to play and when?</p>
  
  <p>Thanks!</p>