David,
What you're looking for is the fileName property:
answer file Please select an image
if (there is a file it) then
set the fileName of image Image1 to it
end if
- Brian
Hi All,
I want to be able to choose and image file and have that image appear
in an image object. I can't seem
there's two ways of doing this David
After you've chosen the image file
answer file choose and image
put it into thisimagepath
put the long id of image x into thisimage
set the path of thisimage to thisimagepath
(image by reference)
or
put file: before thisimage
set the imagedata of
Hi David,
1. The answer file command put the path of the selected file into the
it variable, not its contents :-)
Something like /Applications/Revolution 2.6/components/help/
dictionary/answer_file_command.xml
2. There are many ways to display an image : by setting its filename
property
Hi David,
Hi All,
I want to be able to choose and image file and have that image
appear in an image object. I can't seem to find out how to do
this! I have the following script on a Choose button:
on mouseUp
answer file Please select an Image
put it into field FilePathName
--
-- Now I
Hi,
Thanks for that! It now works for JPEG files but not TIFF for some
reason, do you have to do something special to attach a TIFF file to
an Image Object?
And thanks Eric for the pointer to your web site, I will take a look at it now.
All the Best
Dave
Hi David,
Hi All,
I want to be
Hi David,
From the docs:
Some picture formats (such as TIFF) that are not supported by the
image object can be displayed instead by QuickTime. To display a
picture using QuickTime, you create a player instead of an image,
then set the players filename, to display the picture file.
Le 14