What a Drag . .

Didier SANZ didiersanz at gmail.com
Mon Jul 3 11:33:47 EDT 2006


   repeat with tPict = 1 to number of images in this cd
     if loc of image tPict is within rect of field "corral" then put  
short name of image tPict &return after tList
    end repeat
   put tList into field "fINVENTORY"


Le 3 juil. 06 à 15:54, Richmond Mathewson a écrit :

> I set up a really rather silly little game with a picture of a  
> farmyard merrily
> sprinkled with GIF images of cows, sheep and so forth and gave all
> the life-forms the following script:
>
> on mouseDown
>    grab me
> end mouseDown
>
> (nothing to write home to Mother about there!)
>
> and at the bottom of the card I had a fairly large field called  
> "Corral"
>
> next to fld "Corral" I had a little button called "Inventory" and  
> when I clicked on it
> I wanted it to PUT the names of all the images inside the RECT of  
> fld "Corral"
> into another field called "fINVENTORY"
>
> that is where I got stuck.
>
> Would be most grateful for help,
>
> sincerely, Richmond Mathewson
>
> ____________________________________________________________
>
> "Philosophical problems are confusions arising owing to the  
> fluidity of meanings users attach to words and phrases."
>                                        Mathewson, 2006
> ____________________________________________________________
>
> _______________________________________________
> 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