# I hava a array, want to explode it

**URL:** <https://forum.kirupa.com/t/i-hava-a-array-want-to-explode-it/225862>\
**Category:** flash\
**Created:** [May 16, 2007, 9:23am UTC](https://forum.kirupa.com/t/i-hava-a-array-want-to-explode-it/225862 "2007-05-16T09:23:45Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![yallapenos](https://avatars.discourse-cdn.com/v4/letter/y/8e7dd6/32.png) [@yallapenos](https://forum.kirupa.com/u/yallapenos)\
**Post date:** [May 16, 2007, 9:23am UTC](https://forum.kirupa.com/t/i-hava-a-array-want-to-explode-it/225862/1 "2007-05-16T09:23:45Z")

</div>

Hi all.

## I have a array like this

on (release) {

L = 34; //Lotto tall  
T = 10; // Antall trekte tall 7 + 3

lottotall = array = [];

## for (i = 0; i \< L && T \> 0; ++i) { if (random(L-i) \< T) { array.push(i+1); T–; } }; //trace(array); }

The random numbers get set in a dynamix text box.

Now I want to get each number in their own textboxes, so I can compare them to numbers typed inn by a user.

I have no idea how to make this work, so i need a kick in the right direction 🙂

tia
