5 Replies Latest reply on Feb 5, 2008 5:43 PM by Newsgroup_User

    instantiating an Xtra

    Level 7
      I am experimenting with a dataBase xtra. My application will be reading
      from and writing to the database as the user performs various functions.

      Is it good practice to instantiate the Xtra once, such as in a
      prepareMovie handler and then dispose of the instance in a stopMovie
      handler? Or should I instantiate the Xtra each time it is needed (for
      example to read from the DB) and then dispose of it?