4 Replies Latest reply on Jun 20, 2008 2:10 PM by videoconf

    repeater does not destroy objects

    videoconf
      Hello,

      I'm writing a video conference tool and use a repeater to dynamically display video components (in these video components a netstream object is created). The dataprovider is an ArrayCollection including all available Video streams which is stored on the server. Each time this ArrayCollection changes, the repeater destroys and recreates the video components (all fine til now).
      The problem is that the NetStream object inside the video component is not destroyed after the repeater destroys the component, resulting in lots of NetStream objects when clients join or leave the conference.

      Does anybody have an idea how to destroy all objects inside a child when the repeater destroys this child?

      Thanks for your answers!

      crush