A couple of graphic object questions

Doug Lerner doug at webcrossing.com
Mon Jan 12 07:37:25 EST 2004


On 1/12/04 9:24 PM, "Jan Schenkel" <janschenkel at yahoo.com> wrote:

Hi, Jan,

> Hi Doug,
> 
> When an object is created, the engine will send a
> message : 'newField' for fields, 'newGraphic' for
> graphics, etc.

When it does that, how can I reference the "new graphic"?

> 
> As for a convenient list : you can address graphics by
> number, so to get a list of their long IDs, you would
> do something like.
> --
> repeat with i = 1 to the number of graphics

Is the "number of graphics" the number of graphics on a card?

Thanks,

doug

> put the long id of graphic i & return after \
>     tLongIDList
> end repeat
> --
> 
> Hope this helped,
> 
> Jan Schenkel.
> 
> =====
> "As we grow older, we grow both wiser and more foolish at the same time."  (La
> Rochefoucauld)
> 
> __________________________________
> Do you Yahoo!?
> Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes
> http://hotjobs.sweepstakes.yahoo.com/signingbonus
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution



More information about the use-livecode mailing list