"last image" not working, receipe
Ton Kuypers
tkuypers at dmp-int.com
Fri Jan 4 05:08:45 EST 2008
Some more information, I think I have found a receipe...
- First get the files of a folder and create an image in a stack for
each file.
- after creating an image, the variable "it" contains a full reference
to an object.
- next set the filepath of this last image to a file
- it is not possible of course to show a Word file, so there will be
an error in the result. If so, I would like to show a "No Preview"
image, located in another stack.
- With image objects created like this, there is no way of setting
another image, located in a stack. It is possible to set a different
file path, but not an existing image.
Can someone confirm this, so I can enter it into Bugzilla?
Warm regards,
Ton Kuypers
Digital Media Partners bvba
Tel. +32 (0)477 / 739 530
Fax +32 (0)14 / 71 03 04
http://www.dmp-int.com
On 4-jan-08, at 03:38, Martin Blackman wrote:
> 'last' means the number property of the image equals the number of
> images.
> Did you check if these are the same after assigning a non-image URL
> to the
> image ? Perhaps Rev decides the number of images should not count the
> erroneous one.
> I guess you can name each image or check the id of each as you
> create it and
> then refer to the id or name instead?
> regards
> Martin
>
> On 04/01/2008, Ton Kuypers <tkuypers at dmp-int.com> wrote:
>>
>> Too bad, no luck...
>>
>> Warm regards,
>>
>> Ton Kuypers
>> Digital Media Partners bvba
>> Tel. +32 (0)477 / 739 530
>> Fax +32 (0)14 / 71 03 04
>> http://www.dmp-int.com
>>
>>
>>
>> On 3-jan-08, at 14:07, Shao Sean wrote:
>>
>>> try
>>> set the filename of the last image to PATH
>>> catch
>>> set the text of the last image to (the text of image "noPreview" of
>>> stack "mainStack")
>>> end try
>>>
>>
>>
> _______________________________________________
> 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