setting filename of image objects takes a l-o-n-g time
Barry Levine
themacguy at macosx.com
Wed May 14 16:48:01 EDT 2003
Consider the following script:
repeat with i = 1 to 21
set the filename of image ID i to "resources/" & item i of
allThePieces & ".jpg"
set the name of image ID i to item i of allThePieces
end repeat
Setting the filename takes about 37 ticks (one half second!) per
iteration (or over 13 seconds total!). Setting the name of the image
object itself takes less than 1 tick.
Looks like I am either doing this wrong or Rev has a problem. BTW, this
was also the situation with v1.1.1
Current setup: Dual-867 G4 / 512MB RAM / OSX 10.2.6 / Rev2.0RC1
Suggestions always welcome.
Barry
More information about the use-livecode
mailing list