0 Replies Latest reply on Oct 5, 2006 11:27 PM by Mr_Rowsell

    .as files - #include vs class extends?

    Mr_Rowsell Level 1
      I'm building the first of many quizes in Flash 8 to be intergrated into a CMS. A lot of them will have very similar functionality so I want to have all functionality as external functions. Examples would be, the function that loads in the XML file or the function that checks which answers were selected. Now as far as I see it I can either A) simply put these functions and their variables in .as files which I #include or B) put them in classes in .as files and extend from the first class so they share the same variables. Which of these options is the best way to go and why?