Hello there,
I need to create two lists from myItem.length;
But this length can be variable aswell.
How could i create this list with modulo?
Its something like.
1 5
2 6
3 7
4 8
thnx in advanced.
Hello there,
I need to create two lists from myItem.length;
But this length can be variable aswell.
How could i create this list with modulo?
Its something like.
1 5
2 6
3 7
4 8
thnx in advanced.
[AS]
mc._x = 20 + Math.floor(i / 5) * 40;
mc._y = 20 + (i % 5) * 40;
[/AS]
I’ve attached an .fla, so you can see it in action
:: Copyright KIRUPA 2024 //--