If you want to call the current function recursively, you can use
arguments.callee

function something( count : int )
{
    trace( count );
    if( count > 0 ) arguments.callee( count-- );
}

Cheers
Ralf.

On Tue, Dec 2, 2008 at 1:02 AM, Josh McDonald <[EMAIL PROTECTED]> wrote:
> That'll only work in AS2 or dynamic AS3 objects, I think. But it's easy
> enough to cook up the same thing using DesrcibeTypeCache.
>
> -Josh
>
> On Tue, Dec 2, 2008 at 9:36 AM, Amy <[EMAIL PROTECTED]> wrote:
>>
>> --- In [email protected], "flexawesome" <[EMAIL PROTECTED]>
>> wrote:
>> >
>> > Awesome Alex!
>> >
>> > It's a bit "buggy" , but helpful.... :)
>>
>> Not sure this is any less buggy, but here's a slightly different
>> approach:
>> http://www.actionscript.org/forums/showthread.php3?t=86924
>>
>>
>> ------------------------------------
>>
>> --
>> Flexcoders Mailing List
>> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
>> Alternative FAQ location:
>> https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847
>> Search Archives:
>> http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links
>>
>>
>>
>
>
>
> --
> "Therefore, send not to know For whom the bell tolls. It tolls for thee."
>
> Like the cut of my jib? Check out my Flex blog!
>
> :: Josh 'G-Funk' McDonald
> :: 0437 221 380 :: [EMAIL PROTECTED]
> :: http://flex.joshmcdonald.info/
> :: http://twitter.com/sophistifunk
> 

Reply via email to