how to adress the object name and not the number?

Ian Wood revlist at azurevision.co.uk
Thu Apr 19 05:57:06 EDT 2007


I second Eric's suggestion. It also comes in handy for keeping track  
of images/objects for different purposes, e.g. "thumb1", "main2",  
"preview3", "temp4" etc.

Looping through and deleting all the 'temp' images then becomes very  
easy.

Ian

On 19 Apr 2007, at 10:51, Eric Chatonet wrote:

> Name each image with a name followed by a numeric suffix: "img1'.
> Then:
>
> repeat with i = 1 to the number of imgs
>   if the threeD of img ("img" & i) then etc.
>   -- just an example :-)
> end repeat




More information about the use-livecode mailing list