Is it possible to random images?

Eric Chatonet eric.chatonet at
Tue Nov 29 16:40:54 EST 2005

Hi William,

There are many ways.
Random applies to integers and your images have many specific  
*numbers* which are integers: IDs, number, altID, etc.
For instance (just the idea):

put random(the number of images of this cd) into TChosenImage
put image TChosenImage into image "DisplayRandomImage"

Le 29 nov. 05 à 22:34, William de Smet a écrit :

> Hi there,
> Thanks for all the help before!
> Now I've got a little question about the Random function:
> The following code shows a random number into a field:
> on mouseUp
> put random (20) into field "random"
> end mouseUp
> But is it possible to random images?

Best Regards from Paris,

Eric Chatonet.
So Smart Software

For institutions, companies and associations
Built-to-order applications: management, multimedia, internet, etc.
Windows, Mac OS and Linux... With the French touch

Free plugins and tutorials on my website
Web site
Email        eric.chatonet at
Phone        33 (0)1 43 31 77 62
Mobile        33 (0)6 20 74 50 86

More information about the Use-livecode mailing list