AW: how to adress the object name and not the number?

Tiemo Hollmann TB toolbook at kestner.de
Thu Apr 19 10:14:41 EDT 2007


Nice idea!
Thanks Tiemo

> -----Ursprüngliche Nachricht-----
> Von: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-
> bounces at lists.runrev.com] Im Auftrag von Dave
> Gesendet: Donnerstag, 19. April 2007 16:06
> An: How to use Revolution
> Betreff: Re: how to adress the object name and not the number?
> 
> Hi,
> 
> Another way is to just put all images in a category into a Group,
> then to access the images do something like:
> 
> repeat with myIndex= 1 to the number of images in group "ThumbGroup"
>    set the threeD of image myIndex of  group "ThumbGroup" to true
> end repeat
> 
> Just change the layer (in the IDE) of the images in the group so they
> are in the order you want them in.
> 
> All the Best
> Dave
> 
> On 19 Apr 2007, at 10:57, Ian Wood wrote:
> 
> > 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
> >
> > _______________________________________________
> > use-revolution mailing list
> > use-revolution at lists.runrev.com
> > Please visit this url to subscribe, unsubscribe and manage your
> > subscription preferences:
> > http://lists.runrev.com/mailman/listinfo/use-revolution
> 
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution




More information about the use-livecode mailing list