alexvoz / as3isolib

Automatically exported from code.google.com/p/as3isolib
0 stars 0 forks source link

Convenience feature to find out when all scenes have finished rendered #16

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Currently there's convenience feature to find out when all scenes in a given 
view have finished rendering.

I'm submitting a patch in the comments.

Original issue reported on code.google.com by hello.ja...@gmail.com on 22 Apr 2009 at 5:16

GoogleCodeExporter commented 9 years ago

Hi, my solution to this problem was in the form of a property added to the 
IsoView 
class rather than an event.

public function get hasInvalidatedScene():Boolean
{   
    for each ( var childScene:* in scenesArray)
    {
        if (childScene.isInvalidated)
            return true
        }
    }   
    return false
}

Original comment by hello.ja...@gmail.com on 22 Apr 2009 at 5:19

GoogleCodeExporter commented 9 years ago

Forgot to mention that the above patch will only work if Issue 17 is 
fixed/implemented:

http://code.google.com/p/as3isolib/issues/detail?id=17

Original comment by hello.ja...@gmail.com on 22 Apr 2009 at 5:26

GoogleCodeExporter commented 9 years ago

Original comment by jwopitz on 22 Apr 2009 at 10:32

GoogleCodeExporter commented 9 years ago

Original comment by jwopitz on 22 Apr 2009 at 10:33

GoogleCodeExporter commented 9 years ago

Original comment by jwopitz on 4 May 2009 at 8:04