oh yeah.... forgot the loop:

var defaultSection    : Number = 3;
var maxSection        : Number = 6;

for (var i : Number = defaultSection ; i < maxSection + 1 ; i ++ )

    {

        trace ( " - " + i ) ;

    }


if (defaultSection < maxSection)

    {

        for (var i : Number = 1 ; i < defaultSection ; i ++ )

            {

                trace ( " - " + i ) ;

            }

    }

On Mon, Apr 7, 2008 at 10:12 AM, Helmut Granda <[EMAIL PROTECTED]>
wrote:

> Is there a way to edit the code below to be included into just one for
> loop and would it actually be faster? On a side note any site/book
> recommendations on "how to" for this kind of odd sequences..
>
>         TIA




-- 
...helmut
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to