Problems with Importing multiple images

Kathy Jaqua kgjaqua1 at sbcglobal.net
Thu May 12 16:48:39 EDT 2005


OK : )

Thanks to the following Help I fixed all my problem
Stacks.

STEP 1: (Resetting the previous Image IDS--instant
fix)

By Chip:

Try starting with a high 6 digit number for the first
image 
you import, then add 1 to it and set the next image's
ID to it.

I think this should solve your problem.

OR create a button after you've loaded all your images
and set the 
script of it to:

on mouseUp
   --> CREATE A RANDOM HIGH STARTING ID
   put 123456 into tID
   repeat with y = 1 to the number of cards in this
stack
     go cd y
     repeat with x = 1 to the number of images on this
card
       set the id of img x to tID
       add 1 to tID
     end repeat
   end repeat
end mouseUp

STEP 2: (New Imported Images IDs)

BY  Thomas McGrath III:

Change Image ID's on immediately on import (espically
File imports)

Change icon IDs in buttons that contain the graphic or
use the short name property
set the icon of button "mybutton" to {imageID |
imageName}

STEP 3: (Where to set the New Imported Images IDs)

BY Jim Lyon
To change the id of the new imported Image open The
property inspector and make the change by (adding 1 to
the last number or setting to some large number)

Step 4: (I Think...)
And Thanks, Xavier we have all had similar problems
with that pesky send button.

Kathy Graves Jaqua
A Wildest Dream Software
kgjaqua1 at sbcglobal.net


More information about the use-livecode mailing list