as3 custom functions
        Posted  
        
            by pixeltocode
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by pixeltocode
        
        
        
        Published on 2010-05-30T09:56:21Z
        Indexed on 
            2010/05/30
            10:02 UTC
        
        
        Read the original article
        Hit count: 289
        
hi, i'm new to AS3. how do i go about executing a custom function n number of times and then executing another function n number of times repeatedly?
eg.
function firstOne():void { }
function secondOne():void { }
i need firstOne() executed say 3 times and then secondOne() 3 times and then firstOne 3 times again and so on.
thanks
© Stack Overflow or respective owner