0 Replies Latest reply: Oct 28, 2010 2:33 AM by rama.k.venkat RSS

    ASObject AddRef() and Release() problem




      This is with Flash Lite for Digital Home. I have created reference to one ASObject using AddRef(). This Object has around 30 properties. I will call Release() when i dont need this reference. This works fine for some time. But in some situation/cases the Release() function crashes.  But it says the object is valid. Here I call IsValid() function. If I call any other function it crashes and GetNumProperties returns some huge integer value say 321456 and it is not correct.


      Here, before calling Release(), at the swf side(i mean UI), many setInterval(), clearInterval() is called.


      My questions:

           1. Why the object is corrupted?

           2. Is SetInterval()/clearInterval() causing any problem().


      Any help would be great.